Skip to content

Commit 1e07a04

Browse files
author
Maximilian Heinz
committed
fix(travis): add travis task to package.json
1 parent 20ef788 commit 1e07a04

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ before_install:
1717
before_script:
1818
- npm prune
1919
- 'curl -Lo travis_after_all.py https://git.io/vLSON'
20-
script: "npm run build"
20+
script: "npm run travis"
2121
after_success:
2222
- python travis_after_all.py
2323
- export $(cat .to_export_back)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
"clean": "rimraf dist/* && rimraf demo/js/* && rimraf src/jquery.lory.js",
6565
"check": "npm run lint -s && dependency-check package.json --entry src",
6666
"lint": "eslint src",
67-
"saucelabs": "karma start",
6867
"karma-local": "karma start local.karma.conf.js",
6968
"prebuild": "cat src/lory.js src/jquery.plugin.js > src/jquery.lory.js",
7069
"build": "npm run lint && webpack",
70+
"travis": "npm run build && karma start saucelabs.karma.conf.js",
7171
"uglify": "uglifyjs dist/lory.js -o dist/lory.min.js --compress --mangle && uglifyjs dist/jquery.lory.js -o dist/jquery.lory.min.js --compress --mangle",
7272
"postbuild": "npm run uglify && cp -r dist/* demo/js/",
7373
"start": "webpack-dev-server",
File renamed without changes.

0 commit comments

Comments
 (0)