-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.4 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.4 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "lighterhtml-plus",
"version": "4.1.0",
"description": "lighterhtml plus `onconnected`, `ondisconnected`, and `onattributechanged` events",
"main": "cjs/index.js",
"module": "esm/index.js",
"unpkg": "min.js",
"scripts": {
"build": "npm run copy && npm run rollup && npm run es && npm run clean && npm run cjs && npm run min && npm run size",
"cjs": "ascjs esm cjs",
"clean": "sed -i.bck -e 's/var isNoOp =.*/var isNoOp = false;/' index.js && sed -i.bck 's/(exports)/(document,exports)/;s/({}));/(document,{}));/' index.js && rm index.js.bck",
"es": "rollup --config es.config.js && sed -i.bck 's/var /\\/*! (c) Andrea Giammarchi - ISC *\\/var /' es.js && rm es.js.bck",
"min": "echo '/*! (c) Andrea Giammarchi - ISC */' > min.js && uglifyjs index.js -c -m >> min.js",
"rollup": "rollup --config rollup.config.js && drop-babel-typeof index.js",
"size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat es.js | wc -c;gzip -c9 es.js | wc -c",
"copy": "npm run copy:all && npm run copy:patch",
"copy:all": "cp node_modules/lighterhtml/esm/*.js esm/",
"copy:patch": "cp plus.js esm/tagger.js && cat node_modules/lighterhtml/esm/tagger.js | sed 's/event, //' >> esm/tagger.js",
"test": "echo 'please check lighterhtml'"
},
"keywords": [
"html",
"svg",
"render",
"hyper",
"lit",
"alternative"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.11.4",
"@babel/preset-env": "^7.11.0",
"ascjs": "^4.0.1",
"babel-plugin-remove-ungap": "^1.2.0",
"drop-babel-typeof": "^1.0.3",
"lighterhtml": "^4.1.0",
"rollup": "^2.26.5",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.0",
"uglify-es": "^3.3.9"
},
"dependencies": {
"@ungap/create-content": "^0.2.0",
"@ungap/custom-event": "^0.3.1",
"@ungap/weakmap": "^0.2.1",
"attributechanged": "^0.2.0",
"disconnected": "^0.2.1",
"domsanitizer": "^0.2.2",
"domtagger": "^0.7.0",
"hyperhtml-style": "^0.1.2",
"hyperhtml-wire": "^2.1.1",
"udomdiff": "^1.1.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/lighterhtml.git"
},
"bugs": {
"url": "https://github.com/WebReflection/lighterhtml/issues"
},
"homepage": "https://github.com/WebReflection/lighterhtml#readme"
}