-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
129 lines (129 loc) · 6.59 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
{
"name": "tanker",
"private": true,
"license": "Apache-2.0",
"scripts": {
"build": "tsc --build --verbose packages",
"clean": "rimraf packages/*/dist packages/*/*/dist packages/**/.cache",
"build:all": "npm run build:test-utils && npm run build:global-this && npm run build:errors && npm run build:file-reader && npm run build:http-utils && npm run build:types && npm run build:streams && npm run build:crypto && npm run build:datastores && npm run build:core && npm run build:client-browser && npm run build:client-node && npm run build:functional-tests",
"build:client-browser": "rimraf packages/client-browser/dist packages/client-browser/config/.cache && tsc --build packages/client-browser/config",
"build:client-node": "rimraf packages/client-node/dist packages/client-node/config/.cache && tsc --build packages/client-node/config",
"build:core": "rimraf packages/core/dist packages/core/config/.cache && tsc --build packages/core/config",
"build:crypto": "rimraf packages/crypto/dist packages/crypto/config/.cache && tsc --build packages/crypto/config",
"build:datastores": "rimraf packages/datastore/*/dist packages/datastore/*/config/.cache && tsc --build packages/datastore/config",
"build:errors": "rimraf packages/errors/dist packages/errors/config/.cache && tsc --build packages/errors/config",
"build:file-reader": "rimraf packages/file-reader/dist packages/file-reader/config/.cache && tsc --build packages/file-reader/config",
"build:global-this": "rimraf packages/global-this/dist packages/global-this/config/.cache && tsc --build packages/global-this/config",
"build:http-utils": "rimraf packages/http-utils/dist packages/http-utils/config/.cache && tsc --build packages/http-utils/config",
"build:streams": "rimraf packages/stream/*/dist packages/stream/*/config/.cache && tsc --build packages/stream/config",
"build:test-utils": "rimraf packages/test-utils/dist packages/test-utils/config/.cache && tsc --build packages/test-utils/config",
"build:types": "rimraf packages/types/dist packages/types/config/.cache && tsc --build packages/types/config",
"build:functional-tests": "rimraf packages/functional-tests/dist packages/functional-tests/config/.cache && tsc --build packages/functional-tests/config",
"lint:js": "eslint \"config/**/*.js\"",
"lint:ts": "eslint \"packages/**/*.ts\"",
"lint:compat": "eslint --no-ignore --no-eslintrc --config .eslintrc.compat.yml",
"lint:compat:all": "npm run lint:compat \"packages/**/dist/**/*.js\"",
"_test": "mocha --exit --require ts-node/register --require tsconfig-paths/register --recursive --full-trace --trace-warnings --reporter=spec",
"test": "npm run _test \"packages/**/src/**/*.spec{,.node}.ts\"",
"test:core": "npm run _test \"packages/core/src/**/*.spec{,.node}.ts\"",
"test:crypto": "npm run _test \"packages/crypto/src/**/*.spec{,.node}.ts\"",
"test:datastore-base": "npm run _test \"packages/datastore/base/src/**/*.spec{,.node}.ts\"",
"test:datastore-pouchdb-memory": "npm run _test \"packages/datastore/pouchdb-memory/src/**/*.spec{,.node}.ts\"",
"test:datastore-pouchdb-node": "npm run _test \"packages/datastore/pouchdb-node/src/**/*.spec{,.node}.ts\"",
"test:errors": "npm run _test \"packages/errors/src/**/*.spec{,.node}.ts\"",
"test:global-this": "npm run _test \"packages/global-this/**/src/**/*.spec{,.node}.ts\"",
"test:http-utils": "npm run _test \"packages/http-utils/**/src/**/*.spec{,.node}.ts\"",
"test:streams": "npm run _test \"packages/stream/**/src/**/*.spec{,.node}.ts\"",
"test:types": "npm run _test \"packages/types/src/**/*.spec{,.node}.ts\"",
"test-matcher:export-test-names": "npm run test --reporter ./config/mocha/name-exporter.js --dry-run --grep 'functional-tests'",
"karma": "karma start config/karma/karma.config.ci.js",
"debug": "karma start config/karma/karma.config.debug.js",
"debug:core": "karma start packages/core/config/karma.config.debug.js",
"debug:crypto": "karma start packages/crypto/config/karma.config.debug.js",
"debug:errors": "karma start packages/errors/config/karma.config.debug.js",
"debug:streams": "karma start packages/stream/config/karma.config.debug.js",
"proof": "poetry install && poetry run python run-ci.py lint && npm run test",
"coverage": "nyc npm run test",
"gen:keypair": "npm run build:crypto && node ./packages/crypto/dist/node/generate_keypair.js"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@types/sinon": "^10.0.13",
"@types/webpack": "^5.28.5",
"@types/webpack-env": "^1.18.4",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"buffer": "6.0.3",
"eslint": "8.36.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-plugin-chai-expect": "3.0.0",
"eslint-plugin-chai-friendly": "0.7.2",
"eslint-plugin-compat": "4.2.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-mocha-no-only": "1.1.1",
"karma": "6.4.1",
"karma-browserstack-launcher": "1.6.0",
"karma-chrome-launcher": "3.1.1",
"karma-edgium-launcher": "https://github.com/matracey/karma-edgium-launcher.git#253b4b506236d16d3e7c450196db1a22ce37aeba",
"karma-firefox-launcher": "2.1.2",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-opera-launcher": "1.0.0",
"karma-safari-launcher": "https://github.com/RLovelett/karma-safari-launcher.git#a1407eeaf0822a5e00e2a2b57c112c82f052a8ff",
"karma-sourcemap-loader": "0.3.8",
"karma-webpack": "5.0.0",
"mocha": "^10.2.0",
"nyc": "15.1.0",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"ts-loader": "~9.4.2",
"ts-node": "~10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "~5.2.2",
"util": "^0.12.5",
"webpack": "5.84.0",
"webpack-cli": "^5.1.4"
},
"overrides": {
"leveldown": "^6.1.1"
},
"workspaces": [
"packages/*",
"packages/datastore/*",
"packages/stream/*"
],
"browserslist": [
"last 2 versions",
"Firefox ESR",
"node >= 18",
"not IE 11",
"not op_mini all",
"not dead"
],
"nyc": {
"exclude": [
"config",
"packages/*/config",
"packages/**/*.spec.ts",
"packages/**/*.spec.node.ts",
"packages/**/*.spec.web.ts",
"packages/functional-tests",
"packages/**/src/**/__tests__",
"packages/**/tests"
],
"reporter": [
"cobertura",
"lcov",
"text-summary"
],
"extension": [
".js",
".ts"
],
"sourceMap": true
}
}