-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
80 lines (80 loc) · 2.53 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
{
"name": "frontend-c-comps",
"version": "0.0.1",
"description": "components",
"main": "index.js",
"scripts": {
"dev": "vite serve --mode development --config build/vite/vite.config.ts",
"taro-dev": "cd packages/taro-demo && npm run dev:h5",
"build:vite": "vite build --mode production --config build/vite/vite.config.ts",
"build:prod": "sh ./scripts/build.sh",
"build": "npm run build:rollup && npm run build:ts",
"build:rollup": "rimraf dist && NODE_ENV=production rollup -c build/rollup/rollup.config.base.js",
"build:ts": "tsc --project build/tsconfig/tsconfig.d.json",
"dev:lib": "tsc --project build/tsconfig/tsconfig.d.json --watch --incremental",
"dev:watch": "NODE_ENV=development rollup --config build/rollup/rollup.config.dev.js --watch",
"preview": "vite preview --config build/vite/vite.config.ts"
},
"repository": {
"type": "git",
"url": "https://coding.jd.com/selling-front/frontend-c-comps.git"
},
"keywords": [
"taro"
],
"author": "hawleyHuo",
"license": "ISC",
"dependencies": {
"antd": "^4.18.7",
"eventemitter3": "^4.0.7",
"react-router-dom": "^6.2.1",
"unified": "^10.1.2"
},
"devDependencies": {
"@jd-antelope/commitlint-config-selling": "^0.0.3",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@tarojs/components": "^3.4.2",
"@tarojs/react": "^3.4.2",
"@tarojs/runtime": "^3.4.2",
"@tarojs/taro": "^3.4.2",
"@types/node": "^17.0.18",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^1.0.7",
"@vitejs/plugin-react-refresh": "^1.3.6",
"classnames": "^2.3.1",
"fs-extra": "^10.0.1",
"globby": "^11.0.4",
"husky": "^4.2.3",
"less": "^4.1.2",
"lint-staged": "11",
"node-watch": "^0.7.3",
"postcss-pxtorem": "^6.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-markdown": "^8.0.0",
"react-syntax-highlighter": "^15.4.5",
"remark-gfm": "^3.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.68.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-typescript2": "^0.31.2",
"rollup-plugin-uglify": "^6.0.4",
"rollup-plugin-watch": "^1.0.1",
"stylelint-config-selling": "0.0.3",
"tslib": "^2.3.1",
"typescript": "^4.5.5",
"vite": "^2.8.6"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,vue}": [
"eslint --fix"
],
"*.less": [
"stylelint --config ./.stylelintrc --fix"
]
}
}