-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
139 lines (139 loc) · 4.13 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
{
"name": "@nutui/nutui-bingo",
"version": "1.0.7",
"description": "nutui生态之一抽奖组件库",
"main": "dist/nutbig.umd.js",
"module": "dist/nutbig.es.js",
"style": "dist/style.css",
"typings": "dist/index.d.ts",
"keywords": [
"nutui",
"nutui3",
"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 && vite --open --force",
"dev:taro:weapp": "npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:weapp",
"dev:taro:h5": "npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:h5",
"build:site": "npm run checked && vite build",
"build:gh-pages": "npm run checked && vite build --base=/nutui-bingo/",
"build:site:oss": "npm run checked && vite build --base=/nutui/nutui-bingo/bingo/",
"build": "npm run checked && vite build --config vite.config.build.ts && npm run generate:types && npm run generate:themes",
"build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && npm run generate:types && npm run generate:themes",
"build:disperse": "vite build --config vite.config.build.disperse.ts",
"serve": "vite preview",
"upload": "yarn build:site:oss && node ./jd/upload.js",
"add": "node jd/createComponentMode.js",
"publish:beta": "npm publish",
"publish": "npm publish",
"generate:file": "node jd/generate-nutui.js",
"generate:file:taro:vue": "node jd/generate-nutui-taro-vue.js",
"generate:types": "node jd/generate-types.js",
"generate:themes": "node jd/generate-themes.js",
"prepare": "husky install",
"test": "jest",
"release": "standard-version -a",
"copytaro": "node jd/copyDistToTaro.js"
},
"standard-version": {
"scripts": {
"postchangelog": "node ./jd/updateChangelog.js"
}
},
"dependencies": {
"@nutui/nutui": "^3.1.18",
"sass": "^1.34.0",
"vconsole": "^3.9.4",
"vue": "^3.0.5",
"vue-router": "^4.0.4"
},
"devDependencies": {
"@commitlint/cli": "^10.0.0",
"@commitlint/config-conventional": "^10.0.0",
"@tarojs/taro": "^3.4.0",
"@types/jest": "^26.0.22",
"@types/node": "^17.0.16",
"@types/pinyin": "^2.8.3",
"@types/swiper": "^5.4.3",
"@vitejs/plugin-legacy": "^1.4.0",
"@vitejs/plugin-vue": "^1.2.2",
"@vue/compiler-sfc": "^3.0.11",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^5.0.2",
"@vue/test-utils": "^2.0.0-rc.6",
"autoprefixer": "^10.4.0",
"axios": "^0.21.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^7.0.0-0",
"front-matter": "^4.0.2",
"fs-extra": "^9.1.0",
"highlight.js": "^10.3.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.0",
"lzutf8": "^0.6.0",
"markdown-it-container": "^3.0.0",
"pinyin": "^2.10.2",
"prettier": "^2.0.0",
"remark-codesandbox": "^0.10.1",
"standard-version": "^9.3.0",
"swiper": "^6.5.1",
"transliteration": "^2.2.0",
"ts-jest": "^26.5.5",
"typescript": "^4.1.5",
"vite": "^2.3.4",
"vite-plugin-md": "^0.6.7",
"vue-jest": "^5.0.0-alpha.7"
},
"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"
}
},
"lint-staged": {
"*.md": "prettier --write",
"*.{ts,tsx,js,vue,scss}": "prettier --write"
},
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui-bingo.git"
}
}