|
3 | 3 | "version": "0.0.0-semantic-release", |
4 | 4 | "description": "Monaco Editor React component", |
5 | 5 | "scripts": { |
6 | | - "build": "tsc", |
7 | | - "lint": "npx eslint src/**" |
| 6 | + "build": "npm run lint && npm run compile", |
| 7 | + "compile": "tsc", |
| 8 | + "lint": "npx eslint --ext .ts src" |
8 | 9 | }, |
9 | 10 | "repository": { |
10 | 11 | "type": "git", |
|
30 | 31 | "@babel/preset-react": "7.17.12", |
31 | 32 | "@babel/preset-typescript": "7.17.12", |
32 | 33 | "@babel/runtime": "7.18.3", |
| 34 | + "@codingame/eslint-config": "^1.1.2", |
| 35 | + "@codingame/tsconfig": "^1.0.5", |
33 | 36 | "@types/deep-equal": "^1.0.1", |
34 | 37 | "@types/react": "18.0.8", |
35 | 38 | "@typescript-eslint/eslint-plugin": "5.27.1", |
|
43 | 46 | "eslint-plugin-node": "11.1.0", |
44 | 47 | "eslint-plugin-promise": "6.0.0", |
45 | 48 | "eslint-plugin-react": "7.30.0", |
46 | | - "eslint-plugin-react-hooks": "4.5.0", |
47 | | - "eslint-plugin-standard": "5.0.0", |
| 49 | + "eslint-plugin-react-hooks": "^4.5.0", |
48 | 50 | "eslint-plugin-unused-imports": "2.0.0", |
49 | 51 | "typescript": "4.7.3" |
50 | 52 | }, |
|
0 commit comments