forked from GrosSacASac/DOM99
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (84 loc) · 3.35 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
86
87
88
89
90
91
92
93
{
"name": "dom99",
"version": "16.0.3",
"license": "BSL-1.0",
"module": "built/dom99ES.js",
"main": "built/dom99Require.js",
"url": "https://dom99.now.sh/",
"homepage": "https://dom99.now.sh/",
"description": "Extend html with directives to manipulate the dom with JavaScript",
"repository": {
"type": "git",
"url": "git://github.com/GrosSacASac/DOM99.git"
},
"dependencies": {},
"devDependencies": {
"@babel/polyfill": "^7.0.0",
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"html-minifier": "^3.5.20",
"jsdoc": "^3.5.5",
"rollup": "^0.65.0",
"template-mb": "^2.0.6",
"terser": "^3.8.2",
"utilsac": "^9.0.1"
},
"scripts": {
"roll": "rollup --config tools/rollup.config.js",
"transpile": "babel built/dom99Script.js > built/dom99Script.es5.js",
"minify": "terser built/dom99Script.es5.js --ie8 --compress drop_console,properties,dead_code,join_vars --mangle -o built/dom99Script.es5.min.js && terser built/dom99ES.js --type module --ie8 --toplevel --compress drop_console,properties,dead_code,join_vars --mangle -o built/dom99ES.min.js",
"build": "npm run roll && npm run transpile && npm run minify",
"transpilePolyfills": "babel polyfills/remove.js > polyfills/built/remove.js && babel polyfills/dom-hidden.js > polyfills/built/dom-hidden.js",
"bundleExamples": "node tools/buildExamples.js",
"transpileExamples": "babel examples/js/built --out-dir examples/js/builtes5",
"exampleDependencies": "node tools/exampleDependencies.js",
"buildexamples": "npm run bundleExamples && npm run transpileExamples && npm run exampleDependencies",
"builddocexamples": "babel documentation/js/documentation.js > documentation/js/documentation.es5.min.js",
"generatehtml": "node tools/buildHTML",
"prepareSite": "node tools/prepareSite.js",
"jsdoc": "jsdoc source/dom99.js -t documentation/jsdoctemplate --destination ./documentation",
"docs": "npm run builddocexamples && npm run generatehtml && npm run prepareSite && npm run jsdoc",
"buildyesnocomponentexample": "rollup components/yesNoDialog/examples/js/ScrollTest.js --o components/yesNoDialog/examples/js/built/ScrollTest-bundled.js --f iife && babel components/yesNoDialog/examples/js/built/ScrollTest-bundled.js > components/yesNoDialog/examples/js/built/ScrollTest.js",
"buildAll": "npm run build && npm run transpilePolyfills && npm run buildexamples && npm run docs && npm run buildyesnocomponentexample",
"most": "npm run build && npm run generatehtml",
"prepublishOnlyDisabled": "npm run most",
"serve-doc": "cd documentation && http-server",
"deploynow": "cd documentation && now --public",
"aliasnow": "now alias https://documentation-idlakfyzsr.now.sh dom99"
},
"babel": {
"plugins": [],
"presets": [
[
"env",
{
"loose": true,
"targets": {
"browsers": [
"> 0.1%",
"last 3 versions",
"ie 10",
"ie 11"
]
}
}
]
]
},
"keywords": [
"html",
"dom",
"declarative",
"custom",
"elements",
"web",
"component",
"framework",
"library",
"reactive",
"data-attributes",
"light",
"browser"
]
}