-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.61 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.61 KB
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
{
"name": "@chaos-design/translate-api",
"version": "0.0.1",
"description": "translate api",
"private": true,
"main": "index.js",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"typecheck": "tsc -p scripts --noEmit && pnpm -r --parallel run typecheck",
"lint": "eslint --cache .",
"format": "prettier --write --cache .",
"build": "pnpm -r --filter='./packages/*' run build",
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
"getchanged": "sh ./scripts/get-changed-pkg-path.sh",
"release-all": "bumpp packages/**/package.json",
"release": "sh cache-changed-pkg-path.sh"
},
"keywords": [],
"author": "Rain120",
"license": "MIT",
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown",
"pnpm run getchanged"
],
"packages/*/{src,types}/**/*.ts": [
"eslint --cache --fix"
],
"packages/**/*.d.ts": [
"eslint --cache --fix"
]
},
"devDependencies": {
"@chaos-design/eslint-config": "^0.0.12",
"@chaos-design/tsconfig": "^0.0.11",
"@types/cross-spawn": "^6.0.2",
"@types/node": "^20.3.3",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"bumpp": "^9.1.1",
"eslint": "^8.44.0",
"eslint-define-config": "^1.21.0",
"lint-staged": "^13.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.8.1",
"typescript": "^5.3.3",
"unbuild": "^1.2.1",
"vitest": "^1.2.0"
}
}