basic qweb vdom implementation

This commit is contained in:
Géry Debongnie
2019-01-17 18:08:39 +01:00
parent e7415cd811
commit 3a4d1ef1ba
9 changed files with 1210 additions and 21 deletions
+3 -2
View File
@@ -9,7 +9,7 @@
"bundle:core": "tsc -m es6 --lib es2017,dom --target esnext --outdir dist src/bundles/core.ts && rollup dist/bundles/core.js --file dist/bundle-core.js --format iife",
"bundle:core:watch": "npm run bundle:core -- --watch",
"demo:build": "cp -r demo/ dist/demo && npm run demo:build:js",
"demo:build:js": "tsc -m amd --lib es2017,dom --target esnext --outfile dist/demo/main.js demo/src/main.ts",
"demo:build:js": "tsc --allowjs -m amd --lib es2017,dom --target esnext --outfile dist/demo/main.js demo/src/main.ts",
"predemo:watch": "npm run demo:build",
"demo:watch": "npm run demo:build:js -- --watch",
"demo:serve": "live-server dist/demo/"
@@ -27,11 +27,12 @@
"devDependencies": {
"@types/jest": "^23.3.12",
"jest": "^23.6.0",
"live-server": "^1.2.1",
"rollup": "^1.1.0",
"rollup-plugin-typescript2": "^0.19.0",
"snabbdom-to-html": "^5.1.1",
"source-map-support": "^0.5.10",
"ts-jest": "^23.10.5",
"live-server": "^1.2.1",
"typescript": "^3.2.2"
},
"dependencies": {