forked from WebReflection/hyperHTML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.58 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "hyperhtml",
"version": "2.5.11",
"description": "A Fast & Light Virtual DOM Alternative",
"homepage": "https://viperhtml.js.org/hyper.html",
"browser": "min.js",
"main": "cjs/index.js",
"module": "esm/index.js",
"scripts": {
"add-domdiff": "echo '/* AUTOMATICALLY IMPORTED, DO NOT MODIFY */' > esm/shared/domdiff.js && cat node_modules/domdiff/esm/index.js >> esm/shared/domdiff.js",
"build": "npm run cjs && npm run max && npm run min && npm run ie && npm test && npm run size",
"cleanup": "bash -c \"echo \\\"\\$(cat index.js | sed 's/(exports)/(global)/' | sed 's/return exports;/return hyper;/' | sed -e 's/exports.*;//g' | sed 's/({})/(window)/')\\\" > index.js\"",
"cjs": "npm run add-domdiff && ascjs ./esm ./cjs",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"ie": "babel ./test/test.js --out-dir ./test/ie --plugins=$(node -e 'console.log([\"transform-es2015-classes\", \"transform-es2015-template-literals\"].concat(require(\"./babel-plugins.json\")).join(\",\"))')",
"max": "rollup --config rollup.config.js && npm run cleanup",
"min": "echo \"/*! (c) Andrea Giammarchi (ISC) */$(uglifyjs index.js --support-ie8 --comments=/^!/ -c -m)\" > min.js",
"umd": "echo \"(function(A,G){if(typeof define=='function'&&define.amd)define([],G);else if(typeof module=='object'&&module.exports)module.exports=G();else A.hyperHTML=G()}(typeof self!='undefined'?self:this,function(){\">umd.js;cat min.js>>umd.js;echo \"return hyperHTML}));\">>umd.js",
"size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c",
"brotli": "cat min.js | bro | wc -c",
"test": "cp index.js index.c.js && echo 'module.exports = hyperHTML;' >> index.c.js && istanbul cover test/runner.js && rm index.c.js",
"postinstall": "lightercollective"
},
"repository": {
"type": "git",
"url": "git+/~https://github.com/WebReflection/hyperhtml.git"
},
"keywords": [
"dom",
"diff",
"performance",
"template",
"literals",
"lightweight",
"fast",
"react",
"virtual",
"lit-html",
"alternative"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"bugs": {
"url": "/~https://github.com/WebReflection/hyperhtml/issues"
},
"devDependencies": {
"ascjs": "^2.4.0",
"babel-cli": "^6.26.0",
"babel-plugin-check-es2015-constants": "^6.22.0",
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
"babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
"babel-plugin-transform-es2015-block-scoping": "^6.26.0",
"babel-plugin-transform-es2015-classes": "^6.24.1",
"babel-plugin-transform-es2015-computed-properties": "^6.24.1",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-duplicate-keys": "^6.24.1",
"babel-plugin-transform-es2015-function-name": "^6.24.1",
"babel-plugin-transform-es2015-literals": "^6.22.0",
"babel-plugin-transform-es2015-shorthand-properties": "^6.24.1",
"babel-plugin-transform-es2015-spread": "^6.22.0",
"babel-plugin-transform-es2015-template-literals": "^6.22.0",
"basichtml": "^0.13.2",
"coveralls": "^3.0.0",
"domdiff": "^0.3.6",
"istanbul": "^0.4.5",
"rollup": "^0.56.0",
"rollup-plugin-babel": "^3.0.2",
"tressa": "^0.3.1",
"uglify-js": "^2.8.29"
},
"greenkeeper": {
"ignore": [
"basichtml",
"uglify-js"
]
},
"dependencies": {
"lightercollective": "^0.0.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/hyperhtml",
"logo": "https://opencollective.com/hyperhtml/logo.txt"
}
}