hyperload

v0.0.1
Dynamically imported components for Hyperapp

clean

npx rimraf dist node_modules

format

prettier --write src/**/*.js

format:check

prettier --list-different src/**/*.js

lint

eslint src/**/*.js

bundle

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

minify

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

check

npm run format:check && npm run lint

build

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

prepare

npm run build

release

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

Metadata

  • MIT
  • Whatever
  • Wolfgang Wedemeyer
  • released 4/23/2019

Downloads

Maintainers