2019-01-16 11:28:05 +01:00
|
|
|
{
|
2019-12-19 09:12:00 +01:00
|
|
|
"name": "@odoo/owl",
|
2025-01-10 11:11:03 +01:00
|
|
|
"version": "2.5.3",
|
2019-04-18 10:18:53 +02:00
|
|
|
"description": "Odoo Web Library (OWL)",
|
2020-10-16 16:11:11 +02:00
|
|
|
"main": "dist/owl.cjs.js",
|
|
|
|
|
"module": "dist/owl.es.js",
|
2022-06-09 14:08:11 +02:00
|
|
|
"types": "dist/types/owl.d.ts",
|
2020-01-18 11:14:23 +01:00
|
|
|
"files": [
|
2020-10-16 16:11:11 +02:00
|
|
|
"dist"
|
2020-01-18 11:14:23 +01:00
|
|
|
],
|
2019-10-28 13:56:48 +01:00
|
|
|
"engines": {
|
2024-10-09 10:44:32 +02:00
|
|
|
"node": ">=20.0.0"
|
2019-10-28 13:56:48 +01:00
|
|
|
},
|
2019-01-16 11:28:05 +01:00
|
|
|
"scripts": {
|
2022-01-19 10:06:05 +01:00
|
|
|
"build:bundle": "rollup -c --failAfterWarnings",
|
2022-05-26 12:11:10 +02:00
|
|
|
"build:runtime": "rollup -c --failAfterWarnings runtime",
|
|
|
|
|
"build:compiler": "rollup -c --failAfterWarnings compiler",
|
2020-10-16 16:11:11 +02:00
|
|
|
"build": "npm run build:bundle",
|
2023-01-20 13:59:27 +01:00
|
|
|
"build:devtools": "rollup -c ./tools/devtools/rollup.config.js",
|
|
|
|
|
"dev:devtools-chrome": "npm run build:devtools -- --config-browser=chrome",
|
|
|
|
|
"dev:devtools-firefox": "npm run build:devtools -- --config-browser=firefox",
|
2023-04-13 10:04:07 +02:00
|
|
|
"build:devtools-chrome": "npm run dev:devtools-chrome -- --config-env=production",
|
|
|
|
|
"build:devtools-firefox": "npm run dev:devtools-firefox -- --config-env=production",
|
2019-01-16 11:28:05 +01:00
|
|
|
"test": "jest",
|
2022-01-13 10:01:44 +01:00
|
|
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch --testTimeout=5000000",
|
2019-04-29 22:54:26 +02:00
|
|
|
"test:watch": "jest --watch",
|
2023-04-24 11:04:11 +02:00
|
|
|
"playground:serve": "python3 tools/playground_server.py || python tools/playground_server.py",
|
2021-11-22 10:25:24 +01:00
|
|
|
"playground": "npm run build && npm run playground:serve",
|
|
|
|
|
"preplayground:watch": "npm run build",
|
|
|
|
|
"playground:watch": "npm-run-all --parallel playground:serve \"build:* -- --watch\"",
|
2023-01-20 13:59:27 +01:00
|
|
|
"prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md,tools/devtools/**/*.js} --write",
|
|
|
|
|
"check-formatting": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md,tools/devtools/**/*.js} --check",
|
2023-01-11 14:10:39 +01:00
|
|
|
"lint": "eslint src/**/*.ts tests/**/*.ts",
|
2022-05-26 12:11:10 +02:00
|
|
|
"release": "node tools/release.js",
|
2025-01-09 09:43:15 -05:00
|
|
|
"compile_templates": "node tools/compile_owl_templates.mjs"
|
|
|
|
|
},
|
|
|
|
|
"bin": {
|
|
|
|
|
"compile_owl_templates": "tools/compile_owl_templates.mjs"
|
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",
|
2020-02-20 15:11:05 +01:00
|
|
|
"license": "LGPL-3.0-only",
|
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-01-16 11:28:05 +01:00
|
|
|
"devDependencies": {
|
2021-09-08 08:55:30 +02:00
|
|
|
"@types/jest": "^27.0.1",
|
2025-01-09 09:43:15 -05:00
|
|
|
"@types/jsdom": "^21.1.7",
|
2020-10-16 16:11:11 +02:00
|
|
|
"@types/node": "^14.11.8",
|
2023-01-11 14:10:39 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.48.1",
|
|
|
|
|
"@typescript-eslint/parser": "5.48.1",
|
2020-01-18 11:14:23 +01:00
|
|
|
"chalk": "^3.0.0",
|
2021-03-29 12:09:26 +02:00
|
|
|
"current-git-branch": "^1.1.0",
|
2023-01-11 14:10:39 +01:00
|
|
|
"eslint": "8.31.0",
|
2023-01-11 14:48:13 +00:00
|
|
|
"git-rev-sync": "^3.0.2",
|
2020-01-18 11:14:23 +01:00
|
|
|
"github-api": "^3.3.0",
|
2021-09-08 08:55:30 +02:00
|
|
|
"jest": "^27.1.0",
|
2021-11-27 10:08:10 +01:00
|
|
|
"jest-diff": "^27.3.1",
|
2021-09-08 08:55:30 +02:00
|
|
|
"jest-environment-jsdom": "^27.1.0",
|
2019-01-21 23:08:03 +01:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-11-10 13:48:24 +01:00
|
|
|
"prettier": "2.4.1",
|
2021-09-08 08:55:30 +02:00
|
|
|
"rollup": "^2.56.3",
|
2023-01-20 13:59:27 +01:00
|
|
|
"rollup-plugin-copy": "^3.3.0",
|
|
|
|
|
"rollup-plugin-delete": "^2.0.0",
|
2022-06-09 14:08:11 +02:00
|
|
|
"rollup-plugin-dts": "^4.2.2",
|
2023-01-20 13:59:27 +01:00
|
|
|
"rollup-plugin-execute": "^1.1.1",
|
|
|
|
|
"rollup-plugin-string": "^3.0.0",
|
2020-10-16 16:11:11 +02:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2021-11-24 11:28:10 +01:00
|
|
|
"rollup-plugin-typescript2": "^0.31.1",
|
2019-01-16 13:19:58 +01:00
|
|
|
"source-map-support": "^0.5.10",
|
2021-09-08 08:55:30 +02:00
|
|
|
"ts-jest": "^27.0.5",
|
2023-01-11 14:10:39 +01:00
|
|
|
"typescript": "4.5.2"
|
2019-04-18 07:40:27 +02:00
|
|
|
},
|
|
|
|
|
"jest": {
|
2021-09-08 08:55:30 +02:00
|
|
|
"testEnvironment": "jsdom",
|
2019-04-18 07:40:27 +02:00
|
|
|
"roots": [
|
|
|
|
|
"<rootDir>/src",
|
|
|
|
|
"<rootDir>/tests"
|
|
|
|
|
],
|
2021-11-10 13:48:24 +01:00
|
|
|
"setupFiles": [
|
|
|
|
|
"./tests/mocks/mockEventTarget.js"
|
|
|
|
|
],
|
2019-04-18 07:40:27 +02:00
|
|
|
"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": {
|
2020-04-21 15:08:53 +02:00
|
|
|
"printWidth": 100,
|
|
|
|
|
"endOfLine": "auto"
|
2025-01-09 09:43:15 -05:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"jsdom": "^25.0.1"
|
2019-01-16 11:28:05 +01:00
|
|
|
}
|
|
|
|
|
}
|