-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
163 lines (163 loc) · 4.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
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
159
160
161
162
163
{
"name": "rong-react",
"version": "0.1.3",
"main": "dist/index.js",
"description": "Modern CSS in JS UI library for React.js",
"module": "es/index.js",
"types": "dist/components/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/TingzhouJia/Rong"
},
"license": "MIT",
"author": {
"name": "Tingzhou Jia"
},
"keywords": [
"react",
"ui",
"styled-component"
],
"files": [
"/dist"
],
"engines": {
"node": ">=10.13.0",
"npm": ">=5.7.0"
},
"lint-staged": {
"*.{js.jsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"components/**/*.less": [
"stylelint --syntax less --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"scripts": {
"dev": "webpack-dev-server --config scripts/webpack.dev.config.js --progress",
"clean": "rimraf dist lib es",
"stylelint": "stylelint 'components/**/*.less'",
"stylelint:fix": "stylelint 'components/**/*.less' --syntax less --fix",
"eslint": "eslint ./components",
"eslint:fix": "eslint ./components --fix",
"lint": "prettier --write \"components/**/*.js\" && npm run eslint:fix && npm run stylelint:fix",
"test": "jest --watch",
"clear": "rm -rf ./dist",
"build:webpack": "webpack --config scripts/webpack.config.js",
"build:types": "tsc ",
"build": "npm run clear && npm run build:webpack && npm run build:types",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"styled-components": "^5.2.0",
"@ant-design/icons": "^4.2.2"
},
"devDependencies": {
"@ant-design/icons": "^4.2.2",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@storybook/addon-actions": "^6.0.28",
"@storybook/addon-essentials": "^6.0.28",
"@storybook/addon-info": "^5.0.10",
"@storybook/addon-knobs": "^5.0.10",
"@storybook/addon-links": "^6.0.28",
"@storybook/addon-notes": "^5.0.10",
"@storybook/addon-storysource": "^6.0.28",
"@storybook/react": "^6.0.28",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^24.9.1",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-test-renderer": "^16.9.3",
"@types/storybook-readme": "^5.0.4",
"@types/styled-components": "^5.1.3",
"babel-loader": "^8.1.0",
"babel-plugin-styled-components": "^1.11.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"cache-loader": "^4.1.0",
"chai": "^4.2.0",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"fs-extra": "^9.0.1",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-babel": "^8.0.0",
"gulp-cssnano": "^2.1.3",
"gulp-less": "^4.0.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-styled-components": "^7.0.3",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"lint-staged": "^9.4.2",
"mocha": "^8.2.0",
"node-sass": "^4.13.0",
"postcss-loader": "^3.0.0",
"pre-commit": "^1.2.2",
"prettier": "^1.18.2",
"progress-bar-webpack-plugin": "^1.12.1",
"rc-util": "^5.4.0",
"react-is": "^17.0.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^3.0.0",
"sass-loader": "^8.0.0",
"sass-resources-loader": "^2.0.1",
"storybook": "^6.0.22",
"storybook-dark-mode": "^1.0.3",
"storybook-readme": "^5.0.3",
"storycap": "2.3.2",
"style-loader": "^1.0.0",
"styled-components": "^5.2.0",
"stylelint": "^11.1.1",
"stylelint-config-standard": "^19.0.0",
"ts-jest": "^24.3.0",
"ts-loader": "^8.0.4",
"typescript": "~3.7.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^2.2.0",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}