Permalink
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (56 sloc) 1.55 KB
{
"name": "hyperapp",
"description": "1 kB JavaScript micro-framework for building declarative web applications.",
"version": "1.2.9",
"main": "dist/hyperapp.js",
"module": "src/index.js",
"typings": "hyperapp.d.ts",
"license": "MIT",
"repository": "jorgebucaran/hyperapp",
"homepage": "https://hyperapp.js.org",
"files": [
"src",
"dist",
"hyperapp.d.ts"
],
"author": "Jorge Bucaran",
"keywords": [
"hyperapp",
"frontend",
"framework",
"virtual dom",
"declarative"
],
"scripts": {
"test": "jest --coverage --no-cache && tsc -p test/ts",
"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 -mc pure_funcs=['Object.defineProperty'] --source-map includeSources,url=hyperapp.js.map",
"prepare": "npm run build",
"format": "prettier --write {src,test}/**/*.js {,test/ts/}*.{ts,tsx}",
"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": "env",
"plugins": [
[
"transform-react-jsx",
{
"pragma": "h"
}
]
]
},
"devDependencies": {
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.7.0",
"jest": "^23.5.0",
"prettier": "^1.14.2",
"rollup": "^0.65.2",
"typescript": "3.0.3",
"uglify-js": "3.4.9"
},
"prettier": {
"semi": false
}
}