Files
owl/package.json
T
Géry Debongnie c5951cc98e bump to v0.4.0
- rebranding to OWL
- much better documentation
- qweb compiler optimizations/cleanup
- many bug fixes
2019-03-28 09:51:40 +01:00

63 lines
3.0 KiB
JSON

{
"name": "owl",
"version": "0.4.0",
"description": "Odoo Web Lab",
"main": "src/index.ts",
"scripts": {
"build:js": "tsc --lib es2017,dom --target esnext --outDir dist/core src/*",
"build:bundle": "rollup -c",
"build": "npm run build:js && npm run build:bundle",
"minify": "uglifyjs dist/core.js -o dist/core.min.js --compress --mangle",
"dev": "npm-run-all --parallel \"build:* -- --watch\"",
"test": "jest",
"test:watch": "jest --watch",
"example:web:build": "cpx \"examples/web/**/*.{html,js,css,ttf,woff,woff2}\" dist/examples/web && npm-run-all --parallel example:web:build:*",
"example:web:build:css": "sass examples/web/static/src/scss/app.scss dist/examples/web/app.css",
"example:web:build:js": "tsc --allowjs -m amd --lib es2017,dom --target esnext --outfile dist/examples/web/main.js examples/web/static/src/ts/main.ts",
"example:web:build:xml": "cpx examples/web/static/src/xml/templates.xml dist/examples/web",
"example:web:minify": "uglifyjs dist/examples/web/main.js -o dist/examples/web/main.js --compress --mangle",
"example:web:serve": "live-server --entry-file=index.html dist/examples/web/",
"preexample:web:dev": "npm run example:web:build",
"example:web:dev": "npm-run-all --parallel \"example:web:build:* -- --watch\" example:web:serve",
"example:benchmarks:build:core": "npm run build && cpx \"dist/core.js\" dist/examples/benchmarks",
"example:benchmarks:build:js": "cpx \"examples/benchmarks/{*.html,*.js,*.css}\" dist/examples/benchmarks",
"example:benchmarks:build": "npm-run-all --parallel example:benchmarks:build:*",
"example:benchmarks:serve": "live-server --entry-file=index.html dist/examples/benchmarks/",
"example:benchmarks:dev": "npm-run-all --parallel \"example:benchmarks:build:* -- --watch\" example:benchmarks:serve",
"example:todoapp:build:core": "npm run build && cpx \"dist/core.js\" dist/examples/todoapp",
"example:todoapp:build:js": "cpx \"examples/todoapp/{*.html,**/*.js,*.css,*.xml}\" dist/examples/todoapp",
"example:todoapp:build": "npm-run-all --parallel example:todoapp:build:*",
"example:todoapp:serve": "live-server --entry-file=index.html dist/examples/todoapp/",
"example:todoapp:dev": "npm-run-all --parallel \"example:todoapp:build:* -- --watch\" example:todoapp:serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ged-odoo/web-core.git"
},
"author": "Odoo",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/ged-odoo/web-core/issues"
},
"homepage": "https://github.com/ged-odoo/web-core#readme",
"devDependencies": {
"@types/jest": "^23.3.12",
"cpx": "^1.5.0",
"jest": "^23.6.0",
"live-server": "^1.2.1",
"npm-run-all": "^4.1.5",
"rollup": "^1.6.0",
"rollup-plugin-typescript2": "^0.19.3",
"sass": "^1.16.1",
"snabbdom-to-html": "^5.1.1",
"source-map-support": "^0.5.10",
"ts-jest": "^23.10.5",
"typescript": "^3.2.2",
"git-rev-sync": "^1.12.0",
"uglify-es": "^3.3.9"
},
"dependencies": {
"snabbdom": "^0.7.3"
}
}