-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 1.87 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
{
"version": "0.1.0",
"private": true,
"scripts": {
"lint": "pnpm lint:docs && pnpm --no-bail lint:json && pnpm lint:package && pnpm lint:js",
"lint:docs": "prettier --write .github/**/*.md **/README.md",
"lint:js": "NODE_OPTIONS=\"--max-old-space-size=16384\" eslint --cache --fix packages --ext .js,.ts",
"lint:json": "prettier --write .github/**/*.yml **/tsconfig.json **/tsconfig.*.json pnpm-workspace.yaml",
"lint:package": "prettier --write **/package.json",
"package:build": "r(){ cd $1; ln -s ../../shared/tsconfig.packages.json tsconfig.json; tsc --project tsconfig.json; rm tsconfig.json; }; r",
"package:release": "versioner --target",
"prepare": "husky install",
"security": "pnpm audit --audit-level=high"
},
"devDependencies": {
"@commitlint/cli": "17.6.5",
"@commitlint/config-conventional": "17.6.5",
"@dot/versioner": "workspace:*",
"@swc-node/register": "^1.6.5",
"@swc/core": "^1.3.62",
"@types/node": "^18.16.17",
"@types/sinon": "10.0.13",
"ava": "5.3.0",
"eslint-config-shellscape": "^6.0.1",
"husky": "^8.0.3",
"lint-staged": "13.2.2",
"nyc": "^15.1.0",
"sinon": "15.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix --cache"
],
"**/(package|tsconfig(.*)?).json": [
"prettier --write"
],
"(pnpm-workspace|.github/**/*).{yml,yaml}": [
"prettier --write"
],
"*package.json": [
"prettier --write --plugin=prettier-plugin-package"
],
"((.github/**/*)|(README|CHANGELOG)|(**/(README|CHANGELOG))).md": [
"prettier --write"
]
},
"nyc": {
"include": [
"dist/**/*.js"
],
"exclude": [
"test/"
]
},
"pnpm": {
"peerDependencyRules": {
"allowAny": [
"*"
],
"ignoreMissing": [
"*"
]
}
}
}