|
14 | 14 | "prettier_check_popup": "prettier --check src/**/*.{js,jsx}",
|
15 | 15 | "prettier_check_option": "prettier --check src/**/*.{js,jsx}",
|
16 | 16 | "prettier_check_content": "prettier --check src/**/*.{js,jsx}",
|
17 |
| - "test": "yarn prettier_check_src && yarn prettier_check_popup && yarn prettier_check_option && yarn prettier_check_content && yarn build" |
| 17 | + "lint": "eslint", |
| 18 | + "lint:fix": "eslint --fix" |
18 | 19 | },
|
19 | 20 | "husky": {
|
20 | 21 | "hooks": {
|
21 |
| - "pre-commit": "pretty-quick --staged" |
| 22 | + "pre-commit": "npm run build" |
22 | 23 | }
|
23 | 24 | },
|
24 | 25 | "keywords": [],
|
|
34 | 35 | "@babel/preset-react": "^7.0.0",
|
35 | 36 | "babel-loader": "^8.0.6",
|
36 | 37 | "copy-webpack-plugin": "^5.0.4",
|
| 38 | + "css-loader": "^4.3.0", |
37 | 39 | "dotenv": "^8.2.0",
|
38 | 40 | "file-loader": "^4.2.0",
|
39 | 41 | "gh-pages": "^2.1.1",
|
|
43 | 45 | "prettier": "1.18.2",
|
44 | 46 | "pretty-quick": "^2.0.0",
|
45 | 47 | "react-hot-loader": "^4.12.10",
|
| 48 | + "style-loader": "^1.2.1", |
46 | 49 | "webpack": "^4.39.1",
|
47 | 50 | "webpack-cli": "^3.3.6",
|
| 51 | + "babel-eslint": "^10.1.0", |
| 52 | + "eslint": "^7.6.0", |
| 53 | + "eslint-loader": "^4.0.2", |
| 54 | + "eslint-plugin-react": "^7.20.5", |
| 55 | + "eslint-watch": "^7.0.0", |
48 | 56 | "webpack-dev-server": "^3.7.2"
|
49 | 57 | },
|
50 | 58 | "dependencies": {
|
|
53 | 61 | "@material-ui/core": "^4.3.3",
|
54 | 62 | "@material-ui/icons": "^4.2.1",
|
55 | 63 | "react": "^16.8.6",
|
56 |
| - "react-dom": "^16.8.6" |
| 64 | + "react-dom": "^16.8.6", |
| 65 | + "react-frame-component": "^4.1.3" |
57 | 66 | }
|
58 | 67 | }
|
0 commit comments