intermodular
v0.29.0 zero configuration zero-config postinstall boilerplate scripts parent module auto log
build
rm -rf dist && tsc -b
commit
git-cz
commit:add
git add -A && npm run commit
devkeeper:update
npx devkeeper update -d
docs:build
npm-run-all -p typedoc:md typedoc:html && rm -rf docs/nav.02.api docs/.vuepress/public/api-site && mv api-docs-md docs/nav.02.api && mv api-docs-html docs/.vuepress/public/api-site && cp assets/typedoc/01.typedoc-iframe.md docs/nav.02.api/ && NODE_ENV=production vuepress build docs
docs:dev
vuepress dev docs
file:watch
ts-node-dev --respawn --transpileOnly --compiler-options '{ "module": "commonjs" }'
format
prettier --write --config .prettierrc --check 'src/**/*.+(js|jsx|json|less|css|ts|tsx|md|vue|gql)'
lint
eslint --max-warnings=0 --ignore-path .gitignore --cache 'src/**/*.+(js|jsx|ts|tsx|vue)'
readme
if grep -q '{% include "api.md" %}' 'README.njk'; then npm run typedoc:single-md; mkdir -p temp && mv api.md temp/; fi && readmeasy --partial-dirs temp,../../.npm/_npx/21821/lib/node_modules/devkeeper/module-files/template-partials && rm -rf temp
release
(git diff --quiet && git diff --staged --quiet && echo No files has been changed) || (npm run build && npm run commit:add && git checkout master && git pull origin master && standard-version --no-verify && npm run readme && git add README.md && git commit --amend --no-edit && git push --follow-tags origin master && git push --tags && npm publish)
test
NODE_ENV=test jest --coverage --config=jest.config.json
test:watch
NODE_ENV=test jest --watch --config=jest.config.json
typedoc:html
rm -rf api-docs-html && typedoc --plugin typedoc-plugin-example-tag --mode file --out api-docs-html
typedoc:md
rm -rf api-docs-md && typedoc --platform vuepress --plugin typedoc-plugin-example-tag,typedoc-plugin-markdown --excludeExternals --excludePrivate --excludeProtected --theme markdown --readme none --mode file --out api-docs-md && find api-docs-md -name "index.md" -exec sh -c 'mv "$1" "${1%index.md}"index2.md' - {} \;
typedoc:single-md
npm run typedoc:md && concat-md --dir-name-as-title api-docs-md > api.md && rm -rf api-docs-md
validate
npm-run-all -p lint test