forked from vercel/turborepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.43 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
{
"packageManager": "[email protected]",
"private": true,
"workspaces": [
"packages/*",
"packages/webpack-nmt/test/with-mongodb-mongoose",
"crates/turbopack/tests/node-file-trace"
],
"devDependencies": {
"@taplo/cli": "^0.4.2",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"node-gyp": "^9.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"turbo": "^1.3.4",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.@(js|ts)": [
"eslint --quiet --fix"
],
"*.@(js|ts|json|md|yml|yaml)": [
"prettier --write"
],
"*.toml": [
"taplo format"
],
"*.rs": [
"cargo fmt --"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && cargo fmt --all"
}
},
"scripts": {
"build": "tsc -b tsconfig.project.json",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier --config ./package.json -w .",
"format:rs": "cargo fmt --all",
"format:toml": "taplo format",
"lint": "eslint . --ext js,jsx,ts,tsx -c ./.eslintrc.yaml",
"postinstall": "husky install"
},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always"
}
}