nervjs

v0.1.2
A react-like framework based on virtual-dom
react-like

precommit

npm run lint && npm run lint-staged

prepush

npm run test

prebuild

tsc --target es2017 ./build/build.ts

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

npm-run-all lint test:karma

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

build:esm

rollup -c ./build/build.js --environment TARGET:esm

build:umd

rollup -c ./build/build.js --environment TARGET:umd

release

npm run build && npm test && release-it -n -p

Metadata

  • MIT
  • Whatever
  • luckyadam
  • released 9/10/2017

Downloads