|
21 | 21 | "test:watch": "NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha", |
22 | 22 | "test:debug": "NODE_ENV=production BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha", |
23 | 23 | "codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov", |
24 | | - "prepublishOnly": "npm run clean && npm run prettier:check && flow && npm test && npm run build", |
| 24 | + "prepublishOnly": "npm run clean && npm run prettier:check && npm run lint && flow && npm test && npm run build", |
25 | 25 | "open:coverage": "open coverage/lcov-report/index.html", |
26 | 26 | "semantic-release": "semantic-release", |
27 | 27 | "travis-deploy-once": "travis-deploy-once" |
28 | 28 | }, |
29 | 29 | "husky": { |
30 | 30 | "hooks": { |
31 | | - "pre-commit": "lint-staged && flow", |
| 31 | + "pre-commit": "lint-staged && npm run lint && flow", |
32 | 32 | "commit-msg": "commitlint -e $GIT_PARAMS", |
33 | 33 | "pre-push": "npm test" |
34 | 34 | } |
|
92 | 92 | "codecov": "^3.1.0", |
93 | 93 | "copy": "^0.3.2", |
94 | 94 | "eslint": "^5.9.0", |
| 95 | + "eslint-config-prettier": "^3.3.0", |
95 | 96 | "eslint-plugin-flowtype": "^3.2.0", |
96 | 97 | "eslint-watch": "^4.0.2", |
97 | 98 | "flow-bin": "^0.86.0", |
|
106 | 107 | "prettier-eslint": "^8.8.2", |
107 | 108 | "rimraf": "^2.6.0", |
108 | 109 | "semantic-release": "^15.1.4", |
109 | | - "travis-deploy-once": "^4.3.1" |
110 | | - }, |
111 | | - "dependencies": { |
112 | | - "eslint-config-prettier": "^3.3.0" |
| 110 | + "travis-deploy-once": "^5.0.9" |
113 | 111 | } |
114 | 112 | } |
0 commit comments