Skip to content

Commit 212150a

Browse files
committed
adding homepage to minified file, removing with-package dependency in favor of npm's automatic env vars
1 parent c9870be commit 212150a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "karma start test/resources/karma.conf.js --single-run",
1010
"test-integration": "TEST_MODE=integration karma start test/resources/karma.conf.js --single-run",
1111
"browserify": "browserify index.js --standalone WatsonSpeech --outfile dist/watson-speech.js --transform envify",
12-
"minify": "with-package uglifyjs --compress --mangle --screw-ie8 dist/watson-speech.js --output dist/watson-speech.min.js --preamble \"// IBM Watson Speech JavaScript SDK\n// vpkg.version\n// Generated at `date`\n// Copyright IBM (pkg.license)\"",
12+
"minify": "uglifyjs --compress --mangle --screw-ie8 dist/watson-speech.js --output dist/watson-speech.min.js --preamble \"// IBM Watson Speech JavaScript SDK\n// $npm_package_version\n// Generated at `date`\n// Copyright IBM ($npm_package_license)\n// $npm_package_homepage\"",
1313
"watchify": "watchify index.js --standalone WatsonSpeech --outfile dist/watson-speech.js --debug --verbose",
1414
"build": "npm run browserify && npm run minify",
1515
"doc": "jsdoc -c jsdoc/config.json --debug",
@@ -35,8 +35,7 @@
3535
"serve-static": "^1.10.2",
3636
"uglify-js": "^2.6.1",
3737
"watchify": "^3.7.0",
38-
"watson-developer-cloud": "^1.2.1",
39-
"with-package": "^0.2.0"
38+
"watson-developer-cloud": "^1.2.1"
4039
},
4140
"dependencies": {
4241
"clone": "^1.0.2",
@@ -48,6 +47,7 @@
4847
"websocket": "^1.0.22",
4948
"whatwg-fetch": "^0.11.0"
5049
},
50+
"homepage": "https://github.com/watson-developer-cloud/speech-javascript-sdk",
5151
"repository": {
5252
"type": "git",
5353
"url": "https://github.com/watson-developer-cloud/speech-javascript-sdk.git"

0 commit comments

Comments
 (0)