0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

chore(build): build code on prepublish

This commit is contained in:
Juan Picado @jotadeveloper 2018-01-16 09:33:27 +01:00
parent 689476de6f
commit a27e2624b2
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -134,7 +134,7 @@
], ],
"scripts": { "scripts": {
"release": "standard-version -a -s", "release": "standard-version -a -s",
"prepublish": "in-publish && npm run build:webui || not-in-publish", "prepublish": "in-publish && npm run build:webui && npm run code:build || not-in-publish",
"flow": "flow", "flow": "flow",
"pretest": "npm run code:build", "pretest": "npm run code:build",
"test": "cross-env NODE_ENV=test BABEL_ENV=test jest --maxWorkers 2", "test": "cross-env NODE_ENV=test BABEL_ENV=test jest --maxWorkers 2",