-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
94 lines (94 loc) · 7.72 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
94
{
"public": true,
"name": "mikado",
"description": "Web's fastest template library to build user interfaces.",
"homepage": "https://github.com/nextapps-de/mikado/",
"author": "Thomas Wilkerling",
"copyright": "Nextapps GmbH",
"version": "0.8.400",
"license": "Apache-2.0",
"keywords": [
"Templating",
"Template",
"Virtual DOM",
"Template Engine",
"Mustache",
"Handlebars",
"Reactive"
],
"bugs": {
"url": "https://github.com/nextapps-de/mikado/issues",
"email": "[email protected]"
},
"main": "ssr/index.js",
"module": "dist/mikado.bundle.module.min.js",
"browser": {
"ssr/index.js": "./dist/mikado.bundle.min.js",
"dist/mikado.bundle.module.min.js": "./dist/mikado.bundle.module.min.js"
},
"types": "./index.d.ts",
"bin": {
"mikado-compile": "compiler/cli.js"
},
"preferGlobal": false,
"repository": {
"type": "git",
"url": "https://github.com/nextapps-de/mikado.git"
},
"scripts": {
"build": "npm run build:bundle && npm run build:bundle:debug",
"build:bundle": "node task/build RELEASE=bundle POLYFILL=false DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_WEB_COMPONENTS=true SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=true PROFILER=false && exit 0",
"build:bundle:debug": "node task/build RELEASE=bundle POLYFILL=false DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_WEB_COMPONENTS=true SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=true PROFILER=false && exit 0",
"build:light": "node task/build RELEASE=light POLYFILL=false DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=false SUPPORT_DOM_HELPERS=false SUPPORT_CACHE_HELPERS=false SUPPORT_ASYNC=false SUPPORT_REACTIVE=false SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=false SUPPORT_WEB_COMPONENTS=false SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=false PROFILER=false && exit 0",
"build:light:debug": "node task/build RELEASE=light POLYFILL=false DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=false SUPPORT_DOM_HELPERS=false SUPPORT_CACHE_HELPERS=false SUPPORT_ASYNC=false SUPPORT_REACTIVE=false SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=false SUPPORT_WEB_COMPONENTS=false SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=false PROFILER=false && exit 0",
"build:es5": "node task/build RELEASE=es5 POLYFILL=true DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_COMPILE=true SUPPORT_WEB_COMPONENTS=false SUPPORT_COMPACT_TEMPLATE=true PROFILER=false LANGUAGE_OUT=ECMASCRIPT5 && exit 0",
"build:es5:debug": "node task/build RELEASE=es5 POLYFILL=true DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_COMPILE=true SUPPORT_WEB_COMPONENTS=false SUPPORT_COMPACT_TEMPLATE=true PROFILER=false LANGUAGE_OUT=ECMASCRIPT5 && exit 0",
"build:test": "node task/build RELEASE=pre POLYFILL=true DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_WEB_COMPONENTS=true SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=true PROFILER=false && exit 0",
"build:module": "node task/babel && exit 0",
"build:module:debug": "node task/babel DEBUG=true && exit 0",
"build:module:min": "node task/babel RELEASE=min && exit 0",
"build:module:bundle": "node task/build RELEASE=bundle.module POLYFILL=false DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_WEB_COMPONENTS=true SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=true PROFILER=false && exit 0",
"build:module:bundle:debug": "node task/build RELEASE=bundle.module POLYFILL=false DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_WEB_COMPONENTS=true SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=true PROFILER=false && exit 0",
"build:module:light": "node task/build RELEASE=light.module POLYFILL=false DEBUG=false SUPPORT_CACHE=true SUPPORT_EVENTS=false SUPPORT_DOM_HELPERS=false SUPPORT_CACHE_HELPERS=false SUPPORT_ASYNC=false SUPPORT_REACTIVE=false SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=false SUPPORT_WEB_COMPONENTS=false SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=false PROFILER=false && exit 0",
"build:module:light:debug": "node task/build RELEASE=light.module POLYFILL=false DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=false SUPPORT_DOM_HELPERS=false SUPPORT_CACHE_HELPERS=false SUPPORT_ASYNC=false SUPPORT_REACTIVE=false SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=false SUPPORT_WEB_COMPONENTS=false SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=false PROFILER=false && exit 0",
"build:bundle:profiler": "node task/build RELEASE=bundle.profiler POLYFILL=false DEBUG=true SUPPORT_CACHE=true SUPPORT_EVENTS=true SUPPORT_DOM_HELPERS=true SUPPORT_CACHE_HELPERS=true SUPPORT_ASYNC=true SUPPORT_REACTIVE=true SUPPORT_KEYED=true SUPPORT_POOLS=true SUPPORT_CALLBACKS=true SUPPORT_WEB_COMPONENTS=true SUPPORT_COMPACT_TEMPLATE=true SUPPORT_COMPILE=true PROFILER=true && exit 0",
"build:custom": "node task/build RELEASE=custom",
"build:all": "npm version --no-git-tag-version patch && npm run build:bundle && npm run build:bundle:debug && npm run build:light && npm run build:light:debug && npm run build:es5 && npm run build:es5:debug && npm run build:module && npm run build:module:debug && npm run build:module:min && npm run build:module:bundle && npm run build:module:bundle:debug && npm run build:module:light && npm run build:module:light:debug",
"test": "npm run build:test && npm run build:light && npx mikado-compile test/template.html -f && npx mikado-compile test/proxy.html -f && npx mikado-compile test/keyed.html -f && npx mikado-compile test/bench/template/ -f && cd test && npm install && npm run test"
},
"files": [
"index.d.ts",
"dist/",
"src/",
"ssr/",
"compiler/",
"express/",
"task/",
"README.md",
"LICENSE"
],
"readme": "README.md",
"dependencies": {
"html2json": "^1.0.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-conditional-compile": "^0.0.5",
"babel-plugin-minify-constant-folding": "^0.5.0",
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
"babel-plugin-minify-flip-comparisons": "^0.4.3",
"babel-plugin-minify-guarded-expressions": "^0.4.4",
"babel-plugin-minify-infinity": "^0.4.3",
"babel-plugin-minify-mangle-names": "^0.5.1",
"babel-plugin-minify-replace": "^0.5.0",
"babel-plugin-minify-simplify": "^0.5.1",
"babel-plugin-minify-type-constructors": "^0.4.3",
"babel-plugin-transform-member-expression-literals": "^6.9.4",
"babel-plugin-transform-merge-sibling-variables": "^6.9.5",
"babel-plugin-transform-minify-booleans": "^6.9.4",
"babel-plugin-transform-property-literals": "^6.9.4",
"babel-plugin-transform-simplify-comparison-operators": "^6.9.4",
"babel-plugin-transform-undefined-to-void": "^6.9.4",
"google-closure-compiler": "^20231005.0.0-nightly"
}
}