forked from jd-opensource/nutui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 5.35 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
{
"name": "@nutui/nutui",
"version": "4.3.12",
"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 && 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",
"lint:fix": "pnpm lint --fix",
"lint:ui": "pnpm eslint-config-inspector",
"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.h5.json && pnpm generate:types",
"dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.taro.json && pnpm generate:types:taro",
"copy:h5": "node ./scripts/copyh5.cjs",
"copy:taro": "node ./scripts/copytaro.cjs",
"copy:info": "node ./scripts/copy-dist.cjs nutui && node ./scripts/copy-dist.cjs nutui-taro",
"changelog": "node ./scripts/generate-changelog.cjs",
"gen:setup": "node ./scripts/generate-script-setup.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.77.6",
"vue-router": "^4.4.0"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/config-inspector": "^0.5.1",
"@eslint/eslintrc": "^3.1.0",
"@nutui/eslint-config": "workspace:*",
"@nutui/prettier-plugin": "workspace:*",
"@nutui/vite-plugins": "workspace:*",
"@tarojs/taro": "3.6.34",
"@types/node": "^20.14.9",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"@vitest/coverage-istanbul": "^2.0.1",
"@vitest/coverage-v8": "^2.0.1",
"@vitest/ui": "^2.0.1",
"@vue/test-utils": "^2.4.6",
"autoprefixer": "^10.4.19",
"codesandbox": "^2.2.3",
"eslint": "^9.6.0",
"eslint-config-flat-gitignore": "^0.1.5",
"fs-extra": "^11.2.0",
"happy-dom": "^14.12.3",
"husky": "^9.0.11",
"inquirer": "^10.0.1",
"lzutf8": "^0.6.3",
"markdown-it": "^14.1.0",
"nano-staged": "^0.8.0",
"prettier": "^3.3.2",
"rimraf": "^6.0.0",
"typescript": "^5.4.5",
"unplugin-vue-components": "^0.27.2",
"vite": "^5.3.2",
"vite-plugin-vue-devtools": "^7.2.1",
"vitest": "^2.0.1",
"vitest-canvas-mock": "^0.3.3",
"vue": "^3.4.31",
"vue-tsc": "^1.8.27"
},
"engines": {
"node": "^18.0.0 || >=20.0.0",
"pnpm": ">= 9.0.0"
},
"nano-staged": {
"*.{css,scss,md}": "prettier --write",
"*.{ts,tsx,js,jsx,vue}": "eslint --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui.git"
},
"resolutions": {
"@typescript-eslint/utils": "^8.0.0-alpha.16"
}
}