forked from jorgebucaran/hyperapp-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.48 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
{
"name": "@hyperapp/html",
"description": "Html helper functions for Hyperapp.",
"version": "0.5.1",
"main": "dist/html.dist.js",
"jsnext:main": "dist/html.js",
"module": "dist/html.js",
"types": "dist/html.d.ts",
"license": "MIT",
"repository": "hyperapp/html",
"files": [
"src",
"dist"
],
"author": "Quentin Gerodel",
"keywords": [
"hyperapp",
"hyperscript",
"html",
"vdom",
"h"
],
"scripts": {
"test": "jest --coverage --no-cache",
"compile": "rimraf dist && swig render -j vars.json src/html.* -o dist",
"bundle": "rollup -n html -f umd -i dist/html.js -g hyperapp:hyperapp -o dist/html.dist.js",
"minify": "uglifyjs dist/html.dist.js -o dist/html.dist.js --mangle --compress warnings=false --pure-funcs=Object.defineProperty -p relative --source-map dist/html.js.map",
"build": "npm run compile && npm run bundle && npm run minify",
"prepare": "npm run build",
"format": "prettier --semi false --write 'src/**/*.js' 'src/**/*.ts'",
"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"
},
"devDependencies": {
"babel-preset-env": "^1.6.0",
"jest": "^21.1.0",
"prettier": "^1.7.0",
"rimraf": "^2.6.2",
"rollup": "^0.50.0",
"swig": "^1.4.2",
"uglify-js": "2.7.5",
"hyperapp": "^0.14.0"
},
"peerDependencies": {
"hyperapp": "^0.15.0"
}
}