intermodular

v0.0.24
Easy file operations between node.js modules and auto logging to help building zero-config boilerplates, postinstall and other scripts.
zero configuration zero-config postinstall boilerplate scripts parent module auto log

build

tsc

docs:dev

vuepress dev docs

docs:build

npm-run-all -p docs:build-api-html docs:build-api-md && vuepress build docs

docs:build-api-html

rm -rf docs/.vuepress/public/api-site && typedoc --plugin typedoc-plugin-example-tag,typedoc-neo-theme --theme ./node_modules/typedoc-neo-theme/bin/default --mode file --out docs/.vuepress/public/api-site

docs:build-api-md

rm -rf docs/nav.02.api && typedoc --platform vuepress --plugin typedoc-plugin-example-tag,typedoc-plugin-markdown --excludeExternals --excludePrivate --excludeProtected --theme markdown --mode file --out docs/nav.02.api --readme none && cp assets/api-docs/* docs/nav.02.api/

lint

eslint --ignore-path .gitignore --cache 'src/**/*.+(js|jsx|ts|tsx|vue)'

format

prettier --write --config .prettierrc --check 'src/**/*.+(js|jsx|json|less|css|ts|tsx|md|vue|gql)'

test

NODE_ENV=test jest --coverage

prepublishOnly

npm run build

prerelease

npm-run-all -p lint test format

release

(git diff --quiet && git diff --staged --quiet || git commit -am 'format code') && git checkout master && git pull origin master && git push --follow-tags origin master && npm publish

Metadata

  • MIT
  • >=10.8.0
  • Özüm Eldoğan
  • released 7/1/2019

Downloads

Maintainers