-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.85 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 2.85 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "archons",
"version": "0.2.13",
"description": "Fast, powerful and elegant CLI build tool based on clap-rs",
"author": {
"name": "苏向夜",
"email": "fu050409@163.com",
"url": "https://github.com/fu050409"
},
"main": "index.js",
"types": "index.d.ts",
"repository": "https://github.com/noctisynth/archons.git",
"license": "MIT",
"keywords": [
"cli-tool",
"rust"
],
"napi": {
"name": "archons",
"triples": {
"additional": [
"aarch64-apple-darwin",
"aarch64-linux-android",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"armv7-unknown-linux-musleabihf",
"x86_64-unknown-linux-musl",
"x86_64-unknown-freebsd",
"i686-pc-windows-msvc",
"armv7-linux-androideabi",
"universal-apple-darwin",
"riscv64gc-unknown-linux-gnu"
]
},
"package": {
"name": "archons-napi"
}
},
"engines": {
"node": ">= 10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"watch": "node scripts/watch.mjs",
"artifacts": "napi artifacts",
"bench": "node --import @swc-node/register/esm-register benchmark/bench.ts",
"build": "napi build --platform --release --pipe \"prettier -w\"",
"build:examples": "tsc -p examples",
"build:debug": "napi build --platform --pipe \"prettier -w\"",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier . -w",
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "oxlint .",
"prepublishOnly": "napi prepublish -t npm --skip-gh-release",
"test": "jest",
"bump": "node scripts/bump.mjs",
"prepare": "husky"
},
"devDependencies": {
"@babel/plugin-transform-typescript": "^7.27.0",
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.27.0",
"@changesets/cli": "^2.29.2",
"@napi-rs/cli": "^2.18.4",
"@taplo/cli": "^0.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.14.1",
"archons": "link:",
"chalk": "^5.4.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.0.0",
"npm-run-all2": "^8.0.0",
"oxlint": "^1.0.0",
"prettier": "^3.5.3",
"tinybench": "^4.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
],
"*.rs": [
"cargo fmt -- "
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"husky": {
"hooks": {
"pre-commit": "pnpm lint-staged"
}
}
}