Skip to content

Commit cfeb06b

Browse files
committed
Merge branch 'master' of https://github.com/Nickersoft/push.js
2 parents 1883ffd + 0e63a01 commit cfeb06b

5 files changed

Lines changed: 13 additions & 40 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ coverage
5353
# Compiled binary addons (http://nodejs.org/api/addons.html)
5454
build/Release
5555
bin
56+
dist
5657

5758
# Dependency directory
5859
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git

.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"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### What is Push? ###
44

5-
Push is the fastest way to get up and running with Javascript desktop notifications. A fairly new addition to the official specification, the Notification API allows modern browsers such as Chrome, Safari, and IE 9+ to push notifications to a user's desktop. Push acts as a cross-browser solution to this API, falling back to use older implementations if the user's browser does not support the new API. You can quickly install Push via npm:
5+
Push is the fastest way to get up and running with Javascript desktop notifications. A fairly new addition to the official specification, the Notification API allows modern browsers such as Chrome, Safari, Firefox, and IE 9+ to push notifications to a user's desktop. Push acts as a cross-browser solution to this API, falling back to use older implementations if the user's browser does not support the new API. You can quickly install Push via npm:
66

77
```
88
npm install push.js --save

gulpfile.js

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

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22
"name": "push.js",
33
"version": "0.0.2",
44
"description": "A compact, cross-browser solution for Javascript desktop notifications",
5-
"main": "bin/push.js",
5+
"main": "dist/push.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"clean": "shx rm -rf dist",
8+
"build": "shx rm -rf dist && shx mkdir -p dist && shx cp push.js dist/. && uglifyjs push.js -o dist/push.min.js",
9+
"test": "karma start",
10+
"prepublish": "npm run build"
811
},
12+
"files": [
13+
"dist"
14+
],
915
"repository": {
1016
"type": "git",
1117
"url": "https://github.com/Nickersoft/push.js"
@@ -17,18 +23,13 @@
1723
},
1824
"homepage": "https://github.com/Nickersoft/push.js",
1925
"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",
2526
"jasmine-core": "^2.3.4",
2627
"karma": "^0.13.2",
2728
"karma-coverage": "^0.4.2",
2829
"karma-firefox-launcher": "^0.1.6",
2930
"karma-jasmine": "^0.3.6",
3031
"karma-mocha-reporter": "^1.0.2",
31-
"path": "^0.11.14",
32-
"phantomjs": "^1.9.17"
32+
"shx": "^0.1.2",
33+
"uglify-js": "^2.6.2"
3334
}
3435
}

0 commit comments

Comments
 (0)