Files
owl/package.json
T

85 lines
2.3 KiB
JSON
Raw Normal View History

2019-01-16 11:28:05 +01:00
{
"name": "@odoo/owl",
2020-10-08 10:50:39 +02:00
"version": "1.0.11",
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",
2020-01-18 11:14:23 +01:00
"files": [
"dist/types/",
"dist/owl.js",
"dist/owl-iife.js"
2020-01-18 11:14:23 +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",
"minify": "uglifyjs dist/owl.js -o dist/owl.min.js --compress --mangle",
2019-01-16 11:28:05 +01:00
"test": "jest",
"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",
"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",
"publish": "npm run build && mv dist/owl.js dist/owl-iife.js && npm run buildcommonjs && 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
},
"author": "Odoo",
"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-09-05 21:44:29 +02:00
"dependencies": {},
2019-01-16 11:28:05 +01:00
"devDependencies": {
"@types/jest": "^23.3.12",
2020-01-18 11:14:23 +01:00
"chalk": "^3.0.0",
"cpx": "^1.5.0",
"git-rev-sync": "^1.12.0",
2020-01-18 11:14:23 +01:00
"github-api": "^3.3.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",
2020-04-21 15:08:53 +02:00
"prettier": "^2.0.4",
"rollup": "^1.6.0",
"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",
"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"
]
},
"prettier": {
2020-04-21 15:08:53 +02:00
"printWidth": 100,
"endOfLine": "auto"
2019-01-16 11:28:05 +01:00
}
}