forked from MARKX97/hui-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 5.65 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
{
"name": "@zaihui/hui-design",
"version": "0.0.1",
"description": "小程序组件库",
"templateInfo": {
"name": "mobx",
"typescript": true,
"css": "sass"
},
"files": [
"lib/*"
],
"types": "lib/types/index.d.ts",
"main": "lib/index.js",
"module": "lib/index.js",
"scripts": {
"setup": "yarn install --frozen-lockfile",
"depup": "yarn upgrade-interactive --latest",
"lint:style": "stylelint 'src/**/*.scss' --syntax scss",
"lint:style:fix": "npm run lint:style -- --fix",
"lint:format": "eslint --ext .js,.ts,.tsx ./",
"lint:format:fix": "npm run lint:format -- --fix",
"lint": "npm run type-check && npm run lint:format && npm run lint:style",
"type-check": "tsc --noEmit",
"test": "jest",
"test:ci": "jest --coverage",
"build:weapp": "taro build --type weapp",
"dev:weapp": "npm run build:weapp -- --watch",
"build:h5": "taro build --type h5",
"build:h5:alpha": "cross-env BUILD_ENV=alpha npm run build:h5",
"build:h5:prod": "cross-env BUILD_ENV=prod npm run build:h5",
"dev:h5": "npm run build:h5 -- --watch",
"build:ci": "rimraf ./lib && tsc -p ./tsconfig.build.json && copyfiles -u 1 ./src/{styles,components,widgets,static}/**/*.{scss,png} lib",
"docs:start": "concurrently -k -p \"[{name}]\" -n \"dev:h5,docs:dev\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run dev:h5\" \"npm run docs:dev\"",
"docs:dev": "vuepress dev docs --open",
"docs:build": "vuepress build docs",
"docs:build:alpha": "cross-env BUILD_ENV=alpha npm run docs:build",
"docs:build:prod": "cross-env BUILD_ENV=prod npm run docs:build",
"icon:sync": "node scripts/syncIcon.mjs",
"commit": "npx git-cz",
"release": "standard-version --commit-all",
"prepare": "husky install",
"create-hook": "husky add .husky/commit-msg \"npx --no -- commitlint --edit ${1}\" && husky add .husky/pre-commit \"npx lint-staged\""
},
"repository": {
"type": "git",
"url": "https://github.com/zaihui/hui-design.git"
},
"homepage": "https://github.com/zaihui/hui-design",
"license": "ISC",
"dependencies": {
"classnames": "^2.2.6",
"dayjs": "^1.10.6"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-decorators": "^7.10.1",
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@babel/preset-env": "^7.10.2",
"@babel/preset-typescript": "^7.10.1",
"@babel/runtime": "^7.12.5",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@tarojs/cli": "^3.5.8",
"@tarojs/components": "^3.5.8",
"@tarojs/mini-runner": "^3.5.8",
"@tarojs/plugin-framework-react": "^3.5.8",
"@tarojs/plugin-platform-weapp": "^3.5.8",
"@tarojs/react": "^3.5.8",
"@tarojs/runtime": "^3.5.8",
"@tarojs/taro": "^3.5.8",
"@tarojs/taro-h5": "^3.5.8",
"@tarojs/webpack-runner": "^3.5.8",
"@types/jest": "^26.0.0",
"@types/node": "^14.0.13",
"@types/react": "^18.0.25",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.1",
"@vuepress/plugin-active-header-links": "^1.5.2",
"@zaihui/eslint-config-base": "^2.0.7",
"@zaihui/eslint-plugin-react": "^2.1.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-plugin-auto-import": "^1.0.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-jsx-stylesheet": "^0.6.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-taro": "^3.5.8",
"babel-runtime": "^6.26.0",
"commitizen": "^4.2.1",
"concurrently": "^5.3.0",
"copyfiles": "^2.4.0",
"cross-env": "^7.0.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.2.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-taro": "^3.5.8",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jest": "^23.13.2",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-taro": "^3.3.20",
"eslint-plugin-vue": "^6.2.2",
"husky": "^8.0.1",
"jest": "^26.0.1",
"lint-staged": "^13.2.1",
"mini-css-extract-plugin": "^2.7.2",
"mobx": "^6.7.0",
"mobx-react": "^7.6.0",
"nerv-devtools": "^1.5.7",
"nerv-server": "^1.5.7",
"nerv-test-utils": "^1.5.7",
"nervjs": "^1.5.7",
"node-fetch": "^2.6.0",
"node-sass": "^4.14.1",
"react": "^18.2.0",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^18.2.0",
"react-refresh": "^0.14.0",
"regenerator-runtime": "0.11.1",
"rimraf": "^3.0.2",
"sass-loader": "^10.1.0",
"standard-version": "^9.0.0",
"stylelint": "^13.6.1",
"stylelint-config-recess-order": "^2.0.4",
"stylelint-config-standard": "^20.0.0",
"stylelint-csstree-validator": "^1.9.0",
"stylelint-declaration-use-variable": "^1.7.2",
"stylelint-scss": "^3.18.0",
"stylelint-use-nesting": "^3.0.0",
"typescript": "^3.9.5",
"vuepress": "^1.5.2"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
},
"lint-staged": {
"**/*.scss": "npm run lint:style",
"src/**/*.{js,ts,tsx,json}": [
"npm run lint:format",
"bash -c 'npm run type-check'"
]
},
"standard-version": {
"scripts": {
"postchangelog": "cp CHANGELOG.md docs/introduce/ && git add docs/introduce/CHANGELOG.md"
}
}
}