init project
Showing
.idea/.gitignore
0 → 100644
.idea/antd-demo-ts.iml
0 → 100644
.idea/misc.xml
0 → 100644
.idea/modules.xml
0 → 100644
.idea/vcs.xml
0 → 100644
craco.config.js
0 → 100644
... | @@ -3,6 +3,7 @@ | ... | @@ -3,6 +3,7 @@ |
"version": "0.1.0", | "version": "0.1.0", | ||
"private": true, | "private": true, | ||
"dependencies": { | "dependencies": { | ||
"@craco/craco": "^5.7.0", | |||
"@testing-library/jest-dom": "^5.11.4", | "@testing-library/jest-dom": "^5.11.4", | ||
"@testing-library/react": "^11.1.0", | "@testing-library/react": "^11.1.0", | ||
"@testing-library/user-event": "^12.1.10", | "@testing-library/user-event": "^12.1.10", | ||
... | @@ -10,6 +11,8 @@ | ... | @@ -10,6 +11,8 @@ |
"@types/node": "^12.0.0", | "@types/node": "^12.0.0", | ||
"@types/react": "^16.9.53", | "@types/react": "^16.9.53", | ||
"@types/react-dom": "^16.9.8", | "@types/react-dom": "^16.9.8", | ||
"antd": "^4.8.0", | |||
"craco-less": "^1.17.0", | |||
"react": "^17.0.1", | "react": "^17.0.1", | ||
"react-dom": "^17.0.1", | "react-dom": "^17.0.1", | ||
"react-scripts": "4.0.0", | "react-scripts": "4.0.0", | ||
... | @@ -17,9 +20,12 @@ | ... | @@ -17,9 +20,12 @@ |
"web-vitals": "^0.2.4" | "web-vitals": "^0.2.4" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"start": "react-scripts start", | "start": "craco start", | ||
"build": "react-scripts build", | "build": "craco build", | ||
"test": "react-scripts test", | "test": "craco test", | ||
"start1": "react-scripts start", | |||
"build1": "react-scripts build", | |||
"test1": "react-scripts test", | |||
"eject": "react-scripts eject" | "eject": "react-scripts eject" | ||
}, | }, | ||
"eslintConfig": { | "eslintConfig": { | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment