1 | {
|
2 | "name": "hyperapp",
|
3 | "description": "1 kB JavaScript framework for building web applications.",
|
4 | "version": "1.2.6",
|
5 | "main": "dist/hyperapp.js",
|
6 | "module": "src/index.js",
|
7 | "typings": "hyperapp.d.ts",
|
8 | "license": "MIT",
|
9 | "repository": "hyperapp/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 | "vdom"
|
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.6.1",
|
47 | "jest": "^22.4.3",
|
48 | "prettier": "^1.11.1",
|
49 | "rollup": "^0.57.1",
|
50 | "typescript": "2.8.1",
|
51 | "uglify-js": "3.3.16"
|
52 | },
|
53 | "prettier": {
|
54 | "semi": false
|
55 | }
|
56 | }
|