hyperapp-compat

v0.4.0
v2 features in your v1 Hyperapps

clean

npx rimraf coverage dist node_modules

format

npx prettier --write '{src,test}/**/*.js'

format:check

npx prettier --list-different {src,test}/**/*.js

lint

eslint {src,test}/**/*.js

test

jest --coverage

bundle

rollup -i src/index.js -o dist/hyperappCompat.js -m -f umd -n hyperappCompat

minify

uglifyjs dist/hyperappCompat.js -o dist/hyperappCompat.js -mc pure_funcs=['Object.defineProperty'] --source-map includeSources,url=hyperappCompat.js.map

check

npm run format:check && npm run lint && npm t

build

npm run check && npm run bundle && npm run minify

prepare

npm run build

release

./pre-flight-tests && npm run clean && npm i && git tag $npm_package_version && git push && git push --tags && npm publish
npm i hyperapp-compat

Metadata

  • MIT
  • Whatever
  • Wolfgang Wedemeyer
  • released 5/28/2019

Downloads

Maintainers