|
25 | 25 | "bin" |
26 | 26 | ], |
27 | 27 | "scripts": { |
28 | | - "lint": "eslint \"./bin/*.js\" \"./test/**/*.js\" \"./packages/**/!(node_modules)/*.js\" ", |
| 28 | + "appveyor:lint": "lerna bootstrap && npm run lint", |
| 29 | + "appveyor:test": "npm run test", |
| 30 | + "bootstrap": "npm run clean:all && npm install && lerna bootstrap", |
| 31 | + "build": "tsc", |
| 32 | + "bundlesize": "bundlesize", |
| 33 | + "changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile CHANGELOG.md --same-file", |
| 34 | + "clean:all": "rimraf node_modules package-lock.json packages/*/node_modules packages/*/package-lock.json", |
29 | 35 | "format": "prettier-eslint ./bin/*.js ./test/**/*.js ./packages/**/*.js --write", |
| 36 | + "jsdoc": "jsdoc -c jsdoc.json -r -d docs", |
30 | 37 | "lint:codeOnly": "eslint \"{bin}/**/!(__testfixtures__)/*.js\" \"{bin}/**.js\"", |
| 38 | + "lint": "eslint \"./bin/*.js\" \"./test/**/*.js\" \"{packages}/**/!(node_modules)/*.test.js\" && npm run tslint", |
31 | 39 | "precommit": "lint-staged", |
32 | 40 | "pretest": "npm run lint", |
33 | | - "test": "nyc jest", |
34 | 41 | "reportCoverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json --disable=gcov", |
35 | | - "jsdoc": "jsdoc -c jsdoc.json -r -d docs", |
36 | | - "appveyor:lint": "lerna bootstrap && npm run lint", |
37 | | - "appveyor:test": "npm run test", |
| 42 | + "test": "nyc jest", |
38 | 43 | "travis:integration": "npm run test && npm run reportCoverage", |
39 | 44 | "travis:lint": "lerna bootstrap && npm run lint && npm run bundlesize", |
40 | | - "bundlesize": "bundlesize", |
41 | | - "changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile CHANGELOG.md --same-file", |
42 | | - "clean:all": "rimraf node_modules package-lock.json packages/*/node_modules packages/*/package-lock.json", |
43 | | - "bootstrap": "npm run clean:all && npm install && lerna bootstrap" |
| 45 | + "tslint": "tslint -c tslint.json \"{packages}/**/!(node_modules)/*.ts\"", |
| 46 | + "watch": "tsc -w" |
44 | 47 | }, |
45 | 48 | "lint-staged": { |
46 | 49 | "{packages,bin}/**/!(__testfixtures__)/**.js": [ |
|
128 | 131 | "prettier-eslint-cli": "^4.7.1", |
129 | 132 | "rimraf": "^2.6.2", |
130 | 133 | "schema-utils": "^0.4.5", |
| 134 | + "tslint": "^5.10.0", |
| 135 | + "typescript": "^2.9.2", |
131 | 136 | "webpack": "^4.8.3", |
132 | 137 | "webpack-dev-server": "^3.1.4" |
133 | 138 | } |
|
0 commit comments