Skip to content

Commit 810b396

Browse files
committed
build: fix some mistakes
1 parent cbb98de commit 810b396

File tree

3 files changed

+122
-782
lines changed

3 files changed

+122
-782
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ cache:
55
notifications:
66
email: false
77
node_js:
8+
- '10'
89
- '8'
9-
- '7'
1010
- '6'
1111
install:
1212
- yarn install --ignore-engines --check-files --frozen-lockfile

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"test:watch": "NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha",
2222
"test:debug": "NODE_ENV=production BABEL_ENV=test mocha --inspect-brk $npm_package_config_mocha",
2323
"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",
2525
"open:coverage": "open coverage/lcov-report/index.html",
2626
"semantic-release": "semantic-release",
2727
"travis-deploy-once": "travis-deploy-once"
2828
},
2929
"husky": {
3030
"hooks": {
31-
"pre-commit": "lint-staged && flow",
31+
"pre-commit": "lint-staged && npm run lint && flow",
3232
"commit-msg": "commitlint -e $GIT_PARAMS",
3333
"pre-push": "npm test"
3434
}
@@ -92,6 +92,7 @@
9292
"codecov": "^3.1.0",
9393
"copy": "^0.3.2",
9494
"eslint": "^5.9.0",
95+
"eslint-config-prettier": "^3.3.0",
9596
"eslint-plugin-flowtype": "^3.2.0",
9697
"eslint-watch": "^4.0.2",
9798
"flow-bin": "^0.86.0",
@@ -106,9 +107,6 @@
106107
"prettier-eslint": "^8.8.2",
107108
"rimraf": "^2.6.0",
108109
"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"
113111
}
114112
}

0 commit comments

Comments
 (0)