remapify

v2.0.0
Alias directories of files for browserify
browserify-plugin alias directory rename browserify browser commonjs folder

test

mocha test/*.js

tdd

nodemon -x npm -i node_modules/ -- test

note1

we can't have nice things. prepublish also runs on npm install https://github.com/npm/npm/issues/6394 in-publish hacks around this

prepublish

in-publish && source ./scripts.sh && npm prune && npm run nsp && npm run gitPush || in-install

lint

eslint .

requireGitClean

source ./scripts.sh && git_require_clean_work_tree

nsp

nsp audit-package

note2

--no-verify skips the commit hook

dmn

dmn gen -f . && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add .npmignore && git commit --no-verify -m'update npmignore'; fi

doctoc

doctoc README.md && if [ -f CONTRIBUTING.md ]; then doctoc CONTRIBUTING.md; fi && if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != '' ]]; then git add README.md CONTRIBUTING.md && git commit --no-verify -m'table of contents update'; fi

gitPull

git pull --rebase origin master

gitPush

git push --follow-tags --no-verify && git push --tags --no-verify

release

source ./scripts.sh && npm run requireGitClean && npm run gitPull && npm run dmn && npm run doctoc && npm_release $@

Metadata

Downloads

Maintainers