forked from ckb-js/lumos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.49 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
{
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=12.0.0"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@babel/cli": "^7.16.7",
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@commitlint/types": "^16.0.0",
"@devtools/changelog": "workspace:^",
"@strictsoftware/typedoc-plugin-monorepo": "^0.3.1",
"@types/node": "^20.1.0",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"ava": "^3.8.2",
"benchmark": "^2.1.4",
"c8": "^7.10.0",
"eslint": "^8.40.0",
"eslint-import-resolver-typescript": "^2.7.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
"lint-staged": "^12.3.5",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"shx": "^0.3.4",
"sinon": "^15.0.4",
"ts-node": "^10.9.1",
"typedoc": "^0.25.10",
"typedoc-plugin-missing-exports": "^2.2.0",
"typescript": "5.0.4"
},
"scripts": {
"docs": "typedoc",
"prepare": "is-ci || husky install",
"test": "pnpm run -r --parallel test",
"e2e-test": "pnpm run e2e-indexer && pnpm run integration-test",
"e2e-indexer": "cd packages/ckb-indexer && pnpm run test:e2e",
"integration-test": "cd packages/e2e-test && pnpm run test:e2e",
"test-coverage": "npx c8 --reporter=cobertura --reporter=html --clean -o coverage pnpm run test",
"build:types": "pnpm run -r build:types",
"build:js": "pnpm run -r --parallel build:js ",
"build": "run-p build:*",
"lint": "run-p lint:* && git diff --exit-code",
"fmt": "pnpm run -r --parallel fmt",
"lint:eslint": "pnpm run -r --parallel lint",
"lint-next": "eslint -c .eslintrc.next.js ",
"clean": "pnpm run -r --paralle clean",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"changeset:release": "node scripts/changeset-publish.cjs"
},
"husky": {
"hooks": {
"pre-push": "pnpm run lint"
}
},
"lint-staged": {
"packages/*/{src,tests}/**/*.{js,ts,md}": [
"prettier --write",
"eslint -c .eslintrc.next.js --fix",
"git add"
],
"website/{docs,src}/**/*.{js,ts,md}": [
"prettier --write",
"git add"
]
},
"packageManager": "[email protected]"
}