@jumpn/utils-array

v0.2.0
Array utilities (immutability, fp helpers)

clean

rm -rfv dist compat

flow-copy-source

flow-copy-source -v src

build:flow

yarn flow-copy-source dist && yarn flow-copy-source compat/cjs

build:index

create-index --banner '// @flow' src/ && yarn lint:fix src/index.js

build:readme

pkg-to-readme --template ./readmeTemplate.ejs --force && documentation readme src/** --section API

build:src

rollup -c

build

yarn run clean && yarn build:index && yarn run build:src && yarn run build:flow && yarn build:readme

lint

eslint --rule 'flowtype-errors/show-errors: error'

lint:fix

yarn run lint -- --fix

npm:publish

np

precommit

lint-staged

commit

git-cz

commitmsg

commitlint -e

version

yarn build:index && yarn build:readme && git add README.md src/index.js

prepublishOnly

yarn build:src && yarn build:flow
npm i @jumpn/[email protected]

Metadata

  • MIT
  • Whatever
  • Mauro Titimoli
  • released 9/26/2017

Downloads

Maintainers