forked from jorgebucaran/hyperapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.14 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
{
"name": "hyperapp",
"description": "The tiny framework for building hypertext applications",
"version": "2.0.8",
"type": "module",
"main": "hyperapp.js",
"license": "MIT",
"repository": "jorgebucaran/hyperapp",
"homepage": "https://hyperapp.dev",
"files": [
"*.js*"
],
"author": "Jorge Bucaran",
"funding": "https://github.com/sponsors/jorgebucaran",
"keywords": [
"hyperapp",
"frontend",
"framework",
"vdom",
"web",
"app",
"ui"
],
"scripts": {
"test": "c8 twist test/*.js",
"build": "env prefix=${pkg:+pkg/$pkg/} out=$npm_package_name${pkg:+.$pkg}.js npm run minify",
"minify": "terser ${prefix}index.js -o ${prefix}$out -mc --source-map url=$out.map --module",
"create": "npm run build && git commit -am $msg && git tag -s $msg -m $msg && git push && git push --tags",
"message": "echo ${pkg:+@$npm_package_name/$pkg@}$(node -p \"require('./${pkg:+pkg/$pkg/}package').version\")",
"release": "env msg=$(npm run -s message) npm run create && cd ./${pkg:+pkg/$pkg} && npm publish --access public"
},
"devDependencies": {
"c8": "*",
"twist": "*",
"terser": "*"
}
}