-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.97 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.97 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
{
"name": "root",
"version": "0.0.0",
"private": true,
"author": {
"name": "guanghechen",
"url": "https://github.com/guanghechen/"
},
"repository": {
"type": "git",
"url": "https://github.com/guanghechen/node-scaffolds/tree/release-6.x.x"
},
"homepage": "https://github.com/guanghechen/node-scaffolds/tree/release-6.x.x/#readme",
"engines": {
"node": ">= 20.0.0"
},
"type": "module",
"scripts": {
":publish": "yarn build:production && yarn test:coverage && lerna publish",
":publish:recover": "git stash && lerna publish from-package",
":upgrade": "yarn upgrade-interactive && run-s clean format build test",
":prebuild": "nx run rollup-config:build",
"build": "yarn :prebuild && nx run-many --target=build --all=true --parallel=false",
"build:production": "yarn :prebuild && nx run-many --target=build --configuration=production --all=true --parallel=false",
"build:tool": "nx run tool-file:build:production && nx run tool-mini-copy:build:production",
"clean": "nx reset --clear-cache-and-daemon && nx run-many --target=clean --all=true && yarn install",
"format": "run-s format:lintfix format:prettier",
"format:prettier": "prettier . --write",
"format:lintfix": "eslint . --fix",
"prepublishOnly": "pinst --disable",
"postinstall": "run-s postinstall:dev",
"postinstall:dev": "is-ci || husky",
"postpublish": "pinst --enable",
"rebuild": "run-s clean build",
"test": "nx run-many --target=test --all=true --maxParallel=1",
"test:coverage": "nx run-many --target=test --configuration=coverage --all=true --maxParallel=1",
"test:update": "nx run-many --target=test --configuration=update --all=true --maxParallel=1",
"run:ts": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register",
"version": "yarn && yarn build:tool && yarn run:ts packages/script-doc-link/src/cli.ts && git stage -u yarn.lock packages/**/package.json packages/**/*.md"
},
"workspaces": [
"packages/*",
"playground/*"
],
"devDependencies": {
"@guanghechen/chalk": "^1.0.4",
"@guanghechen/fs": "^1.0.6",
"@guanghechen/path": "^1.0.3",
"@guanghechen/reporter": "^1.0.7",
"@guanghechen/resource": "^1.0.4",
"@rollup/plugin-replace": "6.0.2",
"@types/jest": "30.0.0",
"@types/node": "20.19.11",
"commander": "12.1.0",
"cross-env": "10.0.0",
"eslint": "9.34.0",
"husky": "9.1.7",
"is-ci": "4.1.0",
"jest": "30.1.1",
"lerna": "8.2.4",
"lint-staged": "16.1.5",
"npm-run-all": "4.1.5",
"nx": "21.4.1",
"pinst": "3.0.0",
"prettier": "3.6.2",
"rimraf": "6.0.1",
"rollup": "4.49.0",
"ts-jest": "29.4.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.9.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,mts,cjs,cts}": [
"eslint --fix",
"prettier --write"
],
"*.{json,eslintrc}": [
"prettier --write"
]
},
"packageManager": "yarn@3.3.1"
}