-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpackage.json
141 lines (141 loc) · 4.17 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "@odoo/o-spreadsheet",
"version": "18.0.10",
"description": "A spreadsheet component",
"type": "module",
"main": "dist/o-spreadsheet.cjs.js",
"browser": "dist/o-spreadsheet.iife.js",
"module": "dist/o-spreadsheet.esm.js",
"types": "dist/o-spreadsheet.d.ts",
"files": [
"dist/*.js",
"dist/*.d.ts",
"dist/*.xml"
],
"scripts": {
"serve-static": "live-server --open=demo --watch=build/o_spreadsheet.dev.js,build/o_spreadsheet.xml,demo",
"dev": "npm-run-all --print-label buildDev --parallel server serve-static watch:*",
"server": "node tools/server/main.cjs",
"build:js": "tsc --module es6 --incremental",
"build:bundleJsDev": "rollup -c -m --configDev",
"build:bundleJs": "rollup -c -m --configDist",
"build:bundleXml": "node tools/bundle_xml/main.cjs",
"buildDev": "npm-run-all build:js build:bundleJsDev \"build:bundleXml -- --outDir build\"",
"build": "npm-run-all build:js build:bundleJs \"build:bundleXml -- --outDir build\"",
"precommit": "npm run prettier && npm run doc",
"test": "tsc --noEmit --project tsconfig.jest.json && jest",
"test:watch": "jest --watch",
"prettier": "prettier . --write",
"check-formatting": "prettier . --check",
"dist": "tsc --module es6 --declaration --declarationDir dist/types && rollup -c && npm run build:bundleXml -- --outDir dist",
"prepare": "husky install",
"watch:bundle": "npm run build:bundleJsDev -- --watch",
"watch:ts": "npm run build:js -- --watch",
"watch:xml": "node tools/bundle_xml/watch_xml_templates.cjs",
"unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs",
"zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.cjs"
},
"browserslist": [
"last 1 Chrome versions"
],
"keywords": [
"owl",
"spreadsheet",
"o-spreadsheet",
"odoo"
],
"author": "Odoo",
"license": "LGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/odoo/o-spreadsheet.git"
},
"bugs": {
"url": "https://github.com/odoo/o-spreadsheet/issues"
},
"homepage": "https://github.com/odoo/o-spreadsheet#readme",
"devDependencies": {
"@prettier/plugin-xml": "^2.2.0",
"@rollup/plugin-node-resolve": "^15.2.0",
"@rollup/plugin-terser": "^0.4.3",
"@swc/jest": "^0.2.36",
"@types/jest": "^27.0.1",
"@types/node": "^13.13.23",
"@types/rbush": "^3.0.3",
"babel-eslint": "^10.1.0",
"body-parser": "^1.19.0",
"chart.js": "4.4.1",
"chartjs-adapter-luxon": "^1.3.1",
"cors": "^2.8.5",
"eslint": "^6.8.0",
"express": "^4.17.1",
"express-form-data": "^2.0.19",
"express-ws": "^4.0.0",
"file-saver": "^2.0.5",
"fs": "^0.0.1-security",
"husky": "^7.0.4",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jszip": "^3.6.0",
"lint-staged": "^12.1.2",
"live-server": "^1.2.1",
"luxon": "^3.0.1",
"minimist": "^1.2.8",
"mockdate": "^3.0.2",
"node-watch": "^0.7.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"prettier-plugin-organize-imports": "^3.2.2",
"rollup": "^3.28.0",
"rollup-plugin-dts": "^5.3.1",
"rollup-plugin-typescript2": "^0.35.0",
"typescript": "^5.4.3",
"xml-formatter": "^2.4.0"
},
"prettier": {
"printWidth": 100,
"xmlWhitespaceSensitivity": "ignore",
"bracketSameLine": true,
"xmlSelfClosingSpace": false
},
"dependencies": {
"@odoo/owl": "2.5.1",
"bootstrap": "^5.3.3",
"font-awesome": "^4.7.0",
"rbush": "^3.0.1"
},
"jest": {
"roots": [
"<rootDir>/src",
"<rootDir>/tests"
],
"transform": {
"^.+\\.ts?$": [
"@swc/jest"
]
},
"verbose": false,
"testEnvironment": "jsdom",
"testRegex": "(/tests/.*(test|spec))\\.ts?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"workerIdleMemoryLimit": "800MB",
"globalSetup": "<rootDir>/tests/setup/jest_global_setup.ts",
"globalTeardown": "<rootDir>/tests/setup/jest_global_teardown.ts",
"setupFilesAfterEnv": [
"<rootDir>/tests/setup/jest.setup.ts"
]
},
"lint-staged": {
"*": "prettier --write"
},
"publishConfig": {
"tag": "18-0"
}
}