-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.55 KB
/
package.json
File metadata and controls
30 lines (30 loc) · 1.55 KB
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
{
"name": "oo-editors",
"version": "1.0.32",
"main": "server.js",
"scripts": {
"start": "bun download-converter.js && bun scripts/build_allfontsgen.js && cross-env FONT_DATA_DIR=assets/onlyoffice-fontdata bun ./scripts/generate_office_fonts.js && cross-env FONT_DATA_DIR=assets/onlyoffice-fontdata bun server.js",
"server": "cross-env FONT_DATA_DIR=assets/onlyoffice-fontdata node server.js",
"test": "bun run test:unit && bun run test:e2e",
"test:all": "bun run test:unit && bun run test:e2e",
"test:unit": "bun test __tests__/server-utils.test.js __tests__/desktop-stub-utils.test.js __tests__/generate-office-fonts-path.test.js __tests__/offline-loader-config.test.js && node test-url-scheme.js",
"test:e2e": "bun run test:console-batch && bun run test:logo && bun run test:save",
"test:console-batch": "node test-console-batch.js",
"test:logo": "node __tests__/logo-header.test.js",
"test:save": "bun test __tests__/save.test.js",
"build": "cd sdkjs/build && npm install && npx grunt --desktop=true && cd ../.. && for e in cell word slide visio; do mkdir -p editors/sdkjs/$e && cp sdkjs/deploy/sdkjs/$e/sdk-all.js editors/sdkjs/$e/ && cp sdkjs/deploy/sdkjs/$e/sdk-all-min.js editors/sdkjs/$e/; done",
"build:minify": "bunx esbuild server.js --minify --outfile=dist/server.js"
},
"dependencies": {
"compression": "^1.8.1",
"express": "^4.18.2",
"xlsx": "^0.18.5"
},
"author": "",
"license": "ISC",
"devDependencies": {
"cross-env": "^7.0.3",
"grunt-cli": "^1.5.0",
"playwright": "^1.56.1"
}
}