|
1 | 1 | { |
2 | 2 | "name": "react-asado", |
3 | | - "version": "0.2.3", |
| 3 | + "version": "0.2.4", |
4 | 4 | "license": "MIT", |
5 | 5 | "dependencies": { |
6 | | - "react": "^16.5.0", |
7 | | - "react-dom": "^16.5.0", |
8 | | - "react-scripts": "1.1.5" |
| 6 | + "react": "^16.8.1", |
| 7 | + "react-dom": "^16.8.1", |
| 8 | + "react-scripts": "2.1.3" |
9 | 9 | }, |
10 | 10 | "scripts": { |
11 | 11 | "start": "react-scripts start", |
12 | 12 | "build": "react-scripts build", |
13 | | - "test": "react-scripts test --env=jsdom", |
| 13 | + "test": "jest", |
14 | 14 | "eject": "react-scripts eject" |
15 | 15 | }, |
| 16 | + "eslintConfig": { |
| 17 | + "extends": [ |
| 18 | + "standard", |
| 19 | + "standard-react" |
| 20 | + ], |
| 21 | + "plugins": [ |
| 22 | + "jest" |
| 23 | + ], |
| 24 | + "env": { |
| 25 | + "jest": true |
| 26 | + } |
| 27 | + }, |
| 28 | + "jest": { |
| 29 | + "moduleNameMapper": { |
| 30 | + "\\.(css|jpg|png)$": "<rootDir>/__mocks__/styleMock.js" |
| 31 | + } |
| 32 | + }, |
| 33 | + "browserslist": [ |
| 34 | + ">0.2%", |
| 35 | + "not dead", |
| 36 | + "not ie <= 11", |
| 37 | + "not op_mini all" |
| 38 | + ], |
16 | 39 | "devDependencies": { |
17 | | - "eslint": "^4.19.1", |
18 | | - "eslint-plugin-react": "^7.11.1", |
19 | | - "eslint-config-airbnb": "^17.1.0", |
20 | | - "eslint-plugin-import": "^2.14.0", |
21 | | - "eslint-plugin-jsx-a11y": "^6.1.1" |
| 40 | + "@babel/core": "^7.2.2", |
| 41 | + "@babel/plugin-proposal-class-properties": "^7.3.0", |
| 42 | + "@babel/preset-env": "^7.3.1", |
| 43 | + "@babel/preset-react": "^7.0.0", |
| 44 | + "babel-jest": "^24.1.0", |
| 45 | + "enzyme": "^3.8.0", |
| 46 | + "enzyme-adapter-react-16": "^1.9.1", |
| 47 | + "enzyme-to-json": "^3.3.5", |
| 48 | + "eslint-config-standard": "^12.0.0", |
| 49 | + "eslint-config-standard-react": "^7.0.2", |
| 50 | + "eslint-plugin-import": "^2.16.0", |
| 51 | + "eslint-plugin-jest": "^22.2.2", |
| 52 | + "eslint-plugin-node": "^8.0.1", |
| 53 | + "eslint-plugin-promise": "^4.0.1", |
| 54 | + "eslint-plugin-react": "^7.12.4", |
| 55 | + "eslint-plugin-standard": "^4.0.0", |
| 56 | + "jest": "^24.1.0", |
| 57 | + "jsdom": "^13.2.0" |
22 | 58 | } |
23 | 59 | } |
0 commit comments