|
15 | 15 | "test:build": "TEST_ENV=PRODUCTION npm run test:unit", |
16 | 16 | "test:e2e": "cd ./e2e-test && npm run test", |
17 | 17 | "test:coverage": "jest --coverage", |
| 18 | + "test:lint": "eslint src --ext js,jsx", |
18 | 19 | "pretest:e2e": "npm pack && cpy cloudinary-react-*.tgz e2e-test --rename=cloudinary-react.tgz", |
19 | 20 | "build": "microbundle --no-compress --sourcemap false --jsx React.createElement --format esm,umd,cjs && npm run bundlewatch", |
20 | 21 | "start": "microbundle watch --no-compress --sourcemap false --jsx React.createElement --format esm,umd,cjs", |
|
35 | 36 | "devDependencies": { |
36 | 37 | "@babel/cli": "^7.2.0", |
37 | 38 | "@babel/core": "^7.2.2", |
| 39 | + "@babel/eslint-parser": "^7.13.4", |
38 | 40 | "@babel/plugin-proposal-class-properties": "^7.8.3", |
39 | 41 | "@babel/plugin-proposal-export-default-from": "^7.2.0", |
40 | 42 | "@babel/preset-env": "^7.2.0", |
|
54 | 56 | "del-cli": "^3.0.0", |
55 | 57 | "enzyme": "^3.10.0", |
56 | 58 | "enzyme-adapter-react-16": "^1.14.0", |
| 59 | + "eslint": "^7.20.0", |
| 60 | + "eslint-config-standard": "^14.1.0", |
| 61 | + "eslint-config-standard-react": "^9.2.0", |
| 62 | + "eslint-plugin-import": "^2.18.2", |
| 63 | + "eslint-plugin-jsx-a11y": "^6.4.1", |
| 64 | + "eslint-plugin-node": "^11.0.0", |
| 65 | + "eslint-plugin-react": "^7.17.0", |
| 66 | + "eslint-plugin-standard": "^4.0.1", |
57 | 67 | "jest": "^26.6.3", |
58 | 68 | "jest-environment-enzyme": "^7.1.2", |
59 | 69 | "jest-enzyme": "^7.1.2", |
|
0 commit comments