forked from nutui-uniapp/nutui-uniapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.49 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
100
101
102
103
{
"name": "nutui-uniapp",
"type": "module",
"version": "1.7.6",
"private": "true",
"packageManager": "[email protected]",
"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",
"publish:ci": "esno scripts/publish.ts",
"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 scripts/package.json packages/nutui/package.json example/package.json docs/package.json",
"postinstall": "pnpm build && 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:web-types": "esno scripts/web-types.ts",
"build:all": "pnpm build && pnpm build:web-types && pnpm build:h5 && pnpm docs:build && esno scripts/build.ts",
"build:uni": "esno scripts/uni.ts"
},
"dependencies": {
"vue": "3.2.47"
},
"devDependencies": {
"@antfu/eslint-config": "^2.2.1",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@dcloudio/types": "^3.4.7",
"@nutui/touch-emulator": "^1.0.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.10.2",
"@uni-helper/uni-app-types": "^0.5.12",
"@vue/tsconfig": "^0.4.0",
"bumpp": "^9.2.0",
"commitizen": "^4.3.0",
"components-helper": "^2.2.0",
"consola": "^3.2.3",
"conventional-changelog-cli": "^4.1.0",
"cz-git": "^1.7.1",
"eslint": "^8.55.0",
"esno": "^4.0.0",
"fs-extra": "^11.2.0",
"lint-staged": "^13.3.0",
"markdownlint-cli": "^0.37.0",
"postcss": "^8.4.32",
"postcss-html": "^1.5.0",
"sass": "^1.69.5",
"simple-git-hooks": "^2.9.0",
"stylelint": "^15.11.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.4.0",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-order": "^6.0.3",
"typescript": "5.3.3",
"unbuild": "^2.0.0",
"vite": "4.5.2",
"vitepress": "1.0.0-rc.31",
"vitest": "^0.34.6",
"vue-tsc": "1.8.24"
},
"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"
}
}
}