-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
83 lines (83 loc) · 2.31 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "idbstorage",
"version": "0.1.2",
"description": "IndexedDB as key-value storage",
"devDependencies": {
"@doist/prettier-config": "^3.0.5",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.6.1",
"babelify": "^8.0.0",
"browserify": "^15.1.0",
"eslint": "^4.14.0",
"eslint-config-prettier": "^2.9.0",
"fake-indexeddb": "^3.0.0",
"jasmine-core": "^3.5.0",
"jest": "^25.1.0",
"karma": "^4.4.1",
"karma-chrome-launcher": "^2.2.0",
"karma-jasmine": "^2.0.1"
},
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"scripts": {
"lint": "eslint ./index.js",
"build:umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js",
"build:esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js",
"build:test": "browserify browser-test/IDBStorage.spec.js -o browser-test/IDBStorage.spec.dist.js -t babelify",
"build": "npm run build:umd && npm run build:esm && npm run build:test",
"test": "karma start browser-test/karma.config.js --single-run",
"jest": "jest",
"jest:debug": "node --inspect node_modules/.bin/jest --runInBand"
},
"babel": {
"presets": [
"env"
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
],
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"rules": {
"semi": [
"error",
"never"
]
}
},
"jest": {
"testPathIgnorePatterns": [
"./browser-test"
]
},
"keywords": [
"indexeddb",
"Indexed DB",
"IDB",
"storage",
"database"
],
"prettier": "@doist/prettier-config",
"repository": {
"type": "git",
"url": "git+https://github.com/doist/IDBStorage"
},
"author": "Steven Kao",
"license": "ISC",
"bugs": {
"url": "https://github.com/doist/IDBStorage/issues"
},
"homepage": "https://github.com/doist/IDBStorage#readme"
}