-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.91 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.91 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
{
"private": true,
"version": "1.0.0",
"description": "custom devs",
"type": "module",
"packageManager": "pnpm@10.20.0",
"scripts": {
"prepare": "husky && npm run build -- --package-name eslint,commitlint --no-dts",
"init": "npx pnpm install",
"init:force": "rm -rf ./node_modules pnpm-lock.yaml ./packages/*/node_modules && npm run init",
"lint": "eslint packages --color",
"lint:fix": "npm run lint -- --fix",
"link": "tsx ./packages/cli/src/index.ts link",
"dev": "tsx ./packages/cli/src/index.ts dev",
"build": "tsx ./packages/cli/src/index.ts build",
"test": "tsx ./packages/cli/src/index.ts test",
"add": "tsx ./packages/cli/src/index.ts add",
"update": "tsx ./packages/cli/src/index.ts update",
"release": "tsx ./packages/cli/src/index.ts release",
"update:try": "npm run update -- --no-dry-run --no-commit --no-push --no-test",
"release:try": "npm run release -- --no-dry-run --no-publish --no-push --no-tag --no-commit",
"bin:link": "cd ./packages/cli && npm link",
"bin:unlink": "cd ./packages/cli && npm unlink -g",
"typecheck": "tsc --noEmit --skipLibCheck"
},
"scripts-info": {
"init": "首次安装",
"link": "依赖包关联",
"add": "创建新包或者给包添加依赖",
"dev": "开发模式",
"build": "打包模式",
"update": "更新 devDependencies 和 dependencies",
"release": "测试/打包/生成ChangeLog/发布NPM/提交Git(Tag|Commit|Push)",
"test": "执行测试, 可选择单个包或全部",
"bin": "调试packages/cli相关指令"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deot/dev.git"
},
"author": "deot",
"license": "ISC",
"bugs": {
"url": "https://github.com/deot/dev/issues"
},
"homepage": "https://github.com/deot/dev#readme",
"devDependencies-info": {
"*": "devDependencies移入@deot/dev-deps,并设置.npmrc shamefully-hoist = true"
}
}