|
9 | 9 | "prepublishOnly": "yarn check-snapshots && yarn build && yarn typecheck && yarn lint && yarn format:ci && yarn test", |
10 | 10 | "publish": "lerna publish", |
11 | 11 | "typecheck": "flow check --max-warnings=0", |
| 12 | + "ts-check": "tsc", |
12 | 13 | "lint": "eslint scripts/ packages/ docs/ --ext js,md", |
13 | 14 | "format": "prettier \"*.{js,md,json}\" \"{docs,packages,scripts}/**/*.{js,md,json}\" --write", |
14 | 15 | "format:ci": "yarn format -- --list-different", |
|
18 | 19 | "posttest": "[ -z \"$TRAVIS\" ] || codecov", |
19 | 20 | "codecov": "codecov", |
20 | 21 | "bench": "cross-env BENCHMARK=true karma start --single-run", |
21 | | - "pre-commit": "lint-staged && yarn typecheck" |
| 22 | + "pre-commit": "lint-staged && yarn typecheck && yarn ts-check" |
22 | 23 | }, |
23 | 24 | "lint-staged": { |
24 | | - "**/*.{js,md,json}": [ |
| 25 | + "**/*.{js,md,json,ts}": [ |
25 | 26 | "prettier --write", |
26 | 27 | "git add" |
27 | 28 | ], |
|
31 | 32 | }, |
32 | 33 | "pre-commit": "pre-commit", |
33 | 34 | "engines": { |
34 | | - "node": ">=4" |
| 35 | + "node": ">=8" |
35 | 36 | }, |
36 | 37 | "devDependencies": { |
37 | 38 | "@babel/core": "^7.0.0", |
|
69 | 70 | "eslint": "^5.7.0", |
70 | 71 | "eslint-config-jss": "^5.0.1", |
71 | 72 | "eslint-config-prettier": "^2.9.0", |
72 | | - "eslint-plugin-flowtype": "^2.29.1", |
73 | | - "eslint-plugin-markdown": "^1.0.0-beta.6", |
74 | 73 | "expect.js": "^0.3.1", |
75 | 74 | "flow-bin": "^0.83.0", |
76 | 75 | "json-loader": "^0.5.4", |
|
103 | 102 | "rollup-plugin-uglify": "^4.0.0", |
104 | 103 | "shelljs": "^0.8.2", |
105 | 104 | "sinon": "4.5.0", |
| 105 | + "typescript": "^3.1.3", |
106 | 106 | "webpack": "^2.3.3", |
107 | 107 | "zen-observable": "^0.6.0" |
108 | 108 | } |
|
0 commit comments