Commit 8d83d7ea authored by liujianghai's avatar liujianghai

init proj

parent 47287f3e
SKIP_PREFLIGHT_CHECK=true
GENERATE_SOURCEMAP=false
EXTEND_ESLINT=true
\ No newline at end of file
{
"extends": "react-app",
"rules":{
"react-hooks/exhaustive-deps":"off"
}
}
\ No newline at end of file
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
# production # production
/build /build
# dev
.idea
.vscode
# misc # misc
.DS_Store .DS_Store
.env.local .env.local
......
module.exports = {
printWidth: 100,
parser: "flow",
singleQuote: true,
arrowParens: 'always',
};
\ No newline at end of file
{
"compilerOptions": {
"baseUrl": "src"
},
"include": ["src"]
}
\ No newline at end of file
...@@ -3,12 +3,30 @@ ...@@ -3,12 +3,30 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@rematch/core": "^1.4.0",
"@rematch/persist": "^1.1.6",
"@testing-library/jest-dom": "^4.2.4", "@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2", "@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2", "@testing-library/user-event": "^7.1.2",
"axios": "^0.19.2",
"get-value": "^3.0.1",
"husky": "^4.2.5",
"lint-staged": "^10.1.7",
"node-sass": "^4.13.1",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"react-scripts": "3.4.1" "react-redux": "^7.2.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.1",
"redux": "^4.0.5",
"redux-persist": "^6.0.0"
},
"homepage": ".",
"lint-staged": {
"src/**/*.{js,jsx}": [
"prettier --write"
]
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
...@@ -30,5 +48,14 @@ ...@@ -30,5 +48,14 @@
"last 1 firefox version", "last 1 firefox version",
"last 1 safari version" "last 1 safari version"
] ]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"eslint-config-react-app": "^5.2.1",
"prettier": "^2.0.5"
} }
} }
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment