/
package.json
93 lines (93 loc) · 3.14 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
{
"name": "dexie-syncable",
"version": "1.0.0-beta.4",
"description": "Addon to Dexie that makes it possible to sync indexeDB with remote databases.",
"main": "dist/dexie-syncable.js",
"module": "dist/dexie-syncable.es.js",
"jsnext:main": "dist/dexie-syncable.es.js",
"typings": "dist/dexie-syncable.d.ts",
"jspm": {
"format": "cjs",
"ignore": [
"src/"
]
},
"repository": {
"type": "git",
"url": "https://github.com/dfahlander/Dexie.js.git"
},
"keywords": [
"indexeddb",
"dexie",
"addon",
"database",
"sync"
],
"author": "David Fahlander <https://github.com/dfahlander>",
"contributors": [
"Nikolas Poniros <https://github.com/nponiros>",
"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",
"test": "npm run build && npm run test:typings && npm run test:unit && npm run test:integration",
"test:unit": "karma start test/unit/karma.conf.js --single-run",
"test:integration": "karma start test/integration/karma.conf.js --single-run",
"test:typings": "tsc -p test/test-typings/",
"test:unit:debug": "karma start test/unit/karma.conf.js --log-level debug",
"test:integration:debug": "karma start test/integrations/karma.conf.js --log-level debug"
},
"just-build": {
"default": [
"just-build release"
],
"dev": [
"just-build dexie-syncable"
],
"dexie-syncable": [
"# Build UMD module and the tests (two bundles)",
"tsc --allowJs --moduleResolution node --lib es2015,dom -t es5 -m es2015 --outDir tools/tmp/es5 --rootDir ../.. --sourceMap src/Dexie.Syncable.js test/unit/unit-tests-all.js [--watch 'Compilation complete.']",
"rollup -c tools/build-configs/rollup.config.js",
"rollup -c tools/build-configs/rollup.tests.config.js",
"node tools/replaceVersionAndDate.js dist/dexie-syncable.js",
"# eslint ",
"eslint src --cache"
],
"release": [
"just-build dexie-syncable",
"# Copy Dexie.Syncable.d.ts to dist and replace version in it",
"node -e \"fs.writeFileSync('dist/dexie-syncable.d.ts', fs.readFileSync('src/Dexie.Syncable.d.ts'))\"",
"node tools/replaceVersionAndDate.js dist/dexie-syncable.d.ts",
"# Minify the default ES5 UMD module",
"cd dist",
"uglifyjs dexie-syncable.js -m -c negate_iife=0 -o dexie-syncable.min.js --source-map"
]
},
"homepage": "http://dexie.org",
"peerDependencies": {
"dexie": "^2.0.0-beta.7",
"dexie-observable": "^0.9.2 || ^1.0.0-beta"
},
"devDependencies": {
"dexie": "^2.0.4",
"dexie-observable": "^1.0.0-beta.5",
"eslint": "^5.16.0",
"just-build": "^0.9.13",
"karma": "^4.1.0",
"karma-browserstack-launcher": "^1.5.1",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha-reporter": "^2.2.0",
"karma-qunit": "^3.1.2",
"qunit": "^2.9.2",
"rollup": "^0.41.4",
"rollup-plugin-sourcemaps": "^0.4.1",
"typescript": "^2.6.2",
"uglify-js": "^3.5.6"
}
}