forked from zhaoyuuu/violet-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
155 lines (155 loc) · 4.5 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
{
"name": "violet-design",
"version": "0.3.1",
"private": false,
"main": "dist/index.es.js",
"module": "dist/index.es.js",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"license": "MIT",
"keywords": [
"violet",
"component",
"react-components",
"react",
"ts",
"storybook",
"ui-library"
],
"description": "Violet-design is a high quality UI Toolkit built on React.",
"homepage": "https://zhaoyuuu.github.io/violet-design/",
"repository": {
"type": "git",
"url": "https://github.com/zhaoyuuu/violet-design"
},
"files": [
"dist"
],
"sideEffects": [
"dist/index.css"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@storybook/addon-knobs": "^6.4.0",
"async-validator": "^4.2.5",
"axios": "^1.3.1",
"classnames": "^2.3.2",
"dayjs": "^1.8.21",
"immer": "^9.0.19",
"lodash-es": "^4.17.21",
"react-intersection-observer": "^9.4.2",
"react-transition-group": "^4.4.5",
"resize-observer-polyfill": "^1.5.1"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!(lodash|axios))"
]
},
"scripts": {
"start": "react-scripts start",
"clean": "rimraf ./dist",
"build": "npm run clean && npm run build-es && npm run build-umd",
"build-ts": "tsc -p tsconfig.build.json",
"build-css": "node-sass ./src/styles/index.scss ./build/index.css",
"build-es": "rollup --config rollup/rollup.esm.config.js",
"build-umd": "rollup --config rollup/rollup.umd.config.js",
"test": "react-scripts test",
"test:nowatch": "cross-env CI=true react-scripts test",
"lint": "eslint --ext js,ts,tsx src",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"deploy-storybook": "storybook-to-ghpages",
"prepare": "husky install",
"storybook-docs": "start-storybook --docs --no-manager-cache"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-interactions": "^6.5.15",
"@storybook/addon-links": "^6.5.15",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/node-logger": "^6.5.15",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.15",
"@storybook/storybook-deployer": "^2.8.16",
"@storybook/testing-library": "^0.0.13",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/lodash-es": "^4.17.6",
"@types/node": "^16.18.11",
"@types/qs": "^6.9.7",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/react-transition-group": "^4.2.3",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"babel-plugin-named-exports-order": "^0.0.2",
"cross-env": "^7.0.3",
"eslint": "^8.32.0",
"eslint-plugin-react": "^7.32.1",
"eslint-plugin-react-hooks": "^4.6.0",
"fetch-jsonp": "^1.2.3",
"husky": "^8.0.0",
"jest": "^29.4.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.3",
"prop-types": "^15.8.1",
"qs": "^6.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"rimraf": "^4.1.2",
"rollup-plugin-exclude-dependencies-from-bundle": "^1.1.23",
"rollup-plugin-sass": "^1.12.17",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"rollup-plugin-visualizer": "^5.9.0",
"sass": "^1.58.0",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"webpack": "^5.75.0"
}
}