Skip to content

Commit 46c7ee5

Browse files
committed
chore(npm-scripts): using npm scripts instead of gulp
1 parent c72e5bf commit 46c7ee5

3 files changed

Lines changed: 6 additions & 38 deletions

File tree

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
language: node_js
22
node_js:
3-
- "0.12"
4-
- "0.11"
5-
- "iojs"
3+
- stable
64
before_install:
75
- "export DISPLAY=:99.0"
86
- "sh -e /etc/init.d/xvfb start"
9-
install:
10-
- "npm install"
11-
script: gulp test
127
addons:
138
firefox: "29.0"

gulpfile.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "A compact, cross-browser solution for Javascript desktop notifications",
55
"main": "bin/push.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"clean": "shx rm -rf bin",
8+
"build": "shx rm -rf bin && shx mkdir -p bin && shx cp push.js bin/. && uglifyjs push.js -o bin/push.min.js",
9+
"test": "karma start"
810
},
911
"repository": {
1012
"type": "git",
@@ -17,18 +19,13 @@
1719
},
1820
"homepage": "https://github.com/Nickersoft/push.js",
1921
"devDependencies": {
20-
"gulp": "^3.9.0",
21-
"gulp-concat": "^2.6.0",
22-
"gulp-karma": "0.0.4",
23-
"gulp-rename": "^1.2.2",
24-
"gulp-uglify": "^1.2.0",
2522
"jasmine-core": "^2.3.4",
2623
"karma": "^0.13.2",
2724
"karma-coverage": "^0.4.2",
2825
"karma-firefox-launcher": "^0.1.6",
2926
"karma-jasmine": "^0.3.6",
3027
"karma-mocha-reporter": "^1.0.2",
31-
"path": "^0.11.14",
32-
"phantomjs": "^1.9.17"
28+
"shx": "^0.1.2",
29+
"uglify-js": "^2.6.2"
3330
}
3431
}

0 commit comments

Comments
 (0)