nervjs
v0.2.5 react-like
precommit
npm run lint && npm run lint-staged
prebuild
tsc --target es2017 ./build/build.ts
prepush
npm run test
prepublish
npm run build
clean
rimraf dist
eslint:fix
eslint --fix src test
eslint
eslint src test
lint
tslint -p tsconfig.json --type-check
lint-staged
lint-staged
test
jest
test:watch
jest --watch
test:coverage
jest --coverage
test:karma
karma start karma.conf.js --single-run
test:karma:watch
npm run test:karma -- no-single-run
build
npm run clean && rollup -c ./build/build.js && node afterbuild.js
build:esm
rollup -c ./build/build.js --environment TARGET:esm
build:umd
rollup -c ./build/build.js --environment TARGET:umd
build:devtools
rollup -c ./build/build.js --environment TARGET:devtools
release
npm run build && release-it -n -p