Add unit tests and travis.yml

This commit is contained in:
Jakub Juszczak
2016-09-08 13:21:20 +02:00
parent 377ae5e27a
commit d913e9c515
10 changed files with 156 additions and 2 deletions

View File

@@ -20,8 +20,8 @@
"build": "node build/build.js",
"unit": "karma start test/unit/karma.conf.js --single-run",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs"
"test": "npm run unit",
"lint": "eslint --ext .js,.vue src test/unit/specs"
},
"dependencies": {
"babel-runtime": "^6.0.0",