Add build to prepublish in package.json (#849)

Continue to publish the build/ directory so that users can easily grab it from CDNs.
This commit is contained in:
Fred K. Schott
2018-02-12 09:47:25 -08:00
committed by Elliot Lee
parent 4f60fc301f
commit 55e6801f4a

View File

@@ -67,7 +67,7 @@
"clean": "rm -rf dist/npm",
"compile": "mkdir -p dist/npm/common && cp -r src/common/schemas dist/npm/common/ && tsc",
"watch": "tsc -w",
"prepublish": "npm run clean && npm run compile",
"prepublish": "npm run clean && npm run compile && npm run build",
"test": "nyc mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "tslint -p ./",