universal-serialize

v1.0.4
Javascript module template.
template

setup

npm install && npm run flow-typed

lint

eslint src/ test/ *.js --ext .js,.jsx

flow-typed

rm -rf ./flow-typed && flow-typed install && flow-typed install mocha@4

flow

flow

karma

cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start

babel

babel src/ --out-dir dist/module

webpack

babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress

test

npm run lint && npm run flow-typed && npm run flow && npm run karma

build

npm run test && npm run babel && npm run webpack

release

./publish.sh

release:patch

./publish.sh patch

release:minor

./publish.sh minor

release:major

./publish.sh major

clean

rimraf dist coverage

reinstall

rimraf flow-typed && rimraf node_modules && npm install && flow-typed install

debug

cross-env NODE_ENV=debug

Metadata

  • Unknown
  • Whatever
  • Unknown
  • released 11/19/2018

Downloads

Maintainers