-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 8.16 KB
/
package.json
File metadata and controls
153 lines (153 loc) · 8.16 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "dexie-orm-addon",
"version": "0.4.3",
"description": "An ORM Addon for Dexie.js",
"main": "dist/DexieORMAddon.js",
"module": "dist/DexieORMAddon.es.js",
"jsnext:main": "dist/DexieORMAddon.es.js",
"repository": {
"type": "git",
"url": "https://github.com/andrehtissot/dexie-orm-addon.git"
},
"keywords": [
"indexeddb",
"browser",
"database",
"dexie"
],
"author": "André Augusto Tissot <https://github.com/andrehtissot>",
"license": "MIT",
"bugs": {
"url": "https://github.com/andrehtissot/dexie-orm-addon/issues"
},
"typings": "dist/DexieORMAddon.d.ts",
"scripts": {
"build": "just-build",
"build-release": "just-build release",
"watch": "just-build --watch",
"test": "npm run test:chrome",
"test:chrome": "just-build dev && karma start test/karma/karma.conf.chrome.js --single-run",
"test:chrome:debug": "just-build dev && karma start test/karma/karma.conf.chrome.js --log-level debug",
"test:chrome:coverage": "BABEL_ENV=coverage-test just-build test-coverage && karma start test/karma/karma.conf.chrome.coverage.js",
"test:chrome:coverage:html": "BABEL_ENV=coverage-test just-build test-coverage && karma start test/karma/karma.conf.chrome.coverage.html.js && google-chrome coverage/index.html",
"test:firefox": "just-build dev && karma start test/karma/karma.conf.firefox.js --single-run",
"test:firefox:debug": "just-build dev && karma start test/karma/karma.conf.firefox.js --log-level debug",
"test:edge": "just-build dev && karma start test/karma/karma.conf.edge.js --single-run",
"test:edge:debug": "just-build dev && karma start test/karma/karma.conf.edge.js --log-level debug",
"test:ie11": "SET BABEL_ENV=ie11-support && just-build ie11-support && karma start test/karma/karma.conf.ie11.js --single-run",
"test:ie11:debug": "SET BABEL_ENV=ie11-support && just-build ie11-support && karma start test/karma/karma.conf.ie11.js --log-level debug",
"test:safari": "just-build dev && karma start test/karma/karma.conf.safari.js --single-run",
"test:safari:debug": "just-build dev && karma start test/karma/karma.conf.safari.js --log-level debug",
"test:opera": "just-build dev && karma start test/karma/karma.conf.opera.js --single-run",
"test:opera:debug": "just-build dev && karma start test/karma/karma.conf.opera.js --log-level debug",
"prettier-src": "find ./src -name '*.js' -or -name '*.json' | xargs prettier --write",
"prettier-tools": "find ./tools -name '*.js' -or -name '*.json' | grep -v tools/tmp | xargs prettier --write",
"prettier-test": "find ./test -name '*.js' -or -name '*.json' | grep -v test/tmp | xargs prettier --write",
"prettier-all": "npm run prettier-src && npm run prettier-tools && npm run prettier-test",
"eslint-all": "eslint --fix ./src ./tools ./test --ignore-pattern test/tmp --ignore-pattern tools/tmp"
},
"just-build": {
"default": [
"# Build all targets",
"just-build release test",
"just-build minimized",
"just-build gzip"
],
"main": [
"# Build the umd module",
"rollup -c tools/build-configs/rollup.config.js",
"babel --module-id DexieORMAddon dist/DexieORMAddon.es.js -o dist/DexieORMAddon.js --source-maps",
"cp src/DexieORMAddon.d.ts dist/DexieORMAddon.d.ts",
"node tools/insertBanner.js dist/DexieORMAddon.js dist/DexieORMAddon.es.js dist/DexieORMAddon.d.ts",
"node tools/replaceVersionAndDate.js dist/DexieORMAddon.js dist/DexieORMAddon.es.js dist/DexieORMAddon.d.ts",
"node tools/replaceExportForGlobal.js dist/DexieORMAddon.js"
],
"release": [
"# Build the umd module and minifies it.",
"just-build main"
],
"minimized": [
"uglifyjs dist/DexieORMAddon.js -m -c -o dist/DexieORMAddon.min.js --source-map \"filename='dist/DexieORMAddon.min.js.map',includeSources='dist/DexieORMAddon.js.map'\""
],
"dev": [
"# Build the umd module and the tests",
"just-build main test"
],
"gzip": [
"# Optionally gzip to find the size of the minified & gzipped version",
"gzip dist/DexieORMAddon.min.js -k -f -9"
],
"test": [
"# Build the test suite.",
"rollup -c tools/build-configs/rollup.tests.config.js",
"node -e \"var fs=require('fs');var path=require('path');var dir=path.join('test','tmp');if(!fs.existsSync(dir)){fs.mkdirSync(dir);}\"",
"babel tools/tmp/rollup/tests.es.js -o test/tmp/tests.js --source-maps"
],
"ie11-support": [
"# Build the test suite with IE 11 support.",
"node -e \"var fs=require('fs');var path=require('path');var dir=path.join('test','tmp');if(!fs.existsSync(dir)){fs.mkdirSync(dir);}\"",
"rollup -c tools/build-configs/rollup.config.js",
"babel --presets es2015 --plugins transform-async-to-generator --module-id DexieORMAddon dist/DexieORMAddon.es.js -o dist/DexieORMAddon.ie11up.js --source-maps",
"node tools/insertBanner.js dist/DexieORMAddon.ie11up.js dist/DexieORMAddon.es.js",
"node tools/replaceVersionAndDate.js dist/DexieORMAddon.ie11up.js dist/DexieORMAddon.es.js",
"node tools/replaceExportForGlobal.js dist/DexieORMAddon.ie11up.js",
"rollup -c tools/build-configs/rollup.tests.config.js",
"babel --presets es2015 --plugins transform-async-to-generator tools/tmp/rollup/tests.es.js -o test/tmp/tests.ie11up.js --source-maps"
],
"test-coverage": [
"# Build the test coverage suite.",
"node -e \"var fs=require('fs');var path=require('path');var dir=path.join('test','tmp');if(!fs.existsSync(dir)){fs.mkdirSync(dir);}\"",
"rollup -c tools/build-configs/rollup.config.js",
"babel --module-id DexieORMAddon dist/DexieORMAddon.es.js -o tools/tmp/rollup/tests.testCoverage.js --source-maps",
"node tools/insertBanner.js tools/tmp/rollup/tests.testCoverage.js dist/DexieORMAddon.es.js",
"node tools/replaceVersionAndDate.js tools/tmp/rollup/tests.testCoverage.js dist/DexieORMAddon.es.js",
"node tools/replaceExportForGlobal.js tools/tmp/rollup/tests.testCoverage.js",
"node tools/addCommonJSWrapperSkipComments.js tools/tmp/rollup/tests.testCoverage.js",
"rollup -c tools/build-configs/rollup.tests.config.js",
"babel tools/tmp/rollup/tests.es.js -o test/tmp/tests.js --source-maps"
]
},
"engines": {
"node": ">=10"
},
"homepage": "https://github.com/andrehtissot/dexie-orm-addon/blob/master/README.md",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-syntax-async-functions": "^6.13.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"cross-env": "^7.0.2",
"dexie-opened-databases-addon": "1.1.4",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.3",
"hoek": "^6.1.3",
"just-build": "^0.9.19",
"karma": "^5.0.4",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.2",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^1.3.0",
"karma-ie-launcher": "^1.0.0",
"karma-mocha-reporter": "^2.2.5",
"karma-opera-launcher": "^1.0.0",
"karma-qunit": "^4.0.0",
"karma-safari-launcher": "^1.0.0",
"merge": "^1.2.1",
"prettier": "^2.0.5",
"qunit": "^2.9.3",
"qunitjs": "^2.4.1",
"rollup": "^2.7.6",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.6.1",
"uglify-es": "^3.3.9",
"braces": "^3.0.2",
"lodash": "^4.17.15",
"minimist": ">=1.2.5"
},
"dependencies": {
"dexie": "^2.0.4"
}
}