forked from dexie/Dexie.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.58 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
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
{
"name": "dexie",
"version": "3.0.0-alpha.7",
"description": "A Minimalistic Wrapper for IndexedDB",
"main": "dist/dexie.js",
"module": "dist/dexie.mjs",
"jsnext:main": "dist/dexie.mjs",
"typings": "dist/dexie.d.ts",
"jspm": {
"format": "cjs",
"ignore": [
"src/"
]
},
"repository": {
"type": "git",
"url": "https://github.com/dfahlander/Dexie.js.git"
},
"keywords": [
"indexeddb",
"browser",
"database"
],
"author": "David Fahlander <https://github.com/dfahlander>",
"contributors": [
"Christopher Hunt <https://github.com/chrahunt>",
"Nikolas Poniros <https://github.com/nponiros>",
"Anders Ekdahl <https://github.com/andersekdahl>",
"Yury Solovyov <https://github.com/YurySolovyov>",
"Martin Diphoorn <https://github.com/martindiphoorn>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/dfahlander/Dexie.js/issues"
},
"scripts": {
"build": "just-build",
"watch": "just-build --watch",
"clean": "rm -rf tools/tmp && rm dist/*.js && rm dist/*.map && rm dist/*.ts && rm dist/*.mjs",
"test": "npm run build && npm run test:typings && npm run test:unit",
"test:unit": "karma start test/karma.conf.js --single-run",
"test:typings": "tsc -p test/typings-test/",
"test:debug": "karma start test/karma.conf.js --log-level debug"
},
"just-build": {
"default": [
"# Build all targets (es5, es6 and test) and minify the default es5 UMD module",
"just-build release test"
],
"dexie": [
"# Build dist/dexie.js, dist/dexie.mjs and dist/dexie.d.ts",
"cd src",
"tsc [--watch 'Compilation complete.']",
"rollup -c ../tools/build-configs/rollup.config.js",
"node ../tools/replaceVersionAndDate.js ../dist/dexie.js",
"node ../tools/replaceVersionAndDate.js ../dist/dexie.mjs",
"dts-bundle-generator --umd-module-name Dexie -o ../dist/dexie.d.ts public/index.d.ts",
"node ../tools/prepend.js ../dist/dexie.d.ts ../tools/build-configs/banner.txt",
"node ../tools/replaceVersionAndDate.js ../dist/dexie.d.ts"
],
"release": [
"# Build ES5 umd module as well as the es6 module.",
"just-build dexie",
"node tools/replaceVersionAndDate.js dist/dexie.d.ts",
"# Minify the default ES5 UMD module",
"cd dist",
"uglifyjs dexie.js -m -c negate_iife=0 -o dexie.min.js --source-map"
],
"dev": [
"# Build ES5 module and the tests",
"just-build dexie test"
],
"gzip": [
"# Optionally gzip to find the size of the minified & gzipped version",
"gzip dist/dexie.min.js -k -f -9"
],
"test": [
"# Build the test suite.",
"cd test",
"tsc [--watch 'Compilation complete.']",
"rollup -c ../tools/build-configs/rollup.tests.config.js"
]
},
"engines": {
"node": ">=6.0"
},
"homepage": "http://dexie.org",
"devDependencies": {
"dts-bundle-generator": "^1.6.1",
"just-build": "^0.9.16",
"karma": "^3.1.4",
"karma-browserstack-launcher": "git+https://github.com/karma-runner/karma-browserstack-launcher.git",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha-reporter": "^2.2.5",
"karma-qunit": "^1.2.1",
"qunit": "^2.9.1",
"qunitjs": "^1.23.1",
"rollup": "^0.55.5",
"rollup-plugin-cleanup": "^2.0.1",
"rollup-plugin-commonjs": "^8.4.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.1",
"serve-static": "^1.13.2",
"tslib": "^1.9.3",
"typescript": "^2.9.2",
"uglify-js": "^3.4.9"
},
"dependencies": {}
}