UNPKG

hyperapp

Version:

1 KB JavaScript library for building frontend applications.

43 lines (42 loc) 1.28 kB
{ "name": "hyperapp", "description": "1 KB JavaScript library for building frontend applications.", "version": "0.12.1", "main": "dist/hyperapp.js", "jsnext:main": "src/index.js", "module": "src/index.js", "license": "MIT", "repository": "hyperapp/hyperapp", "files": [ "src", "dist" ], "author": "Jorge Bucaran", "keywords": [ "hyperapp", "elm", "jsx", "vdom", "hyperx", "hyperscript" ], "scripts": { "test": "jest --coverage --no-cache", "build": "npm run bundle && npm run minify", "bundle": "rollup -i src/index.js -o dist/hyperapp.js -m -f umd -n hyperapp", "minify": "uglifyjs dist/hyperapp.js -o dist/hyperapp.js --mangle --compress warnings=false --pure-funcs=Object.defineProperty -p relative --source-map dist/hyperapp.js.map", "prepublish": "npm run build", "format": "prettier --semi false --write 'src/**/*.js'", "release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish" }, "babel": { "presets": "es2015" }, "devDependencies": { "babel-preset-es2015": "^6.24.1", "jest": "^20.0.4", "prettier": "~1.6.0", "rollup": "^0.49.1", "uglify-js": "^2.7.5" } }