Skip to content

Commit

Permalink
new version and publish mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fscherwi authored and fscherwi committed Dec 31, 2015
1 parent aed2cbb commit 98d30d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ lib-cov
coverage
.grunt
.gitignore
main_1.js
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
os:
- osx
- linux
notifications:
email: false
install:
- npm install -g
- npm install coveralls istanbul
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "get-osx-version",
"version": "1.3.0",
"description": "Get the OS X version",
"version": "1.3.1",
"description": "small and tiny program to get your current OS X version",
"main": "main.js",
"scripts": {
"test": "node test.js"
"test": "node test.js",
"prepublish": "cp main.js main_1.js && rm main.js && ./node_modules/.bin/uglifyjs main_1.js > main.js",
"postpublish": "mv main_1.js main.js"
},
"repository": {
"type": "git",
Expand All @@ -22,6 +24,6 @@
},
"homepage": "https://github.com/fscherwi/get-osx-version#readme",
"bin": {
"get-osx-version": "./bin.js"
"get-osx-version": "bin.js"
}
}

0 comments on commit 98d30d1

Please sign in to comment.