forked from hyperapp/hyperapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.23 KB
/
Copy pathpackage.json
File metadata and controls
35 lines (35 loc) · 1.23 KB
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
{
"name": "hyperapp",
"description": "JavaScript micro-framework for building web interfaces.",
"version": "2.0.0-beta.22",
"main": "src/index.js",
"module": "src/index.js",
"license": "MIT",
"repository": "jorgebucaran/hyperapp",
"homepage": "https://github.com/jorgebucaran/hyperapp",
"files": [
"src",
"dist"
],
"author": "Jorge Bucaran",
"keywords": [
"hyperapp",
"frontend",
"framework",
"virtual dom",
"vdom"
],
"scripts": {
"test": "exit 0",
"build": "export dir=${pkg:+lib/$pkg/} pkg=$npm_package_name$pkg; npm run bundle && npm run minify",
"bundle": "rollup -i ${dir}$npm_package_module -o ${dir}dist/$pkg.js --no-esModule -mf iife -n $pkg",
"minify": "terser ${dir}dist/$pkg.js -o ${dir}dist/$pkg.js -mc --source-map includeSources,url=$pkg.js.map",
"create": "npm run build && git commit -am $msg && git tag -s $msg -m $msg && git push && git push --tags",
"release": "env msg=$(npm run -s message) npm run create && cd ./${pkg:+lib/$pkg} && npm publish --access public",
"message": "echo ${pkg:+@$npm_package_name/$pkg@}$(node -p \"require('./${pkg:+lib/$pkg/}package').version\")"
},
"devDependencies": {
"rollup": "*",
"terser": "^4.0.0"
}
}