megadraft
v0.8.0 draftjs editor richtext react
start
gulp dev-server
coverage
node test.js --env=jsdom --coverage --no-cache
test
node test.js --env=jsdom
build:lib
babel src/ -d lib/
build
npm run build:lib && gulp sass && gulp sass-copy
prepublish
npm run build
site
webpack --config webpack.config.site.js && gulp site-sass
lint
eslint ./*.js src tests website
lint:watch
esw -w src tests website
watch
babel -d lib/ src/ --watch
precommit
lint-staged
eslint-check
eslint --print-config .eslintrc.json | eslint-config-prettier-check