-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
54 lines (54 loc) · 2.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "presetter-monorepo",
"private": true,
"version": "6.2.0",
"packageManager": "[email protected]",
"engines": {
"node": ">=20.0.0"
},
"description": "Make project configurations clean with presets",
"keywords": [],
"homepage": "https://github.com/alvis/presetter#readme",
"bugs": {
"url": "https://github.com/alvis/presetter/issues"
},
"license": "MIT",
"author": "Alvis HT Tang <[email protected]>",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/alvis/presetter.git"
},
"scripts": {
"install": "npx -y only-allow pnpm && husky",
"postinstall": "presetter bootstrap",
"build": "pnpm --recursive run build",
"coverage": "pnpm run test --coverage",
"lint": "run-s \"lint:* -- packages/*/source/** packages/*/spec/**\"",
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=8096 eslint --flag unstable_ts_config --flag unstable_config_lookup_from_file --fix --format stylish --no-error-on-unmatched-pattern --no-warn-ignored",
"lint:fixme": "leasot --skip-unsupported --exit-nicely package.json",
"lint:prettier": "prettier --write --no-error-on-unmatched-pattern",
"test": "vitest",
"stage": "pnpm --recursive exec lint-staged -- --concurrent=false",
"next": "pnpm run release -- --prerelease next",
"release": "run-s \"release:root -- {@}\" release:packages release:lock release:git --",
"release:git": "run-s release:git:*",
"release:git:add": "git add ':(glob)**/CHANGELOG.md' ':(glob)**/package.json' ':(glob)**/pnpm-lock.yaml'",
"release:git:commit": "git commit -m \"chore(release): publish v$(npx -c 'echo $npm_package_version')\"",
"release:git:tag": "git tag v$(npx -c 'echo $npm_package_version')",
"release:root": "standard-version --preset metahub --skip.commit --skip.tag",
"release:packages": "pnpm --recursive --shell-mode exec \"standard-version --path \\$(pwd) --preset metahub --skip.commit --skip.tag --release-as $(npx -c 'echo $npm_package_version')\"",
"release:lock": "pnpm install --ignore-scripts"
},
"peerDependencies": {
"presetter": "workspace:*",
"presetter-preset-esm": "workspace:*",
"presetter-preset-essentials": "workspace:*",
"presetter-preset-strict": "workspace:*",
"presetter-types": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "^5.0.0"
}
}