mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
basic project infrastructure
This commit is contained in:
+9
-3
@@ -4,10 +4,12 @@
|
||||
"description": "Core Utils for Odoo Web Client",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "tsc -m amd --lib es2017,dom --target esnext --outfile dist/bundle.js",
|
||||
"build:watch": "tsc --watch -m amd --lib es2017,dom --target esnext --outfile dist/bundle.js",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch"
|
||||
"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": "nodemon -w src -e ts -x 'npm run bundle:core'",
|
||||
"demo": "cp -r demo/ dist/demo && tsc -m amd --lib es2017,dom --target esnext --outfile dist/demo/main.js demo/src/main.ts",
|
||||
"postdemo": "open dist/demo/index.html"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -22,6 +24,10 @@
|
||||
"devDependencies": {
|
||||
"@types/jest": "^23.3.12",
|
||||
"jest": "^23.6.0",
|
||||
"nodemon": "^1.18.9",
|
||||
"rollup": "^1.1.0",
|
||||
"rollup-plugin-typescript2": "^0.19.0",
|
||||
"source-map-support": "^0.5.10",
|
||||
"ts-jest": "^23.10.5",
|
||||
"typescript": "^3.2.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user