Skip to content

Commit

Permalink
chore: Use npm script prepublishOnly instead of deprecated prepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
GochoMugo committed Dec 21, 2017
1 parent 5cecffc commit 1169f8e
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 @@ -17,7 +17,7 @@
"gen-doc": "echo 'WARNING: `npm run gen-doc` is deprecated. Use `npm run doc` instead.' && npm run doc",
"doc": "jsdoc2md --files src/telegram.js --template doc/api.hbs > doc/api.md",
"build": "babel -d ./lib src",
"prepublish": "npm run build && npm run gen-doc",
"prepublishOnly": "npm run build && npm run gen-doc",
"eslint": "eslint ./src ./test ./examples",
"mocha": "mocha",
"pretest": "npm run build",
Expand Down

0 comments on commit 1169f8e

Please sign in to comment.