-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
105 lines (105 loc) · 3.61 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
{
"name": "cloud-react",
"version": "1.0.0-17",
"description": "数据赢家 react 组件",
"license": "MIT",
"scripts": {
"gen:index": "node ./scripts/generate-index.js",
"gen:doc": "node ./scripts/generate-doc.js",
"start": "rimraf dist/* && father-build --dev && dumi dev",
"site": "npm run gen:index && father-build --dev && dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "rimraf dist/* && father-build && node ./scripts/pre-publish.js",
"watch": "rimraf dist/* && father-build --watch",
"deploy": "npm run docs:build && npm run docs:deploy",
"release": "npm run build && npm publish",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"postversion": "dumi assets",
"lint": "eslint ./src/components --ext .js,.jsx",
"umi-lint": "umi-lint --eslint.ext='.js,jsx' ./src/components",
"new:component": "cp -r tpls/new-component src/components/new-component",
"cli-version": "node ./scripts/generate-version.js"
},
"dumiAssets": "assets.json",
"main": "dist/cloud-react.js",
"source": "src/components/index.js",
"jest": {
"moduleNameMapper": {
"^@utils(.*)$": "<rootDir>/src/utils$1",
"^@contexts(.*)$": "<rootDir>/src/contexts$1",
"^@tests(.*)$": "<rootDir>/tests$1"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"classnames": "^2.3.1",
"gray-matter": "^4.0.3",
"gridmanager-react": "1.10.2-0",
"less": "^3.13.1",
"prop-types": "^15.7.2",
"react": "16.12.0",
"react-dom": "16.12.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-eslint": "^7.0.0",
"shuyun-utils": "0.0.3"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/eslint-parser": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-export-namespace-from": "^7.14.5",
"@babel/plugin-proposal-function-sent": "^7.14.5",
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
"@babel/plugin-proposal-throw-expressions": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/runtime": "^7.15.3",
"@rollup/plugin-alias": "^3.1.5",
"@rollup/plugin-url": "^6.1.0",
"@umijs/test": "^3.0.5",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"cross-env": "^7.0.3",
"dumi": "^1.0.14",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.24.0",
"eslint-webpack-plugin": "^3.0.1",
"father-build": "^1.17.2",
"gh-pages": "^3.0.0",
"glob": "^7.1.7",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.6",
"jest-environment-jsdom": "^27.0.6",
"jest-transform-css": "2.0.0",
"lint-staged": "^10.0.7",
"markdown-it": "^12.2.0",
"postcss-font-base64": "^1.0.5",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup-plugin-postcss": "^4.0.1",
"umi-lint": "^2.0.2",
"yargs": "^17.1.1"
}
}