-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
76 lines (76 loc) · 1.78 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
{
"name": "node-rs",
"packageManager": "[email protected]",
"version": "0.0.0",
"description": "Node & Rust bindings monorepo",
"author": "LongYinan <[email protected]>",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"artifacts": "yarn workspaces foreach -A --no-private run artifacts",
"build": "yarn workspaces foreach -A --no-private -j 1 run build",
"build:ts": "tsc -b tsconfig.json -verbose",
"lint": "oxlint .",
"test": "ava",
"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",
"postinstall": "husky install"
},
"devDependencies": {
"@napi-rs/cli": "^3.0.0-alpha.64",
"@napi-rs/wasm-runtime": "^0.2.5",
"@taplo/cli": "^0.7.0",
"@tybys/wasm-util": "^0.9.0",
"@types/node": "^22.7.4",
"ava": "^6.1.3",
"cross-env": "^7.0.3",
"husky": "^9.1.6",
"lerna": "^8.1.8",
"lint-staged": "^15.2.10",
"npm-run-all2": "^7.0.0",
"oxlint": "^0.15.0",
"prettier": "^3.3.3",
"tslib": "^2.7.0",
"typescript": "^5.6.2"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|json|md)": [
"prettier --write"
],
"*.toml": [
"taplo format"
],
"*.rs": [
"cargo fmt --"
]
},
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--import",
"@oxc-node/core/register"
],
"timeout": "1m",
"cache": false,
"files": [
"packages/*/__test__/**/*.spec.ts"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
}
}