forked from neo4j/neo4j-javascript-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 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
{
"name": "root",
"private": true,
"type": "module",
"devDependencies": {
"husky": "^8.0.3",
"lerna": "^4.0.0",
"lint-staged": "^14.0.0",
"standard": "^17.1.0",
"ts-standard": "^12.0.2",
"typescript": "^4.9.5"
},
"lint-staged": {
"*.{js,md,html}": [
"npm run standard",
"git add"
],
"packages/core/**/*.ts": [
"npm run ts-standard::core",
"git add"
],
"packages/bolt-connection/**/*.ts": [
"npm run ts-standard::bolt-connection",
"git add"
],
"packages/neo4j-driver-lite/**/*.ts": [
"npm run ts-standard::neo4j-driver-lite",
"git add"
],
"packages/neo4j-driver/**/*.ts": [
"npm run ts-standard::neo4j-driver",
"git add"
],
"packages/testkit-backend/deno/**/*.{ts,js}": [
"deno fmt",
"deno lint",
"git add"
]
},
"scripts": {
"clean": "lerna clean -y && lerna run clean",
"build": "lerna bootstrap --ci",
"set_version::deno": "lerna run set_version --scope neo4j-driver-deno --stream -- ",
"build::deno": "lerna run build --scope neo4j-driver-deno --stream -- ",
"build::notci": "lerna bootstrap",
"docs": "lerna run docs --stream --concurrency 1",
"test::unit": "lerna run test::unit --stream",
"test::deno": "lerna run test::deno --stream",
"test::integration": "lerna run test::integration --stream",
"test::browser": "lerna run test::browser --stream",
"test::stress": "lerna run test::stress --stream",
"test": "lerna run test --stream",
"start-neo4j": "lerna run start-neo4j --scope neo4j-driver",
"stop-neo4j": "lerna run stop-neo4j --scope neo4j-driver",
"start-testkit-backend": "lerna run start --scope testkit-backend --stream",
"start-testkit-backend::deno": "lerna run start::deno --scope testkit-backend --stream",
"lerna": "lerna",
"prepare": "husky install",
"lint-staged": "lint-staged",
"lint": "npm run lint::core && npm run lint::bolt-connection && npm run lint::bolt-connection && npm run lint::neo4j-driver-lite && npm run lint::neo4j-driver && npm run lint::testkit-backend",
"lint::core": "npm run ts-standard::core -- packages/core/src/ && npm run ts-standard::core -- packages/core/test/",
"lint::bolt-connection": "npm run ts-standard::bolt-connection -- packages/bolt-connection/types/ && npm run standard -- packages/bolt-connection/src/ && npm run standard -- packages/bolt-connection/test/",
"lint::neo4j-driver-lite": "npm run ts-standard::neo4j-driver-lite -- packages/neo4j-driver-lite/src/ && npm run ts-standard::neo4j-driver-lite -- packages/neo4j-driver-lite/test/",
"lint::neo4j-driver": "npm run ts-standard::neo4j-driver -- packages/neo4j-driver/types/ && npm run ts-standard::neo4j-driver -- packages/neo4j-driver/test/types/ && npm run standard -- packages/neo4j-driver/src/ && npm run standard -- packages/neo4j-driver/test/**/*.js",
"lint::testkit-backend": "npm run standard -- packages/testkit-backend/src/**/*.js",
"ts-standard": "npm run ts-standard::core && npm run ts-standard::bolt-connection && npm run ts-standard::neo4j-driver-lite && npm run ts-standard::neo4j-driver",
"ts-standard::core": "ts-standard --fix --project ./packages/core/tsconfig.json",
"ts-standard::bolt-connection": "ts-standard --fix --project ./packages/bolt-connection/tsconfig.json",
"ts-standard::neo4j-driver-lite": "ts-standard --fix --project ./packages/neo4j-driver-lite/tsconfig.json",
"ts-standard::neo4j-driver": "ts-standard --fix --project ./packages/neo4j-driver/tsconfig.json",
"standard": "standard --fix --env jest --env jasmine"
}
}