-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.95 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"dependencies": {
"@blueprintjs/core": "^5.5.1",
"@blueprintjs/icons": "^5.2.1",
"docx": "^9.1.1",
"json5": "^2.2.3",
"monaco-editor": "^0.44.0",
"normalize.css": "^8.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"underscore": "^1.13.6",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@swc/core": "^1.3.102",
"@types/node": "^20.8.2",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@types/react-router": "^5.1.20",
"@types/showdown": "^2.0.6",
"@types/underscore": "^1.11.10",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"esbuild": "0.19.4",
"eslint": "^8.56.0",
"http-server": "^14.1.1",
"license-checker": "^25.0.1",
"pkg": "^5.8.1",
"showdown": "^2.1.0",
"showdown-highlight": "^3.1.0",
"ts-node": "^10.9.2",
"typedoc": "^0.25.3",
"typescript": "^5.2.2"
},
"scripts": {
"_lic": "npx license-checker --json --out dist/licenses.json && npx ts-node --swc scripts/gen-licenses.ts dist/licenses.json",
"prebuild": "npx esbuild src/xml2docx.ts --platform=node --format=cjs --bundle --sourcemap --target=node18 --metafile=dist/xml2docx.json --outfile=dist/xml2docx.cjs && npm run _lic -- dist/xml2docx-license.txt dist/xml2docx.json && node scripts/postprocess.cjs",
"build": "npx pkg -C Brotli -t node18-linux-x64,node18-win-x64,node18-macos-x64 --public -o dist/xml2docx dist/xml2docx.cjs",
"build-web": "node scripts/build-web.js",
"postbuild-web": "npm run _lic -- web/license.html dist/web-main.json dist/web-monaco.json dist/web-worker.json",
"check": "npx tsc -p tsconfig.json && npx eslint src",
"test": "npx ts-node --swc test/testInputs.ts",
"docs": "npx ts-node --swc scripts/gen-docs.ts && npx ts-node --swc scripts/build-docs.ts",
"all": "npm run check && npm run docs && npm run build && npm run test && npm run build-web"
}
}