diff --git a/docs.sh b/docs.sh index b91d238..a8174f9 100755 --- a/docs.sh +++ b/docs.sh @@ -9,6 +9,7 @@ NODE_ENV=production npm run docs # navigate into the build output directory cd docs/__sapper__/export/svelma +npm ci # if you are deploying to a custom domain # echo 'www.example.com' > CNAME diff --git a/package.json b/package.json index dc5c023..f434f1d 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "docs:deploy": "./docs.sh", "autodocs": "(cd docs; npx sapper dev --basepath svelma)", "jsdocs": "(cd docs; npx jsdoc -c jsdoc/conf.js)", - "prepublish": "npm run build", + "prepublishOnly": "npm run build", "postpublish": "npm run docs:deploy", "changelog": "conventional-changelog -i CHANGELOG.md -p angular", "semantic-release": "semantic-release"