mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
work on demo app, add demo:dev command
This commit is contained in:
+7
-4
@@ -8,11 +8,12 @@
|
||||
"test:watch": "jest --watch",
|
||||
"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": "cp -r demo/ dist/demo && npm run demo:build:js && npm run demo:build:css",
|
||||
"demo:build:css": "sass demo/app.scss dist/demo/app.css",
|
||||
"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/"
|
||||
"demo:serve": "live-server dist/demo/",
|
||||
"predemo:dev": "npm run demo:build",
|
||||
"demo:dev": "npm-run-all --parallel \"demo:build:* -- --watch\" demo:serve"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -28,8 +29,10 @@
|
||||
"@types/jest": "^23.3.12",
|
||||
"jest": "^23.6.0",
|
||||
"live-server": "^1.2.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"rollup": "^1.1.0",
|
||||
"rollup-plugin-typescript2": "^0.19.0",
|
||||
"sass": "^1.16.1",
|
||||
"snabbdom-to-html": "^5.1.1",
|
||||
"source-map-support": "^0.5.10",
|
||||
"ts-jest": "^23.10.5",
|
||||
|
||||
Reference in New Issue
Block a user