2019-01-16 11:28:05 +01:00
|
|
|
{
|
2019-12-19 09:12:00 +01:00
|
|
|
"name": "@odoo/owl",
|
2020-01-09 14:37:36 +01:00
|
|
|
"version": "1.0.0",
|
2019-04-18 10:18:53 +02:00
|
|
|
"description": "Odoo Web Library (OWL)",
|
2020-01-09 14:14:52 +01:00
|
|
|
"main": "dist/owl.js",
|
|
|
|
|
"types": "dist/types/index.d.ts",
|
|
|
|
|
"prepublish": "npm run buildcommonjs",
|
|
|
|
|
"files": ["dist/types/", "dist/owl.js"],
|
2019-10-28 13:56:48 +01:00
|
|
|
"engines": {
|
|
|
|
|
"node": ">=10.15.3"
|
|
|
|
|
},
|
2019-01-16 11:28:05 +01:00
|
|
|
"scripts": {
|
2019-06-03 14:38:03 +02:00
|
|
|
"build:js": "tsc --target esnext --module es6 --outDir dist/owl",
|
2019-03-21 14:51:54 +01:00
|
|
|
"build:bundle": "rollup -c",
|
|
|
|
|
"build": "npm run build:js && npm run build:bundle",
|
2019-08-06 07:37:46 +02:00
|
|
|
"buildcommonjs": "npm run build:js && npm run build:bundle -- -f cjs",
|
2019-03-28 10:55:42 +01:00
|
|
|
"minify": "uglifyjs dist/owl.js -o dist/owl.min.js --compress --mangle",
|
2019-01-16 11:28:05 +01:00
|
|
|
"test": "jest",
|
2019-04-29 22:54:26 +02:00
|
|
|
"test:watch": "jest --watch",
|
2019-06-09 16:56:27 +02:00
|
|
|
"tools:serve": "python3 tools/server.py || python tools/server.py",
|
|
|
|
|
"tools": "npm run build && npm run tools:serve",
|
|
|
|
|
"pretools:watch": "npm run build",
|
2019-10-25 10:01:50 +02:00
|
|
|
"tools:watch": "npm-run-all --parallel tools:serve \"build:* -- --watch\"",
|
2019-10-28 16:50:04 +01:00
|
|
|
"prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md} --write"
|
2019-01-16 11:28:05 +01:00
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2019-04-18 18:15:25 +02:00
|
|
|
"url": "git+https://github.com/odoo/owl.git"
|
2019-01-16 11:28:05 +01:00
|
|
|
},
|
2019-03-14 09:36:48 +01:00
|
|
|
"author": "Odoo",
|
2019-09-05 21:44:29 +02:00
|
|
|
"license": "LGPL",
|
2019-01-16 11:28:05 +01:00
|
|
|
"bugs": {
|
2019-04-18 18:15:25 +02:00
|
|
|
"url": "https://github.com/odoo/owl/issues"
|
2019-01-16 11:28:05 +01:00
|
|
|
},
|
2019-04-18 18:15:25 +02:00
|
|
|
"homepage": "https://github.com/odoo/owl#readme",
|
2019-09-05 21:44:29 +02:00
|
|
|
"dependencies": {},
|
2019-01-16 11:28:05 +01:00
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/jest": "^23.3.12",
|
2019-02-02 11:41:19 +01:00
|
|
|
"cpx": "^1.5.0",
|
2019-04-18 22:44:00 +02:00
|
|
|
"git-rev-sync": "^1.12.0",
|
2019-01-16 11:28:05 +01:00
|
|
|
"jest": "^23.6.0",
|
2019-07-14 22:18:00 +02:00
|
|
|
"jest-environment-jsdom": "^24.7.1",
|
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-11-26 22:35:11 +01:00
|
|
|
"prettier": "^1.19.1",
|
2019-03-13 15:26:10 +01:00
|
|
|
"rollup": "^1.6.0",
|
2019-04-18 22:44:00 +02:00
|
|
|
"rollup-plugin-typescript2": "^0.20.1",
|
2019-01-21 23:08:03 +01:00
|
|
|
"sass": "^1.16.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-11-15 12:57:54 +01:00
|
|
|
"typescript": "^3.7.2",
|
2019-07-14 22:18:00 +02:00
|
|
|
"uglify-es": "^3.3.9"
|
2019-04-18 07:40:27 +02:00
|
|
|
},
|
|
|
|
|
"jest": {
|
|
|
|
|
"roots": [
|
|
|
|
|
"<rootDir>/src",
|
|
|
|
|
"<rootDir>/tests"
|
|
|
|
|
],
|
|
|
|
|
"transform": {
|
|
|
|
|
"^.+\\.ts?$": "ts-jest"
|
|
|
|
|
},
|
|
|
|
|
"verbose": false,
|
|
|
|
|
"testRegex": "(/tests/.*(test|spec))\\.ts?$",
|
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
|
"ts",
|
|
|
|
|
"tsx",
|
|
|
|
|
"js",
|
|
|
|
|
"jsx",
|
|
|
|
|
"json",
|
|
|
|
|
"node"
|
|
|
|
|
]
|
2019-06-28 10:32:03 +02:00
|
|
|
},
|
|
|
|
|
"prettier": {
|
2019-07-14 22:18:00 +02:00
|
|
|
"printWidth": 100
|
2019-01-16 11:28:05 +01:00
|
|
|
}
|
|
|
|
|
}
|