draftail-tables
v1.0.0 draftjs draft-js editor react wysiwyg rich text richtext rte tables and 1 more...
start
react-scripts start
build
CI=true react-scripts build && rollup -c
test
npm run test:coverage -s
test:coverage
CI=true react-scripts test --env=jsdom --coverage
test:watch
react-scripts test --env=jsdom
report:coverage
open coverage/lcov-report/index.html
report:build
source-map-explorer --html 'build/static/js/*.js' > build/source-map-explorer.html && open build/source-map-explorer.html
report:package
npm pack --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee build/package.txt && rm *.tgz
lint
prettier --check '**/?(.)*.{md,css,scss,js,json,yaml,yml,html}' && eslint . && stylelint 'src/**/*.scss'
format
prettier --write '**/?(.)*.{md,css,scss,js,json,yaml,yml,html}'
test:ci
npm run lint -s && npm run build -s && flow --quiet && npm run test:coverage -s -- --outputFile build/test-results.json --json
prepare
./.githooks/deploy.sh
prepublishOnly
npm run build -s