2019-01-16 11:28:05 +01:00
|
|
|
{
|
|
|
|
|
"name": "web-core",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"description": "Core Utils for Odoo Web Client",
|
|
|
|
|
"main": "index.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"test": "jest",
|
2019-01-16 13:19:58 +01:00
|
|
|
"test:watch": "jest --watch",
|
2019-01-22 19:25:12 +01:00
|
|
|
"build": "cp -r web/ dist/app && npm run build:js && npm run build:css",
|
|
|
|
|
"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",
|
|
|
|
|
"serve": "live-server --entry-file=index.html dist/app/",
|
|
|
|
|
"predev": "npm run build",
|
|
|
|
|
"dev": "npm-run-all --parallel \"build:* -- --watch\" serve"
|
2019-01-16 11:28:05 +01:00
|
|
|
},
|
|
|
|
|
"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",
|
|
|
|
|
"jest": "^23.6.0",
|
2019-01-17 18:08:39 +01:00
|
|
|
"live-server": "^1.2.1",
|
2019-01-21 23:08:03 +01:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-01-16 13:19:58 +01:00
|
|
|
"rollup": "^1.1.0",
|
|
|
|
|
"rollup-plugin-typescript2": "^0.19.0",
|
2019-01-21 23:08:03 +01:00
|
|
|
"sass": "^1.16.1",
|
2019-01-17 18:08:39 +01:00
|
|
|
"snabbdom-to-html": "^5.1.1",
|
2019-01-16 13:19:58 +01:00
|
|
|
"source-map-support": "^0.5.10",
|
2019-01-16 11:28:05 +01:00
|
|
|
"ts-jest": "^23.10.5",
|
|
|
|
|
"typescript": "^3.2.2"
|
2019-01-17 17:13:46 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"snabbdom": "^0.7.3"
|
2019-01-16 11:28:05 +01:00
|
|
|
}
|
|
|
|
|
}
|