Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ddragosd authored Jul 14, 2017
1 parent 3cc60c2 commit c9a1045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "webhook-handler.js",
"scripts":{
"prepublish__": "babel src --out-file ${npm_package_name}-${npm_package_version}.js",
"prepublish": "browserify -r ./src/action/hello-world.js:main-action --no-bundle-external > ${npm_package_name}-${npm_package_version}.js && npm run whisk_wrapper",
"prepublish": "browserify -r ${npm_package_main}:main-action --node > ${npm_package_name}-${npm_package_version}.js && npm run whisk_wrapper",
"whisk_wrapper": "echo \"var main = require('main-action').default;\" >> ${npm_package_name}-${npm_package_version}.js"
},
"dependencies" : {
Expand Down

0 comments on commit c9a1045

Please sign in to comment.