Skip to content

Commit

Permalink
chore: update y-version
Browse files Browse the repository at this point in the history
  • Loading branch information
Arylo committed Dec 11, 2018
1 parent 691cd36 commit bbb7167
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .huskyrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"hooks": {
"pre-commit": "lint-staged",
"pre-merge": "lint-staged"
"pre-merge": "lint-staged",
"commit-msg": "commitlint -e .git/COMMIT_EDITMSG"
}
}
33 changes: 14 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
language: node_js

node_js:
- "node"
- "lts/*"
- "8"
- "10"
- "6"

- "8"
- lts/*
- node
before_script:
- "npm install nyc --global"

- npm install nyc --global
script:
- "npm run build"
- "nyc npm test"

- npm run build
- nyc npm test
after_success:
- "npm install coveralls@~3.0.0 --global"
- "nyc report --reporter=text-lcov | coveralls"

- npm install coveralls@~3.0.0 --global
- nyc report --reporter=text-lcov | coveralls
before_deploy:
- "npm run clean"
- "npm run build -- -P ./tsconfig.prod.json"

- npm run clean
- npm run build -- -P ./tsconfig.prod.json
deploy:
skip_cleanup: true
provider: npm
email: "arylo.open+npm@gmail.com"
api_key: "${NPM_TOKEN}"
email: arylo.open+npm@gmail.com
api_key: ${NPM_TOKEN}
on:
branch: master
node_js: "node"
node_js: node
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"homepage": "https://github.com/Arylo/nodenv#readme",
"license": "MIT",
"yVersion": "2.1.8",
"yVersion": "2.1.11",
"devDependencies": {
"@types/node": "^10.1.2",
"ava": "^0.25.0",
Expand All @@ -70,6 +70,9 @@
"rimraf": "^2.6.2",
"prettier": "^1.14.3",
"tslint": "^5.10.0",
"typescript": "^3.1.3"
"typescript": "^3.1.3",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/lint": "^7.2.1"
}
}

0 comments on commit bbb7167

Please sign in to comment.