mirror of
https://github.com/infeng/react-viewer.git
synced 2025-12-08 17:36:40 +00:00
add travis
This commit is contained in:
parent
f05de0377f
commit
c5132df07c
6
.travis.yml
Normal file
6
.travis.yml
Normal file
@ -0,0 +1,6 @@
|
||||
language: node_js
|
||||
|
||||
sudo: false
|
||||
|
||||
node_js:
|
||||
- "6"
|
||||
@ -4,7 +4,7 @@
|
||||
"description": "react image viewer",
|
||||
"main": "dist/index",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "npm run lint",
|
||||
"start": "dora --port 8001 --plugins \"webpack,webpack-hmr,browser-history?index=/demo/index.html\"",
|
||||
"lint": "tslint -c tslint.json src/**/*.ts src/**/*.tsx",
|
||||
"build": "atool-build --config webpack.config.prop.js && gulp",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user