diff --git a/package.json b/package.json index 5e72c802..e3a1c30f 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "compile": "tsc", "documentation": "typedoc --name \"@openstapps/core\" --includeDeclarations --mode modules --out docs --readme README.md --listInvalidSymbolLinks lib", "pack": "openstapps-core-tools pack", - "prepublishOnly": "npm run build", + "prepublishOnly": "npm ci && npm run build", "schema": "node --max-old-space-size=8192 --stack-size=10240 ./node_modules/.bin/openstapps-core-tools schema src/core lib/schema", "test": "mocha --require ts-node/register --ui mocha-typescript test/*.spec.ts", "tslint": "tslint 'src/**/*.ts'"