Skip to content
This repository was archived by the owner on Sep 6, 2018. It is now read-only.

Commit 0b3b1c0

Browse files
author
Carlos Lancha
committed
Update travis config and some scripts
1 parent f9fb8e5 commit 0b3b1c0

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.travis.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
before_install:
2+
- nvm install 8
3+
4+
install:
5+
- npm install
6+
17
language: node_js
2-
node_js:
3-
- "node"
4-
- "6"
5-
script:
6-
- npm test
8+
9+
script:
10+
- npm run compile
711
- npm run lint
12+
- npm run jest

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
"lib"
1212
],
1313
"scripts": {
14-
"lint": "tslint src/**/*.ts",
15-
"test": "npm run compile && jest",
1614
"compile": "tsc",
17-
"prepublish": "npm run compile"
15+
"jest": "jest",
16+
"lint": "tslint src/**/*.ts",
17+
"prepublish": "npm run compile",
18+
"test": "npm run compile && jest"
1819
},
1920
"jest": {
2021
"moduleFileExtensions": [

0 commit comments

Comments
 (0)