Fix CNAME and make docs script portable

This commit is contained in:
Daniel Huigens 2022-06-09 12:54:22 +02:00
parent b677ab5949
commit 449ec3a367
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
-n docs.openpgpjs.org
docs.openpgpjs.org

View File

@ -47,7 +47,7 @@
"browserstack": "karma start test/karma.conf.js",
"coverage": "nyc npm test",
"lint": "eslint .",
"docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && echo -n 'docs.openpgpjs.org' > docs/CNAME",
"docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME",
"preversion": "rm -rf dist docs node_modules && npm install && npm test",
"version": "npm run docs && git add -A docs",
"postversion": "git push && git push --tags && npm publish"