2019-01-16 11:28:05 +01:00
|
|
|
{
|
2019-12-19 09:12:00 +01:00
|
|
|
"name": "@odoo/owl",
|
2021-11-22 10:33:38 +01:00
|
|
|
"version": "2.0.0-alpha1",
|
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",
|
|
|
|
|
"browser": "dist/owl.iife.js",
|
|
|
|
|
"module": "dist/owl.es.js",
|
2020-01-09 14:14:52 +01:00
|
|
|
"types": "dist/types/index.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": {
|
2021-07-06 12:02:53 +02:00
|
|
|
"node": ">=12.18.3"
|
2019-10-28 13:56:48 +01:00
|
|
|
},
|
2019-01-16 11:28:05 +01:00
|
|
|
"scripts": {
|
2019-03-21 14:51:54 +01:00
|
|
|
"build:bundle": "rollup -c",
|
2020-10-16 16:11:11 +02:00
|
|
|
"build": "npm run build:bundle",
|
2019-01-16 11:28:05 +01:00
|
|
|
"test": "jest",
|
2021-10-22 15:01:51 +02:00
|
|
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
|
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\"",
|
2020-01-09 14:59:05 +01:00
|
|
|
"prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md} --write",
|
2021-03-29 12:09:26 +02:00
|
|
|
"check-formatting": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md} --check",
|
2020-10-16 16:11:11 +02:00
|
|
|
"publish": "npm run build && npm publish",
|
2020-01-18 11:14:23 +01:00
|
|
|
"release": "node tools/release.js"
|
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",
|
2020-10-16 16:11:11 +02:00
|
|
|
"@types/node": "^14.11.8",
|
2020-01-18 11:14:23 +01:00
|
|
|
"chalk": "^3.0.0",
|
2019-02-02 11:41:19 +01:00
|
|
|
"cpx": "^1.5.0",
|
2021-03-29 12:09:26 +02:00
|
|
|
"current-git-branch": "^1.1.0",
|
2019-04-18 22:44:00 +02:00
|
|
|
"git-rev-sync": "^1.12.0",
|
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",
|
|
|
|
|
"jest-environment-jsdom": "^27.1.0",
|
2021-02-04 08:53:23 +01:00
|
|
|
"live-server": "^1.2.1",
|
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",
|
2020-10-16 16:11:11 +02:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2021-09-08 08:55:30 +02:00
|
|
|
"rollup-plugin-typescript2": "^0.30.0",
|
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",
|
2021-09-08 08:55:30 +02:00
|
|
|
"ts-jest": "^27.0.5",
|
2021-11-19 14:35:25 +01:00
|
|
|
"typescript": "4.5.2",
|
2019-07-14 22:18:00 +02:00
|
|
|
"uglify-es": "^3.3.9"
|
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"
|
2019-01-16 11:28:05 +01:00
|
|
|
}
|
|
|
|
|
}
|