Skip to content

Commit

Permalink
[ADD] TS dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
HubCodes committed May 1, 2019
1 parent f927de6 commit 38555da
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
language: node_js

node_js:
- "stable"
- "stable"

before_script:
- npm install
- npm run build

script:
- npm run test

after_success:
- npm run coveralls
- npm run coveralls
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"combinator"
],
"main": "dist/index.js",
"types": "index.d.ts",
"scripts": {
"build": "tsc",
"test": "mocha",
"cover": "node_modules/.bin/istanbul cover _mocha",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls"
Expand All @@ -24,6 +26,7 @@
"eslint-plugin-import": "^2.14.0",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0"
"mocha-lcov-reporter": "^1.3.0",
"typescript": "^3.4.5"
}
}

0 comments on commit 38555da

Please sign in to comment.