forked from ckb-js/lumos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3.11 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
{
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=12.0.0"
},
"resolutions": {
"lerna/**/json-schema": "^0.4.0",
"@strictsoftware/typedoc-plugin-monorepo/highlight.js": "^10.4.1",
"ava/trim-off-newlines": "^1.0.3",
"ava/**/ansi-regex": "^5.0.1",
"lerna/**/ansi-regex": "^5.0.1"
},
"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",
"@commitlint/cli": "^16.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@commitlint/types": "^16.0.0",
"@strictsoftware/typedoc-plugin-monorepo": "^0.3.1",
"@typescript-eslint/eslint-plugin": "^3.5.0",
"@typescript-eslint/parser": "^3.5.0",
"ava": "^3.8.2",
"c8": "^7.10.0",
"eslint": "^7.1.0",
"eslint-import-resolver-typescript": "^2.7.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"lerna": "^4.0.0",
"lint-staged": "^12.3.5",
"mysql2": "^2.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"sinon": "^9.2.0",
"ts-node": "^8.10.2",
"typedoc": "^0.17.7",
"typescript": "3.9.5"
},
"scripts": {
"docs": "typedoc .",
"prepare": "husky install",
"test": "lerna run test --parallel",
"e2e-test": "lerna run test:e2e --stream",
"test-coverage": "yarn c8 --reporter=cobertura --reporter=html --clean -o coverage yarn run test",
"build:types": "lerna run build:types",
"build:js": "lerna run build:js --parallel",
"build": "run-p build:*",
"build-release": "lerna run --scope @ckb-lumos/lumos build:umd",
"lint": "run-p lint:* && git diff --exit-code",
"lint:fmt": "lerna run fmt --parallel",
"lint:eslint": "lerna run lint --parallel",
"lint-next": "eslint -c .eslintrc.next.js ",
"clean": "lerna run clean",
"versionup": "lerna version --conventional-commits --no-git-tag-version",
"versionup:patch": "lerna version patch --conventional-commits --no-git-tag-version",
"versionup:minor": "lerna version minor --conventional-commits --no-git-tag-version",
"versionup:major": "lerna version major --conventional-commits --no-git-tag-version",
"versionup:prerelease": "lerna version prerelease --conventional-commits --no-git-tag-version --conventional-prerelease --force-publish",
"postversionup": "npm run create-publish-branch",
"postversionup:patch": "npm run create-publish-branch",
"postversionup:minor": "npm run create-publish-branch",
"postversionup:major": "npm run create-publish-branch",
"postversionup:prerelease": "npm run create-publish-branch",
"commit-version": "git add . && git commit -m \"chore: publish `node -p 'require(\"./lerna.json\").version'`\"",
"create-publish-branch": "node ./scripts/create_publish_branch.js"
},
"husky": {
"hooks": {
"pre-push": "yarn run lint"
}
},
"lint-staged": {
"packages/*/{src,tests}/**/*.{js,ts,md}": [
"prettier --write",
"eslint -c .eslintrc.next.js --fix"
]
},
"website/{docs,src}/**/*.{js,ts,md}": [
"prettier --write"
]
}