Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Rodríguez Baquero <github@diegorbaquero.com>2021-07-03 02:07:27 +0300
committerGitHub <noreply@github.com>2021-07-03 02:07:27 +0300
commit55fe206e3bd6b48e29018fb7f7bdf6e8055248a2 (patch)
tree0ff2b6a64ea1facc9873d7d37e324e7610a0f69c /package.json
parenta2f833789d40e25a7ed6ce03c3d95152e9bc1f75 (diff)
fix: add preversion
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 912479d..49a1d94 100644
--- a/package.json
+++ b/package.json
@@ -149,6 +149,7 @@
"build-js": "browserify --standalone WebTorrent . | minify --mangle=false > webtorrent.min.js",
"build-js-debug": "browserify --standalone WebTorrent . > webtorrent.debug.js",
"prepublishOnly": "npm run build && npm run update-authors",
+ "preversion": "npm run build && npm run update-authors",
"size": "npm run size-js && npm run size-disc",
"size-disc": "browserify --full-paths . | discify --open",
"size-js": "npm run build && cat webtorrent.min.js | gzip | wc -c",