@hs/transmute
v1.0.0build
npm run build:commonjs
build:commonjs
BABEL_ENV=commonjs babel src --ignore *-test.js --out-dir lib
docs
npm run docs:html && npm run docs:readme
docs:html
documentation build src/** -f html -o docs
docs:readme
documentation readme --format md --github --quiet --section 'API' src
flow:check
flow check
format
git diff --name-only @ | grep "src/.*\.js$" | xargs npm run prettier -- --write '{}'
format:all
npm run prettier -- --write "src/**/*.js"
lint
eslint
lint:all
eslint src
precommit
lint-staged
prepublish
npm run flow:check && npm run lint:all && npm run test && npm run build
prepush
npm run lint:all && npm run flow:check && npm run test
prettier
prettier
prettier:write
npm run prettier -- --write "src/**/*.js"
test
jest
test:watch
jest --watch
npm i @hs/[email protected]
Source Code
[email protected]:HubSpot/...Metadata
- MIT
- Whatever
- Colby Rabideau
- released 8/31/2017