Commit ad1cd1f4 by Edgar HIPP

Update .travis.yml

parent 8712b064
...@@ -2,6 +2,11 @@ language: node_js ...@@ -2,6 +2,11 @@ language: node_js
sudo: false sudo: false
script:
- npm test
- npm run lint
- npm run prepublish
node_js: node_js:
- "0.12" - "0.12"
- "0.11" - "0.11"
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"description": "Image Module for docxtemplater v1.0", "description": "Image Module for docxtemplater v1.0",
"main": "js/index.js", "main": "js/index.js",
"scripts": { "scripts": {
"compile": "rm js -rf ; mkdir -p test/spec; mkdir -p js; babel es6 --out-dir js", "compile": "rm js -rf ; mkdir -p js; babel es6 --out-dir js",
"prepublish": "npm run compile",
"test:compiled": "mocha js/test.js", "test:compiled": "mocha js/test.js",
"test:es6": "mocha es6/test.js", "test:es6": "mocha es6/test.js",
"lint": "eslint .", "lint": "eslint .",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment