2019-01-16 11:28:05 +01:00
|
|
|
{
|
|
|
|
|
"name": "web-core",
|
2019-03-14 09:36:48 +01:00
|
|
|
"version": "0.1.1",
|
2019-01-16 11:28:05 +01:00
|
|
|
"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-03-14 11:02:14 +01:00
|
|
|
"build": "cp -r demo/ dist/app && npm run build:js && npm run build:css && npm run build:xml",
|
|
|
|
|
"build:css": "sass demo/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 demo/static/src/ts/main.ts",
|
|
|
|
|
"build:xml": "cpx demo/static/src/xml/templates.xml dist/app",
|
2019-01-23 14:28:41 +01:00
|
|
|
"minify": "uglifyjs dist/app/main.js -o dist/app/main.js --compress --mangle",
|
2019-01-22 19:25:12 +01:00
|
|
|
"serve": "live-server --entry-file=index.html dist/app/",
|
|
|
|
|
"predev": "npm run build",
|
2019-03-13 15:26:10 +01:00
|
|
|
"dev": "npm-run-all --parallel \"build:* -- --watch\" serve",
|
2019-03-14 11:30:49 +01:00
|
|
|
"prepackage:core": "tsc --allowjs --lib es2017,dom --target esnext --outDir dist/core src/*",
|
2019-03-14 09:36:48 +01:00
|
|
|
"package:core": "rollup -c",
|
2019-03-13 15:26:10 +01:00
|
|
|
"postpackage:core": "uglifyjs dist/core.js -o dist/core.min.js --compress --mangle"
|
2019-01-16 11:28:05 +01:00
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/ged-odoo/web-core.git"
|
|
|
|
|
},
|
2019-03-14 09:36:48 +01:00
|
|
|
"author": "Odoo",
|
2019-01-16 11:28:05 +01:00
|
|
|
"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",
|
2019-02-02 11:41:19 +01:00
|
|
|
"cpx": "^1.5.0",
|
2019-01-16 11:28:05 +01:00
|
|
|
"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-03-13 15:26:10 +01:00
|
|
|
"rollup": "^1.6.0",
|
|
|
|
|
"rollup-plugin-typescript2": "^0.19.3",
|
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",
|
2019-01-23 14:28:41 +01:00
|
|
|
"typescript": "^3.2.2",
|
|
|
|
|
"uglify-es": "^3.3.9"
|
2019-01-17 17:13:46 +01:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"snabbdom": "^0.7.3"
|
2019-01-16 11:28:05 +01:00
|
|
|
}
|
|
|
|
|
}
|