This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
46 lines (46 loc) · 1.43 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
{
"name": "@hyperapp/html",
"description": "Html helper functions for Hyperapp.",
"version": "1.1.1",
"main": "dist/hyperappHtml.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"
],
"scripts": {
"test": "jest --coverage --no-cache",
"compile": "rimraf dist && swig render -j vars.json src/html.* -o dist",
"bundle": "rollup -n hyperappHtml -f umd -i dist/html.js -g hyperapp:hyperapp -o dist/hyperappHtml.js",
"minify": "uglifyjs dist/hyperappHtml.js -o dist/hyperappHtml.js -mc pure_funcs=['Object.defineProperty'] --source-map includeSources,url=hyperappHtml.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.1",
"jest": "^22.4.3",
"prettier": "^1.11.1",
"rimraf": "^2.6.2",
"rollup": "^0.57.1",
"swig": "^1.4.2",
"uglify-js": "3.3.16",
"hyperapp": "^1.2.5"
},
"peerDependencies": {
"hyperapp": "^1.2.5"
}
}