forked from jorgebucaran/hyperapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.39 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
{
"name": "hyperapp",
"description": "The tiny framework for building web interfaces.",
"version": "2.0.3",
"main": "src/index.js",
"module": "src/index.js",
"unpkg": "src/index.js",
"browser": "src/index.js",
"license": "MIT",
"repository": "jorgebucaran/hyperapp",
"homepage": "https://hyperapp.dev",
"files": [
"src",
"dist"
],
"author": "Jorge Bucaran",
"keywords": [
"hyperapp",
"frontend",
"framework",
"virtual dom",
"vdom"
],
"scripts": {
"test": "nyc -i esm -r lcov testmatrix test/*.test.js && nyc report",
"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": {
"esm": "^3.2.25",
"nyc": "^14.1.1",
"testmatrix": "^0.1.2",
"jsdom": "15.1.1",
"rollup": "*",
"terser": "^4.3.8"
}
}