mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
2fc71cfb62
v1.0alpha The Alpha release! Owl is finally getting stable. This relase is all about cleaning Owl API. We are pretty happy with the current state, and hopefully, we won't have to make any non trivial change for a while. QWeb - add an option to setup a translate function - implement `t-key` with a directive (it now works on `t` tags) Component - properly handle errors in `mount` and `render` - fix: make sure props are validated in all cases - fix: make sure default props are applied at the proper time - fix: better error handling with sub components - imp: simplify constructor API: does not take an `env` - imp: do not set `props` in root components - remove `t-keepalive` directive Context - update components concurrently, instead of sequentially Observer - remove `revNumber` (and rename `deepRevNumber` into `revNumber`) Router - fix: preserve pathname in hash mode Config - create new config object, with `mode` and `env` keys Playground - log git commit hash in console
73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"name": "owl-framework",
|
|
"version": "1.0.0-alpha",
|
|
"description": "Odoo Web Library (OWL)",
|
|
"main": "src/index.ts",
|
|
"engines": {
|
|
"node": ">=10.15.3"
|
|
},
|
|
"scripts": {
|
|
"build:js": "tsc --target esnext --module es6 --outDir dist/owl",
|
|
"build:bundle": "rollup -c",
|
|
"build": "npm run build:js && npm run build:bundle",
|
|
"buildcommonjs": "npm run build:js && npm run build:bundle -- -f cjs",
|
|
"minify": "uglifyjs dist/owl.js -o dist/owl.min.js --compress --mangle",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"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\"",
|
|
"prettier": "prettier {src/*.ts,src/**/*.ts,tests/*.ts,tests/**/*.ts,doc/*.md,doc/**/*.md} --write"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/odoo/owl.git"
|
|
},
|
|
"author": "Odoo",
|
|
"license": "LGPL",
|
|
"bugs": {
|
|
"url": "https://github.com/odoo/owl/issues"
|
|
},
|
|
"homepage": "https://github.com/odoo/owl#readme",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.12",
|
|
"cpx": "^1.5.0",
|
|
"git-rev-sync": "^1.12.0",
|
|
"jest": "^23.6.0",
|
|
"jest-environment-jsdom": "^24.7.1",
|
|
"live-server": "^1.2.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"rollup": "^1.6.0",
|
|
"rollup-plugin-typescript2": "^0.20.1",
|
|
"sass": "^1.16.1",
|
|
"source-map-support": "^0.5.10",
|
|
"ts-jest": "^23.10.5",
|
|
"typescript": "^3.6.4",
|
|
"uglify-es": "^3.3.9"
|
|
},
|
|
"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": {
|
|
"printWidth": 100
|
|
}
|
|
}
|