mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Update travis build
This commit is contained in:
parent
f6a5153d99
commit
959b75a441
@ -1,6 +1,6 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- '4.0'
|
||||
- '7'
|
||||
env:
|
||||
global:
|
||||
- secure: eW41gIqOizwO4pTgWnAAbW75AP7F+CK9qfSed/fSh4sJ9HWMIY1YRIaY8gjr+6jV/f7XVHcXuym6ZxgINYSkVKbF1JKxBJNLOXtSgNbVHSic58pYFvUjwxIBI9aPig9uux1+DbnpWqXFDTcACJSevQZE0xwmjdrSkDLgB0G34v8=
|
||||
@ -15,6 +15,9 @@ notifications:
|
||||
on_success: always
|
||||
on_failure: always
|
||||
on_start: false
|
||||
script:
|
||||
- npm run build
|
||||
- npm test
|
||||
deploy:
|
||||
- provider: npm
|
||||
email: niklasvh@gmail.com
|
||||
|
@ -37,7 +37,8 @@
|
||||
"webpack": "3.4.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rimraf dist/ && babel src/ -d dist/npm/",
|
||||
"build": "rimraf dist/ && npm run build:npm && npm run build:browser",
|
||||
"build:npm": "babel src/ -d dist/npm/",
|
||||
"build:browser": "webpack",
|
||||
"format": "prettier --single-quote --no-bracket-spacing --tab-width 4 --print-width 100 --write \"src/**/*.js\"",
|
||||
"flow": "flow",
|
||||
|
Loading…
Reference in New Issue
Block a user