acorn-dynamic-import

v3.0.0
Support dynamic imports in acorn

build

babel src --out-dir lib

test

npm run lint && npm run tests-only

lint

eslint .

tests-only

mocha

prepublish

in-publish && safe-publish-latest && npm run build || not-in-publish

check-changelog

expr $(git status --porcelain 2>/dev/null| grep "^\s*M.*CHANGELOG.md" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)

check-only-changelog-changed

(expr $(git status --porcelain 2>/dev/null| grep -v "CHANGELOG.md" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0

version:major

npm --no-git-tag-version version major

version:minor

npm --no-git-tag-version version minor

version:patch

npm --no-git-tag-version version patch

postversion

git commit package.json CHANGELOG.md -m "v$npm_package_version" && npm run tag && git push && git push --tags

preversion

npm run test && npm run check-changelog && npm run check-only-changelog-changed

tag

git tag v$npm_package_version

Metadata

  • MIT
  • Whatever
  • Jordan Gensler
  • released 1/17/2018

Downloads

Maintainers