forked from odoo/o-spreadsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.1 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@odoo/o-spreadsheet",
"version": "2.0.0",
"description": "A spreadsheet component",
"main": "index.js",
"scripts": {
"serve-static": "live-server --open=demo --watch=dist/o_spreadsheet.js,dist/o_spreadsheet.xml,demo",
"dev": "npm-run-all build --parallel server serve-static watch:*",
"server": "node tools/server/main.js",
"build:js": "tsc --module es6 --outDir dist/js --incremental",
"bundle:js": "rollup -c -m",
"bundle:xml": "node tools/bundle_xml/main.js",
"build": "npm-run-all build:js bundle:*",
"doc": "typedoc",
"precommit": "npm run prettier && npm run doc",
"test": "jest",
"test:watch": "jest --watch",
"prettier": "prettier . --write",
"check-formatting": "prettier . --check",
"dist": "tsc --module es6 --outDir dist/js && npm run bundle:js && npm run bundle:xml",
"prepare": "husky install",
"watch:bundle": "npm run bundle:js -- --watch",
"watch:ts": "npm run build:js -- --watch",
"watch:xml": "node tools/bundle_xml/watch_xml_templates.js",
"unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.js",
"zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.js"
},
"browserslist": [
"last 1 Chrome versions"
],
"keywords": [
"owl",
"spreadsheet",
"odoo"
],
"author": "Odoo",
"license": "LGPL-3.0-or-later",
"devDependencies": {
"@prettier/plugin-xml": "^2.0.1",
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/chart.js": "2.9.3",
"@types/jest": "^27.0.1",
"@types/node": "^13.13.23",
"babel-eslint": "^10.1.0",
"body-parser": "^1.19.0",
"chart.js": "2.9.3",
"chartjs-gauge": "0.3.0",
"cors": "^2.8.5",
"eslint": "^6.8.0",
"express": "^4.17.1",
"express-ws": "^4.0.0",
"file-saver": "^2.0.5",
"fs": "^0.0.1-security",
"git-rev-sync": "^2.1.0",
"husky": "^7.0.4",
"jest": "^27.2.0",
"jest-environment-jsdom": "^27.2.0",
"jszip": "^3.6.0",
"lint-staged": "^12.1.2",
"live-server": "^1.2.1",
"mockdate": "^3.0.2",
"node-watch": "^0.7.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.1.1",
"rollup": "^2.38.5",
"ts-jest": "^27.0.5",
"typedoc": "0.23.15",
"typedoc-plugin-markdown": "3.11.1",
"typescript": "^4.8.3",
"xml-formatter": "^2.4.0"
},
"prettier": {
"printWidth": 100,
"xmlWhitespaceSensitivity": "ignore",
"bracketSameLine": true,
"xmlSelfClosingSpace": false
},
"dependencies": {
"@odoo/owl": "2.0.0-beta-18",
"bootstrap": "^5.1.3"
},
"jest": {
"roots": [
"<rootDir>/src",
"<rootDir>/tests"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"verbose": false,
"testEnvironment": "jsdom",
"testRegex": "(/tests/.*(test|spec))\\.ts?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setup/jest.setup.ts"
],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.jest.json"
}
}
},
"lint-staged": {
"*": "prettier --write"
}
}