chore: Use npm script prepublishOnly instead of deprecated prepublish

release
GochoMugo 8 years ago
parent 5cecffc34b
commit 1169f8e430
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4
  1. 2
      package.json

@ -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",

Loading…
Cancel
Save