Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.07 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 3.07 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "be-ui-cli",
"description": "A cli for quickly generating project template",
"private": false,
"type": "module",
"version": "2.0.1",
"homepage": "https://github.com/Be-UI/Be-CLI#readme",
"keywords": [
"vue3",
"react",
"eslint",
"commitlint",
"prettier",
"vite",
"ant-design",
"unocss",
"windicss",
"vitest",
"jest"
],
"license": "MIT",
"author": "baiwusanyu-c",
"repository": "https://github.com/Be-UI/Be-CLI",
"bugs": "https://github.com/Be-UI/Be-CLI/issues",
"main": "index.js",
"files": [
"dist",
"bin",
"template",
"index.js",
"README.md"
],
"bin": {
"be-ui-cli": "bin/index.js"
},
"scripts": {
"init": "pnpm install",
"lint:fix": "eslint --fix ./ --ext .vue,.js,.ts,.jsx,.tsx,.json ",
"dev": "cross-env ENV=BECLIDEV esno be-cli/bin/index.ts create",
"build": "pnpm run clean && rollup -c build-script/rollup.config.js && node build-script/build-pkg.js",
"release": "bumpp package.json --commit --push --tag",
"publish": "pnpm publish --no-git-checks --access public",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"prepare": "husky install",
"husky:step1": "npx husky add .husky/pre-commit \"npm exec lint-staged --allow-empty\"",
"husky:step2": "git add .husky/pre-commit && npx husky add .husky/commit-msg \"npx --no -- commitlint --edit $1\" && git add .husky/commit-msg",
"clean": "rimraf dist"
},
"peerDependencies": {
"cac": "^6.7.14",
"chalk": "5.2.0",
"colors": "^1.4.0",
"commander": "^10.0.0",
"fs-extra": "^11.1.0",
"ora": "^6.1.2",
"prompts": "^2.4.2",
"readdirp": "^3.6.0"
},
"dependencies": {
"cac": "^6.7.14",
"chalk": "5.2.0",
"colors": "^1.4.0",
"commander": "^10.0.0",
"fs-extra": "^11.1.0",
"ora": "^6.1.2",
"prompts": "^2.4.2",
"readdirp": "^3.6.0"
},
"devDependencies": {
"@baiwusanyu/eslint-config": "^1.0.10",
"@changesets/cli": "^2.26.0",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/chalk": "^2.2.0",
"@types/commander": "^2.12.2",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.0.0",
"@types/prompts": "^2.4.2",
"bumpp": "^8.2.1",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"eslint": "^8.32.0",
"esno": "^0.16.3",
"figlet": "^1.5.2",
"husky": "^7.0.4",
"rimraf": "^4.1.0",
"rollup": "^3.10.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.33.0",
"tslib": "^2.3.1",
"typescript": "4.9.4",
"unbuild": "^0.7.4",
"vite": "^4.0.4",
"vitest": "^0.27.1"
},
"lint-staged": {
"*.{vue,js,ts,jsx,tsx,md,json}": [
"eslint ./ --fix",
"git add"
]
},
"eslintConfig": {
"extends": [
"@baiwusanyu"
]
}
}