forked from jd-opensource/nutui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 4.92 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
{
"name": "@nutui/nutui",
"version": "4.2.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": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install && node scripts/generate-nutui.cjs && node scripts/generate-nutui-taro-vue.cjs && node ./scripts/generate-taro-route.cjs",
"dev": "vite --open --force",
"dev:h5": "pnpm --dir ./packages/nutui-taro-demo dev h5",
"dev:weapp": "pnpm --dir ./packages/nutui-taro-demo dev weapp",
"dev:taro": "pnpm --dir ./packages/nutui-taro-demo dev",
"build:demo": "vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.json && vite build",
"build:h5": "pnpm --dir ./packages/nutui-taro-demo build h5",
"build:weapp": "pnpm --dir ./packages/nutui-taro-demo build weapp",
"build": "vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && pnpm 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 && pnpm dts && pnpm attrs && node scripts/generate-unplugin-deps.cjs nutui && node scripts/copy-dist.cjs nutui",
"build:taro": "vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && pnpm generate:themes:taro && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && pnpm dts:taro && pnpm attrs:taro && node scripts/generate-unplugin-deps.cjs nutui-taro && node scripts/copy-dist.cjs nutui-taro",
"add": "node scripts/createComponentMode.js",
"generate:types": "rimraf ./dist/types && node scripts/generate-types.cjs",
"generate:types:taro": "rimraf ./dist/types && node scripts/generate-types-taro.cjs",
"generate:themes": "node scripts/generate-themes.cjs",
"generate:themes:taro": "node scripts/generate-themes.cjs taro",
"test": "vitest",
"test:ui": "vitest --ui --coverage",
"test:c": "vitest --coverage",
"lint": "eslint ./src ./packages/**/src --ext .vue,.ts,.tsx,.js,.jsx",
"lint:fix": "pnpm lint --fix",
"copydocs": "node ./scripts/copymd.cjs",
"attrs": "node ./scripts/createAttributes.cjs",
"attrs:taro": "node ./scripts/createAttributes.cjs taro",
"dts": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.json && pnpm generate:types",
"dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.taro.json && pnpm generate:types:taro",
"copy:h5": "node ./scripts/copyh5.cjs",
"copy:taro": "node ./scripts/copytaro.cjs",
"changelog": "node ./scripts/generate-changelog.cjs",
"publish:h5:beta": "pnpm --dir ./publish/nutui publish:beta",
"publish:taro:beta": "pnpm --dir ./publish/nutui-taro publish:beta"
},
"dependencies": {
"@nutui/icons-vue": "^0.1.1",
"@nutui/icons-vue-taro": "^0.0.9",
"@nutui/touch-emulator": "workspace:^",
"sass": "^1.69.5",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@nutui/eslint-config": "workspace:*",
"@nutui/prettier-plugin": "workspace:*",
"@nutui/vite-plugins": "workspace:*",
"@tarojs/taro": "3.6.19",
"@types/node": "^18.19.3",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vitest/coverage-v8": "^1.0.2",
"@vitest/ui": "^1.0.2",
"@vue/test-utils": "^2.4.3",
"autoprefixer": "^10.4.16",
"codesandbox": "^2.2.3",
"eslint": "^8.55.0",
"fs-extra": "^11.2.0",
"husky": "^8.0.3",
"inquirer": "^9.2.12",
"lint-staged": "^15.2.0",
"lzutf8": "^0.6.3",
"markdown-it": "^14.0.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.7",
"vite-plugin-inspect": "^0.8.1",
"vitest": "^1.0.2",
"vitest-canvas-mock": "^0.3.3",
"vue": "^3.3.11",
"vue-tsc": "^1.8.25"
},
"engines": {
"pnpm": ">= 8.0.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,vue,scss,md}": "prettier --write",
"*.{ts,tsx,js,jsx,vue}": "eslint --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui.git"
}
}