mirror of
https://github.com/xodio/xod.git
synced 2026-03-25 10:06:55 +01:00
chore(ci): add travis scaffold
This commit is contained in:
4
.travis.yml
Normal file
4
.travis.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "6"
|
||||
script: "npm run travis"
|
||||
@@ -5,7 +5,8 @@
|
||||
"scripts": {
|
||||
"start": "mkdir -p ./dist && cp -f ./app/index.html ./dist/index.html && webpack-dev-server --watch --progress --colors --config webpack.config.js",
|
||||
"lint": "eslint --ext .js --ext .jsx ./app ./test || true",
|
||||
"test": "mocha-webpack --colors --webpack-config webpack.config.js \"test/**/*Spec.js\""
|
||||
"test": "mocha-webpack --colors --webpack-config webpack.config.js \"test/**/*Spec.js\"",
|
||||
"travis": "npm-run-all --continue-on-error lint test"
|
||||
},
|
||||
"repository": {},
|
||||
"keywords": [],
|
||||
@@ -44,6 +45,7 @@
|
||||
"eslint-plugin-react": "^5.2.2",
|
||||
"mocha": "^2.3.4",
|
||||
"mocha-webpack": "^0.4.0",
|
||||
"npm-run-all": "^2.3.0",
|
||||
"react-hot-loader": "^1.3.0",
|
||||
"wallaby-webpack": "0.0.22",
|
||||
"webpack-dev-server": "^1.14.0"
|
||||
|
||||
Reference in New Issue
Block a user