forked from jd-opensource/nutui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.97 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
{
"name": "@nutui/nutui",
"version": "4.1.6",
"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:taro:weapp": "pnpm --dir ./packages/nutui-taro-demo dev:weapp",
"dev:taro:alipay": "pnpm --dir ./packages/nutui-taro-demo dev:alipay",
"dev:taro:jd": "pnpm --dir ./packages/nutui-taro-demo dev:jd",
"dev:taro:h5": "pnpm --dir ./packages/nutui-taro-demo dev:h5",
"dev:taro:tt": "pnpm --dir ./packages/nutui-taro-demo dev:tt",
"build:taro:h5": "pnpm --dir ./packages/nutui-taro-demo build:h5",
"build:taro:weapp": "pnpm --dir ./packages/nutui-taro-demo build:weapp",
"build:site": "vite build",
"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:vue": "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 --ext .vue,.ts,.tsx,.js,.jsx src/",
"lint:fix": "pnpm lint --fix",
"copydocs": "node ./scripts/copymd.cjs",
"attrs:taro": "node ./scripts/createAttributes.cjs taro",
"attrs": "node ./scripts/createAttributes.cjs",
"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.66.1",
"vue-router": "^4.2.4"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@nutui/eslint-config": "workspace:*",
"@tarojs/taro": "3.6.14",
"@types/node": "^18.17.14",
"@vitejs/plugin-vue": "^4.3.4",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"@vitest/coverage-v8": "^0.34.3",
"@vitest/ui": "^0.34.3",
"@vue/test-utils": "^2.4.1",
"autoprefixer": "^10.4.15",
"codesandbox": "^2.2.3",
"eslint": "^8.48.0",
"fs-extra": "^11.1.1",
"highlight.js": "^11.8.0",
"husky": "^8.0.3",
"inquirer": "^9.2.10",
"lint-staged": "^14.0.1",
"lzutf8": "^0.6.3",
"markdown-it": "^13.0.1",
"markdown-it-container": "^3.0.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"typescript": "^5.2.2",
"unplugin-vue-components": "^0.25.2",
"unplugin-vue-markdown": "^0.24.3",
"vite": "^4.4.9",
"vitest": "^0.34.3",
"vue": "^3.3.4",
"vue-tsc": "^1.8.8"
},
"engines": {
"pnpm": ">= 8.0.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,vue,scss,md}": "prettier --write",
"src/**/*.{ts,tsx,js,jsx,vue}": "eslint --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui.git"
}
}