remapify

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

audit

npm audit

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 && npm prune && npm run audit && npm run gitPush

lint

eslint .

requireGitClean

source ./scripts.sh && git_require_clean_work_tree

note2

--no-verify skips the commit hook

nsp

npm run audit

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 $@
npm i remapify

Metadata

Downloads

Maintainers