forked from nutui-uniapp/nutui-uniapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.25 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
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
{
"name": "nutui-uniapp",
"type": "module",
"version": "1.3.5",
"private": "true",
"description": "",
"author": "",
"license": "MIT",
"keywords": [
"nutui",
"vue3",
"uniapp",
"typescript"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "pnpm run --dir packages/nutui build",
"dev:mp-weixin": "npm -C example run dev:mp-weixin",
"build:mp-weixin": "npm -C example run build:mp-weixin",
"dev:mp-alipay": "npm -C example run dev:mp-alipay",
"build:mp-alipay": "npm -C example run build:mp-alipay",
"dev:h5": "npm -C example run dev:h5",
"build:h5": "npm -C example run build:h5",
"dev:app": "npm -C example run dev:app",
"build:app": "npm -C example run build:app",
"docs:dev": "npm -C docs run dev",
"docs:build": "npm -C docs run build",
"docs:preview": "npm -C docs run serve",
"commit": "git pull && git add -A && git-cz",
"lint": "eslint . --fix",
"lint:style": "stylelint --cache \"**/*.{vue,scss}\" --fix",
"lint:markdownlint": "markdownlint . --fix --ignore-path=.gitignore",
"lint-staged": "npm -C packages/nutui run type-check && npx lint-staged",
"clean": "npx rimraf ./node_modules ./**/**/node_modules",
"release": "bumpp package.json packages/*/package.json example/package.json",
"postinstall": "npx simple-git-hooks",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md && git commit -m \"docs: update changelog\" && git push",
"build:all": "pnpm build && pnpm build:h5 && pnpm docs:build && esno scripts/build.ts",
"build:uni": "esno scripts/uni.ts"
},
"dependencies": {
"vue": "3.3.4"
},
"devDependencies": {
"@antfu/eslint-config": "^1.0.0-beta.27",
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@dcloudio/types": "^3.4.0",
"@nutui/touch-emulator": "^1.0.0",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.15.0",
"@uni-helper/uni-app-types": "^0.5.12",
"@vue/tsconfig": "^0.4.0",
"bumpp": "^9.1.1",
"commitizen": "^4.3.0",
"consola": "^3.2.3",
"conventional-changelog-cli": "^3.0.0",
"cz-git": "^1.7.1",
"eslint": "^8.51.0",
"esno": "^0.17.0",
"fs-extra": "^11.1.1",
"lint-staged": "^13.2.2",
"markdownlint-cli": "^0.37.0",
"postcss": "^8.4.31",
"postcss-html": "^1.5.0",
"sass": "^1.69.3",
"simple-git-hooks": "^2.9.0",
"stylelint": "^15.7.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.2.0",
"stylelint-config-recommended": "^12.0.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-order": "^6.0.3",
"typescript": "5.2.2",
"unbuild": "^2.0.0",
"vite": "4.5.0",
"vitepress": "1.0.0-rc.24",
"vitest": "^0.34.2",
"vue-tsc": "1.8.21"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "npx commitlint --edit ${1}"
},
"lint-staged": {
"*.{vue,js,ts}": "eslint --fix",
"*.{scss,css,vue}": "stylelint --fix --allow-empty-input",
"*.md": "markdownlint --fix --ignore-path=.gitignore"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}