Skip to content

Commit

Permalink
fix: test in latest TypeScript and Node.js (#61)
Browse files Browse the repository at this point in the history
* test: add in TypeScript 3.4/3.5 and Node v12, remove TS 3.1/3.2 and Node v11
* fix: update ts-node and source-map-support
  • Loading branch information
teppeis committed Jul 21, 2019
1 parent 55a312c commit db8531b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ node_js:
- "6"
- "8"
- "10"
- "11"
- "12"
sudo: false
script:
- npm test
- npm install -D typescript@3.2
- npm install -D typescript@3.4
- npm test
- npm install -D typescript@3.1
- npm install -D typescript@3.3
- npm test
- npm install -D typescript@2.4
- npm test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ If `allowJs: true` in your `tsconfig.json`, assertions in `test/**/*.(js|jsx)` a
[travis-url]: https://travis-ci.org/power-assert-js/espower-typescript
[deps-image]: https://david-dm.org/power-assert-js/espower-typescript.svg
[deps-url]: https://david-dm.org/power-assert-js/espower-typescript
[node-version]: https://img.shields.io/badge/Node.js%20support-v6,v8,v10,v11-brightgreen.svg
[node-version]: https://img.shields.io/badge/Node.js%20support-v6,v8,v10,v12-brightgreen.svg
[license]: https://img.shields.io/npm/l/espower-typescript.svg
42 changes: 25 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"dependencies": {
"espower-source": "^2.3.0",
"minimatch": "^3.0.3",
"source-map-support": "^0.5.9",
"ts-node": "^8.0.3"
"source-map-support": "^0.5.12",
"ts-node": "^8.3.0"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
Expand All @@ -36,7 +36,7 @@
"power-assert": "^1.6.1",
"prettier": "^1.16.4",
"react": "^16.5.0",
"typescript": "^3.1.4"
"typescript": "^3.5.3"
},
"peerDependencies": {
"typescript": ">= 2.4.2"
Expand Down

0 comments on commit db8531b

Please sign in to comment.