-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
40 lines (40 loc) · 1.36 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
{
"name": "crafthead",
"version": "1.0.0",
"repository": "[email protected]:astei/crafthead.git",
"license": "MIT",
"author": "Andrew Steinborn <[email protected]>",
"main": "worker/index.js",
"type": "module",
"scripts": {
"build": "wasm-pack build --release -t nodejs && node --experimental-strip-types ./helper/fix-wasm-pack-output.ts",
"check-types": "npm run check-types:server",
"check-types:server": "tsc --noemit",
"dev": "wrangler dev",
"lint": "npm run lint:js && npm run lint:rs && npm run check-types",
"lint:js": "eslint \"**/*.{js,mjs,cjs,ts}\" \"**/*.json\"",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:rs": "cargo fmt --all --check && cargo clippy --all-targets --all-features",
"lint:rs:fix": "cargo fmt --all && cargo clippy --all-targets --all-features --fix",
"test": "vitest --run && cargo test",
"test:dev": "vitest --watch"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "0.6.7",
"@cloudflare/workers-types": "4.20250124.3",
"@nodecraft/eslint-config": "44.3.0",
"@types/node": "22.10.10",
"@typescript-eslint/eslint-plugin": "8.21.0",
"@typescript-eslint/parser": "8.21.0",
"eslint": "8.57.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-json": "4.0.1",
"eslint-plugin-unicorn": "56.0.1",
"typescript": "5.7.3",
"vitest": "2.1.8",
"wrangler": "3.105.1"
},
"engines": {
"node": ">= 22"
}
}