forked from jdf2e/nutui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
176 lines (176 loc) · 6.58 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "@nutui/nutui",
"version": "4.0.3",
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
"main": "dist/nutui.umd.js",
"module": "dist/nutui.es.js",
"style": "dist/style.css",
"type": "module",
"typings": "dist/types/index.d.ts",
"web-types": "dist/smartips/web-types.json",
"keywords": [
"nutui",
"nutui2",
"nutui3",
"nutui4",
"vue",
"vue3",
"webpack",
"vue component",
"vue3 component",
"vite",
"jdc",
"jdcfe"
],
"author": "jdcfe",
"license": "MIT",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"README.md",
"package.json",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"checked": "npm run generate:file && tsc",
"checked:taro:vue": "npm run generate:file:taro:vue",
"dev": "npm run checked && npm run dts && vite --open --force",
"dev:taro:weapp": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:weapp",
"dev:taro:alipay": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:alipay",
"dev:taro:jd": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:jd",
"dev:taro:h5": "npm run createTaroConfig && npm run checked:taro:vue && npm run dts && cd src/sites/mobile-taro/vue/ && npm run dev:h5",
"build:site": "npm run checked && vite build",
"build:site-jdt": "npm run checked && vite build --config vite.config.jdt.ts ",
"build:site:oss": "npm run checked && vite build --base=/nutui/4x/",
"build": "npm run checked && vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && npm run dts && npm run attrs && node jd/generate-unplugin-deps.cjs nutui && node jd/copy-dist.cjs nutui",
"build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && npm run dts:taro && npm run attrs:taro && node jd/generate-unplugin-deps.cjs nutui-taro && node jd/copy-dist.cjs nutui-taro",
"serve": "vite preview",
"upload": "yarn build:site:oss && node ./jd/upload.js",
"add": "node jd/createComponentMode.js",
"publish:beta": "npm publish --tag=beta",
"publish": "npm publish",
"generate:file": "node jd/generate-nutui.cjs",
"generate:file:taro:vue": "node jd/generate-nutui-taro-vue.cjs",
"generate:types": "rimraf ./dist/types && node jd/generate-types.cjs",
"generate:types:taro": "rimraf ./dist/types && node jd/generate-types-taro.cjs",
"generate:themes": "node jd/generate-themes.cjs",
"prepare": "husky install",
"test": "jest",
"release": "standard-version -a",
"codeformat": "prettier --write .",
"copydocs": "node ./jd/copymd.cjs",
"createTaroConfig": "node ./jd/generate-taro-route.cjs",
"attrs:taro": "node ./jd/createAttributes.cjs taro",
"attrs": "node ./jd/createAttributes.cjs",
"dts": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.json && npm run generate:types",
"dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.taro.json && npm run generate:types:taro",
"copy:h5": "node ./jd/copyh5.cjs",
"copy:taro": "node ./jd/copytaro.cjs"
},
"standard-version": {
"scripts": {
"postchangelog": "node ./jd/updateChangelog.js"
}
},
"dependencies": {
"@nutui/icons-vue": "^0.0.26",
"@nutui/icons-vue-taro": "^0.0.9",
"@tarojs/components": "3.5.6",
"sass": "^1.50.0",
"vue-router": "^4.0.12"
},
"devDependencies": {
"@commitlint/cli": "^10.0.0",
"@commitlint/config-conventional": "^10.0.0",
"@tarojs/cli": "3.5.6",
"@tarojs/mini-runner": "3.5.6",
"@tarojs/plugin-framework-vue3": "3.5.6",
"@tarojs/plugin-html": "3.5.6",
"@tarojs/plugin-platform-weapp": "3.5.6",
"@tarojs/runtime": "3.5.6",
"@tarojs/taro": "3.5.6",
"@tarojs/webpack5-runner": "3.5.6",
"@types/jest": "^26.0.22",
"@types/node": "^17.0.16",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/compiler-dom": "^3.2.45",
"@vue/compiler-sfc": "^3.2.45",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"@vue/test-utils": "^2.0.0-rc.18",
"autoprefixer": "^10.3.4",
"axios": "^0.21.0",
"babel-preset-taro": "3.5.6",
"codesandbox": "^2.2.3",
"eslint": "^7.23.2",
"eslint-config-taro": "3.5.6",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.8.0",
"eslint-visitor-keys": "2",
"fs-extra": "^9.1.0",
"highlight.js": "^10.3.1",
"husky": "^6.0.0",
"inquirer": "^8.2.0",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.4.0",
"lint-staged": "^10.5.0",
"lzutf8": "0.6.0",
"markdown-it": "^13.0.1",
"markdown-it-container": "^3.0.0",
"prettier": "^2.0.0",
"remark-codesandbox": "^0.10.1",
"rimraf": "^3.0.2",
"rollup-plugin-visualizer": "^5.8.3",
"standard-version": "^9.3.0",
"swiper": "6.5.1",
"transliteration": "^2.2.0",
"ts-jest": "^26.5.5",
"typescript": "^4.9.3",
"unplugin-vue-components": "^0.23.0",
"vite": "^4.0.0",
"vite-plugin-md": "^0.21.5",
"vscode": "^1.1.37",
"vue": "^3.2.24",
"vue-jest": "^5.0.0-alpha.7",
"vue-tsc": "^1.0.9",
"webpack": "^5.69.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"vue/no-unused-components": "off",
"no-debugger": "off"
}
},
"engines": {
"node": ">= 16.0.0",
"pnpm": ">= 7.0.0"
},
"lint-staged": {
"*.md": "prettier --write",
"*.{ts,tsx,js,vue,scss}": "prettier --write"
},
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui.git"
}
}