add travis ci integration
This commit is contained in:
parent
c30aba8e78
commit
593cf3abfa
2 changed files with 4 additions and 1 deletions
3
.travis.yml
Normal file
3
.travis.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "node"
|
|
@ -8,7 +8,7 @@
|
||||||
"lint": "eslint client server --ext .jsx --ext .js",
|
"lint": "eslint client server --ext .jsx --ext .js",
|
||||||
"lint-fix": "eslint client server --ext .jsx --ext .js --fix",
|
"lint-fix": "eslint client server --ext .jsx --ext .js --fix",
|
||||||
"build": "NODE_ENV=production webpack --config webpack.config.prod.js --progress",
|
"build": "NODE_ENV=production webpack --config webpack.config.prod.js --progress",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "npm run lint",
|
||||||
"fetch-examples": "node fetch-examples.js",
|
"fetch-examples": "node fetch-examples.js",
|
||||||
"postinstall": "git submodule update --remote --recursive"
|
"postinstall": "git submodule update --remote --recursive"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue