-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.12 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 2.12 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
{
"name": "@algorithm.ts/root",
"version": "0.0.0",
"private": true,
"author": {
"name": "guanghechen",
"url": "https://github.com/guanghechen/"
},
"repository": {
"type": "git",
"url": "https://github.com/guanghechen/algorithm.ts"
},
"homepage": "https://github.com/guanghechen/algorithm.ts",
"type": "module",
"scripts": {
":publish": "pnpm clean && pnpm build:production && pnpm test:coverage && changeset publish",
":publish:all": "pnpm -r exec npm version patch --no-git-tag-version && pnpm -r publish --no-git-checks",
":version": "changeset version",
":upgrade": "pnpm update -i && pnpm clean && pnpm format && pnpm build && pnpm test",
"build": "cross-env NODE_ENV=production BUILD_SOURCEMAP=true pnpm -r run build",
"build:production": "cross-env NODE_ENV=production BUILD_SOURCEMAP=false pnpm -r run build",
"clean": "pnpm -r run clean && pnpm install",
"format": "biome check --write .",
"postinstall": "githooks install",
"rebuild": "pnpm clean && pnpm build",
"test": "pnpm -r run --if-present test",
"test:coverage": "pnpm -r run --if-present test:coverage",
"test:update": "pnpm -r run --if-present test:update",
"version": "pnpm install && node script/sync-doc-link.mjs && git stage -u pnpm-lock.yaml packages/**/package.json packages/**/*.md",
"lint": "biome check .",
"test:dist": "node script/test-dist.mjs",
"typecheck": "tsc --project tsconfig.test.json --noEmit"
},
"devDependencies": {
"@biomejs/biome": "2.5.13",
"@changesets/cli": "3.0.2",
"@guanghechen/githooks": "1.0.0",
"@guanghechen/reporter": "3.3.0",
"@types/node": "24.13.6",
"@vitest/coverage-v8": "4.1.0",
"cross-env": "10.1.0",
"lint-staged": "16.4.0",
"rimraf": "6.1.3",
"tsdown": "0.23.0",
"typescript": "7.0.2",
"vitest": "4.1.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,mts,cjs,cts,json,jsonc}": "biome check --write --no-errors-on-unmatched"
},
"engines": {
"node": "^22.18.0 || ^24.11.0 || >=26.0.0"
},
"githooks": {
"hooks": {
"pre-commit": "pnpm exec lint-staged --allow-empty"
}
}
}