|
1 | 1 | { |
2 | 2 | "dependencies": { |
| 3 | + "@babel/plugin-proposal-decorators": "^7.4.4", |
| 4 | + "@babel/plugin-syntax-jsx": "^7.2.0", |
| 5 | + "babel-eslint": "^10.0.2", |
| 6 | + "eslint": "^6.1.0", |
| 7 | + "eslint-config-airbnb-base": "^14.0.0", |
| 8 | + "eslint-config-prettier": "^6.0.0", |
| 9 | + "eslint-plugin-import": "^2.18.2", |
| 10 | + "eslint-plugin-prettier": "^3.1.0", |
3 | 11 | "lerna": "3.11.0", |
4 | 12 | "prettier": "^1.14.3", |
5 | | - "pretty-quick": "^1.8.0" |
| 13 | + "pretty-quick": "^1.11.1" |
6 | 14 | }, |
7 | 15 | "private": true, |
8 | 16 | "scripts": { |
| 17 | + "postinstall": "npm run bootstrap", |
9 | 18 | "bootstrap": "lerna bootstrap", |
10 | | - "setup": "npm install && npm run bootstrap && npm run build:uikit", |
| 19 | + "setup": "npm install && npm run build:uikit", |
11 | 20 | "build:uikit": "cd packages/uikit-workshop && npm run build", |
12 | 21 | "precommit": "pretty-quick --staged", |
13 | | - "prettier": "prettier --config .prettierrc --write ./**/*.js --ignore-path .prettierignore", |
| 22 | + "lint:fix": "npm run lint -- --fix", |
| 23 | + "lint": "eslint --max-warnings 0 './packages/{core,cli,uikit-workshop}/**/*.js ' --ignore-path .eslintignore", |
14 | 24 | "test": "lerna run test", |
15 | 25 | "clean": "git clean -dfx" |
16 | 26 | }, |
|
0 commit comments