Updated travis build config (#17)
This commit is contained in:
Родитель
6030e62d18
Коммит
663362bde5
|
@ -1,12 +1,12 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- '4.4'
|
||||
install:
|
||||
- npm install
|
||||
- npm run init
|
||||
before_install:
|
||||
- npm run contrib
|
||||
script:
|
||||
- npm test
|
||||
deploy:
|
||||
skip_cleanup: true
|
||||
provider: npm
|
||||
email: nugetpowerbi@microsoft.com
|
||||
api_key:
|
||||
|
|
|
@ -5,9 +5,8 @@
|
|||
"main": "./lib/index.js",
|
||||
"typings": "./lib/index.d.ts",
|
||||
"scripts": {
|
||||
"typings": "typings install",
|
||||
"build": "tsc",
|
||||
"init": "npm run typings && npm run build",
|
||||
"precontrib": "npm install -g typings typescript && npm install",
|
||||
"contrib": "typings install && tsc",
|
||||
"test": "mocha --recursive"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче