forked from jorgebucaran/hyperapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"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
}
}