|
4 | 4 | "description": "The approach to JavaScript at GoDaddy. We think it's pretty decent.", |
5 | 5 | "scripts": { |
6 | 6 | "lint": "eslint -c .eslintrc.js packages/**/*.js", |
7 | | - "postinstall": "run-p install:config install:config:es5 install:config:react install:config:react-flow", |
| 7 | + "postinstall": "run-p install:config install:config:es5 install:config:flow install:config:react install:config:react-flow install:config:typescript install:config:react-typescript", |
8 | 8 | "install:config": "cd packages/eslint-config-godaddy && npm install", |
9 | 9 | "install:config:es5": "cd packages/eslint-config-godaddy-es5 && npm install", |
| 10 | + "install:config:flow": "cd packages/eslint-config-godaddy-flow && npm install", |
10 | 11 | "install:config:react": "cd packages/eslint-config-godaddy-react && npm install", |
11 | 12 | "install:config:react-flow": "cd packages/eslint-config-godaddy-react-flow && npm install", |
12 | | - "test": "run-p lint test:config test:config:es5 test:config:react test:config:react-flow", |
| 13 | + "install:config:typescript": "cd packages/eslint-config-godaddy-typescript && npm install", |
| 14 | + "install:config:react-typescript": "cd packages/eslint-config-godaddy-react-typescript && npm install", |
| 15 | + "test": "run-p lint test:config test:config:es5 test:config:flow test:config:react test:config:react-flow test:config:typescript test:config:react-typescript", |
13 | 16 | "test:config": "cd packages/eslint-config-godaddy && npm test", |
14 | 17 | "test:config:es5": "cd packages/eslint-config-godaddy-es5 && npm test", |
| 18 | + "test:config:flow": "cd packages/eslint-config-godaddy-flow && npm test", |
15 | 19 | "test:config:react": "cd packages/eslint-config-godaddy-react && npm test", |
16 | 20 | "test:config:react-flow": "cd packages/eslint-config-godaddy-react-flow && npm test", |
| 21 | + "test:config:typescript": "cd packages/eslint-config-godaddy-typescript && npm test", |
| 22 | + "test:config:react-typescript": "cd packages/eslint-config-godaddy-react-typescript && npm test", |
17 | 23 | "prepush": "npm test" |
18 | 24 | }, |
19 | 25 | "prepush": { |
|
28 | 34 | "keywords": [ |
29 | 35 | "godaddy", |
30 | 36 | "javascript", |
| 37 | + "typescript", |
31 | 38 | "lint", |
32 | 39 | "styleguide", |
33 | 40 | "style-guide", |
|
50 | 57 | "godaddy-js-style-eslint": "./bin/eslint" |
51 | 58 | }, |
52 | 59 | "devDependencies": { |
| 60 | + "@typescript-eslint/eslint-plugin": "^2.3.1", |
| 61 | + "@typescript-eslint/parser": "^2.3.1", |
53 | 62 | "babel-eslint": "^10.0.2", |
54 | 63 | "eslint": "^6.0.1", |
55 | 64 | "eslint-find-rules": "^3.3.1", |
|
60 | 69 | "eslint-plugin-mocha": "^5.3.0", |
61 | 70 | "eslint-plugin-react": "^7.14.2", |
62 | 71 | "prepush": "^3.1.11", |
63 | | - "react": "^16.8.6" |
| 72 | + "react": "^16.8.6", |
| 73 | + "typescript": "^3.0" |
64 | 74 | }, |
65 | 75 | "dependencies": { |
66 | 76 | "npm-run-all": "^4.0.2" |
|
0 commit comments