UNPKG

1.59 kBJSONView Raw
1{
2 "name": "hyperapp",
3 "description": "1 kB JavaScript micro-framework for building declarative web applications.",
4 "version": "1.2.10",
5 "main": "dist/hyperapp.js",
6 "module": "src/index.js",
7 "typings": "hyperapp.d.ts",
8 "license": "MIT",
9 "repository": "jorgebucaran/hyperapp",
10 "homepage": "https://hyperapp.js.org",
11 "files": [
12 "src",
13 "dist",
14 "hyperapp.d.ts"
15 ],
16 "author": "Jorge Bucaran",
17 "keywords": [
18 "hyperapp",
19 "frontend",
20 "framework",
21 "virtual dom",
22 "declarative"
23 ],
24 "scripts": {
25 "test": "jest --coverage --no-cache && tsc -p test/ts",
26 "build": "npm run bundle && npm run minify",
27 "bundle": "rollup -i src/index.js -o dist/hyperapp.js -m -f umd -n hyperapp",
28 "minify": "uglifyjs dist/hyperapp.js -o dist/hyperapp.js -mc pure_funcs=['Object.defineProperty'] --source-map includeSources,url=hyperapp.js.map",
29 "prepare": "npm run build",
30 "format": "prettier --write {src,test}/**/*.js {,test/ts/}*.{ts,tsx}",
31 "release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
32 },
33 "babel": {
34 "presets": "env",
35 "plugins": [
36 [
37 "transform-react-jsx",
38 {
39 "pragma": "h"
40 }
41 ]
42 ]
43 },
44 "devDependencies": {
45 "babel-plugin-transform-react-jsx": "^6.24.1",
46 "babel-preset-env": "^1.7.0",
47 "jest": "^23.5.0",
48 "prettier": "^1.14.2",
49 "rollup": "^0.65.2",
50 "typescript": "3.0.3",
51 "uglify-js": "3.4.9"
52 },
53 "prettier": {
54 "semi": false
55 }
56}