first commit
parents
Showing
.editorconfig
0 → 100644
.env
0 → 100644
.eslintrc
0 → 100644
.gitignore
0 → 100644
.prettierignore
0 → 100644
.prettierrc
0 → 100644
.umirc.js
0 → 100644
mock/.gitkeep
0 → 100644
package.json
0 → 100644
{ | |||
"private": true, | |||
"scripts": { | |||
"start": "umi dev", | |||
"build": "umi build", | |||
"test": "umi test", | |||
"lint": "eslint --ext .js src mock tests", | |||
"precommit": "lint-staged" | |||
}, | |||
"dependencies": { | |||
"dva-logger": "^1.0.0", | |||
"less": "^3.9.0", | |||
"less-loader": "^5.0.0", | |||
"react": "^16.8.6", | |||
"react-dom": "^16.8.6", | |||
"styled-components": "^4.3.2" | |||
}, | |||
"devDependencies": { | |||
"babel-eslint": "^9.0.0", | |||
"eslint": "^5.4.0", | |||
"eslint-config-umi": "^1.4.0", | |||
"eslint-plugin-flowtype": "^2.50.0", | |||
"eslint-plugin-import": "^2.14.0", | |||
"eslint-plugin-jsx-a11y": "^5.1.1", | |||
"eslint-plugin-react": "^7.11.1", | |||
"husky": "^0.14.3", | |||
"lint-staged": "^7.2.2", | |||
"react-test-renderer": "^16.7.0", | |||
"umi": "^2.7.7", | |||
"umi-plugin-react": "^1.9.10" | |||
}, | |||
"lint-staged": { | |||
"*.{js,jsx}": [ | |||
"eslint --fix", | |||
"git add" | |||
] | |||
}, | |||
"engines": { | |||
"node": ">=8.0.0" | |||
} | |||
} |
src/app.js
0 → 100644
src/assets/global.less
0 → 100644
src/assets/yay.jpg
0 → 100644
177 KB
src/component/box.js
0 → 100644
src/global.css
0 → 100644
src/layouts/index.css
0 → 100644
src/layouts/index.js
0 → 100644
src/models/g.js
0 → 100644
src/pages/index.js
0 → 100644
src/pages/index.less
0 → 100644
webpack.config.js
0 → 100644