forked from pubkey/rxdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
208 lines (208 loc) · 8.46 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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "rxdb",
"description": "A realtime Database for the Web",
"version": "8.7.2",
"author": "pubkey",
"repository": {
"type": "git",
"url": "https://github.com/pubkey/rxdb"
},
"homepage": "https://rxdb.info/",
"keywords": [
"db",
"database",
"offline-first",
"nosql",
"jsonschema",
"rxjs",
"pwa",
"localstorage",
"indexeddb",
"encryption",
"pouchdb",
"couchdb",
"rx",
"reactive",
"realtime"
],
"license": "Apache-2.0",
"main": "./dist/lib/index.js",
"jsnext:main": "./dist/es/index.js",
"module": "./dist/es/index.js",
"types": "./dist/typings/index.d.ts",
"scripts": {
"postinstall": "node scripts/postinstall.js || echo \"ignore\"",
"pretest": "npm run transpile",
"test": "npm run test:node && npm run test:browser",
"test:fast": "npm run pretest && rimraf -rf pouch__all_dbs__ && NODE_ENV=fast mocha --config ./config/.mocharc.js ./test_tmp/unit.test.js",
"test:fast:loop": "npm run test:fast && npm run test:fast:loop",
"test:node": "npm run pretest && mocha --config ./config/.mocharc.js ./test_tmp/unit.test.js",
"test:browser": "npm run pretest && karma start ./config/karma.conf.js --single-run",
"test:core": "npm run pretest && mocha ./test_tmp/unit/core.node.js",
"test:typings": "npm run pretest && npm run build:types && NODE_ENV=fast mocha --config ./config/.mocharc.js ./test_tmp/typings.test.js",
"test:typings:ci": "npm run pretest && npm run build:types && mocha --config ./config/.mocharc.js ./test_tmp/typings.test.js",
"test:deps": "dependency-check ./package.json ./dist/lib/plugins/replication-graphql/index.js ./dist/lib/plugins/server.js ./dist/lib/plugins/validate-z-schema.js --no-dev --ignore-module util --ignore-module url --ignore-module \"@types/*\"",
"test:circular": "madge --circular src/index.ts",
"test:performance": "npm run pretest && NODE_ENV=fast mocha --config ./config/.mocharc.js ./test_tmp/performance.test.js",
"couch:start": "docker run -d -p 5984:5984 --rm --name rxdb-couchdb couchdb:2.1.1",
"couch:stop": "docker rm -f rxdb-couchdb",
"test:couchdb": "npm run pretest && mocha --config ./config/.mocharc.js ./test_tmp/couch-db-integration.test.js",
"dockertest": "docker run -it -v $(pwd):/usr/src/app markadams/chromium-xvfb-js:latest-onbuild",
"profile": "npm run pretest && NODE_ENV=fast NODE_PROF=true mocha --config ./config/.mocharc.js ./test_tmp/unit.test.js --prof && node scripts/profile.js",
"clear": "rimraf -rf test_tmp/ && rimraf -rf dist/ && rimraf .transpile_state.json",
"lint": "npm run lint:js && npm run lint:ts",
"lint:js": "eslint config",
"lint:ts": "tslint --project ./",
"lint:ts:fix": "tslint --project ./ --fix",
"check-types": "npm run transpile && tsc",
"transpile": "node scripts/transpile.js",
"build:es": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es --source-maps --extensions \".ts,.js\"",
"build:types": "rimraf -rf ./dist/typings && tsc",
"build": "npm run clear && npm run transpile && npm run build:es && npm run build:types && browserify dist/lib/browserify.index.js > dist/rxdb.browserify.js && uglifyjs --compress --mangle --output dist/rxdb.browserify.min.js -- dist/rxdb.browserify.js",
"build:min": "npm run transpile && browserify dist/lib/browserify.index.js > dist/rxdb.browserify.js && uglifyjs --compress --mangle --output dist/rxdb.browserify.min.js -- dist/rxdb.browserify.js",
"build:webpack": "npm run build && cross-env NODE_ENV=build webpack --config ./config/webpack.config.js",
"build:rollup": "npm run build && rollup --config ./config/rollup.config.js",
"build:size": "npm run build:webpack && echo \"Build-Size (minified+gzip):\" && gzip-size --raw ./test_tmp/webpack.bundle.js",
"docs:install": "gitbook install docs-src",
"docs:serve": "gitbook serve docs-src",
"docs:build": "gitbook install docs-src && gitbook build docs-src docs && cp docs-src/files/logo/icon.png docs/gitbook/images/apple-touch-icon-precomposed-152.png && cp docs-src/files/logo/icon.ico docs/gitbook/images/favicon.ico && npm run docs:copy",
"docs:copy": "cp -r docs-src/files docs/files",
"disc": "npm run transpile && npm run build:es && cross-env NODE_ENV=disc webpack --config ./config/webpack.config.js",
"preversion": "npm run lint && npm run test",
"dev": "watch 'npm run test:fast' src/ test/",
"dev:example": "watch 'npm run transpile:src && echo \"done\"' src/ test/"
},
"pre-commit": [
"lint"
],
"peerDependencies": {
"rxjs": "^6.1.0"
},
"dependencies": {
"@babel/runtime": "7.6.3",
"@types/cors": "2.8.6",
"@types/express": "4.17.1",
"@types/is-my-json-valid": "0.0.20",
"@types/pouchdb-core": "7.0.4",
"@types/pouchdb-find": "6.3.4",
"@types/spark-md5": "3.0.1",
"broadcast-channel": "2.3.2",
"clone": "^2.1.1",
"cors": "2.8.5",
"crypto-js": "^3.1.8",
"custom-idle-queue": "2.1.2",
"deep-equal": "^1.0.1",
"express": "4.17.1",
"graphql-client": "2.0.1",
"is-electron": "2.2.0",
"is-my-json-valid": "2.20.0",
"modifyjs": "0.3.1",
"object-path": "0.11.4",
"pouchdb-all-dbs": "1.0.2",
"pouchdb-core": "7.1.1",
"pouchdb-find": "7.0.0",
"pouchdb-replication": "7.1.1",
"pouchdb-selector-core": "7.1.1",
"random-token": "0.0.8",
"spark-md5": "^3.0.0",
"url": "^0.11.0",
"util": "0.12.1",
"z-schema": "4.2.1"
},
"devDependencies": {
"@babel/cli": "7.6.4",
"@babel/core": "7.6.4",
"@babel/plugin-check-constants": "7.0.0-beta.38",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/plugin-proposal-object-rest-spread": "7.6.2",
"@babel/plugin-transform-member-expression-literals": "7.2.0",
"@babel/plugin-transform-modules-commonjs": "7.6.0",
"@babel/plugin-transform-property-literals": "7.2.0",
"@babel/plugin-transform-runtime": "7.6.2",
"@babel/polyfill": "7.6.0",
"@babel/preset-env": "7.6.3",
"@babel/preset-typescript": "7.6.0",
"@babel/types": "7.6.3",
"@types/core-js": "2.5.2",
"@types/faker": "4.1.7",
"@types/memdown": "3.0.0",
"@types/mocha": "5.2.7",
"@types/pouchdb-adapter-memory": "6.1.3",
"@types/request": "2.48.3",
"@types/request-promise-native": "1.0.17",
"@types/ws": "6.0.3",
"assert": "2.0.0",
"async-test-util": "1.7.3",
"babel-plugin-transform-class-properties": "6.24.1",
"brfs": "2.0.2",
"browserify": "16.5.0",
"child-process-promise": "2.2.1",
"concurrently": "5.0.0",
"convert-hrtime": "3.0.0",
"cross-env": "6.0.3",
"delete": "1.1.0",
"dependency-check": "4.1.0",
"detect-browser": "4.8.0",
"disc": "1.3.3",
"eslint": "6.6.0",
"exists-file": "3.0.2",
"express-graphql": "0.9.0",
"express-pouchdb": "4.2.0",
"faker": "4.1.0",
"gitbook-cli": "2.3.2",
"graphql": "14.5.8",
"graphql-subscriptions": "1.1.0",
"gzip-size-cli": "3.0.0",
"karma": "4.4.1",
"karma-babel-preprocessor": "8.0.1",
"karma-browserify": "6.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.0.1",
"karma-detect-browsers": "2.3.3",
"karma-edge-launcher": "0.4.2",
"karma-firefox-launcher": "1.2.0",
"karma-ie-launcher": "1.0.0",
"karma-mocha": "1.3.0",
"karma-opera-launcher": "1.0.0",
"karma-safari-launcher": "1.0.0",
"leveldown": "5.4.1",
"madge": "3.5.0",
"memdown": "5.1.0",
"mocha": "6.2.2",
"mocha.parallel": "0.15.6",
"nconf": "0.10.0",
"node": "12.12.0",
"pouchdb": "7.1.1",
"pouchdb-adapter-http": "7.1.1",
"pouchdb-adapter-idb": "7.1.1",
"pouchdb-adapter-leveldb": "7.1.1",
"pouchdb-adapter-localstorage": "7.1.1",
"pouchdb-adapter-memory": "7.1.1",
"pouchdb-adapter-websql": "7.0.0",
"pouchdb-debug": "7.1.1",
"pre-commit": "1.2.2",
"random-int": "2.0.1",
"request": "2.88.0",
"request-promise": "4.2.4",
"request-promise-native": "1.0.7",
"rimraf": "3.0.0",
"rollup": "1.26.2",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rxjs": "6.5.3",
"shelljs": "0.8.3",
"source-map-support": "0.5.16",
"subscriptions-transport-ws": "0.9.16",
"ts-node": "8.4.1",
"tslint": "5.20.0",
"typescript": "3.6.4",
"uglify-js": "3.6.5",
"uglifyjs-webpack-plugin": "2.2.0",
"walk-sync": "2.0.2",
"watch": "1.0.2",
"watchify": "3.11.1",
"webpack": "4.41.2",
"webpack-bundle-analyzer": "3.6.0",
"webpack-cli": "3.3.10"
}
}