Files
owl/package.json
T
2019-02-02 16:26:20 +01:00

47 lines
1.5 KiB
JSON

{
"name": "web-core",
"version": "0.1.0",
"description": "Core Utils for Odoo Web Client",
"main": "index.js",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"build": "cp -r web/ dist/app && npm run build:js && npm run build:css && npm run build:xml",
"build:css": "sass web/static/src/scss/app.scss dist/app/app.css",
"build:js": "tsc --allowjs -m amd --lib es2017,dom --target esnext --outfile dist/app/main.js web/static/src/ts/main.ts",
"build:xml": "cpx web/static/src/xml/templates.xml dist/app",
"minify": "uglifyjs dist/app/main.js -o dist/app/main.js --compress --mangle",
"serve": "live-server --entry-file=index.html dist/app/",
"predev": "npm run build",
"dev": "npm-run-all --parallel \"build:* -- --watch\" serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ged-odoo/web-core.git"
},
"author": "",
"license": "ISC",
"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.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",
"typescript": "^3.2.2",
"uglify-es": "^3.3.9"
},
"dependencies": {
"snabbdom": "^0.7.3"
}
}