-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 3.07 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 3.07 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
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
{
"name": "@magda/magda-pdf-semantic-indexer",
"version": "1.0.0",
"description": "Magda PDF Semantic Indexer",
"type": "module",
"files": [
"dist"
],
"author": "",
"license": "Apache-2.0",
"scripts": {
"prebuild": "rimraf dist tsconfig.tsbuildinfo",
"build": "yarn run compile",
"compile": "tsc -b",
"watch": "tsc -b --watch",
"start": "node dist/index.js",
"dev": "nodemon --watch src -e ts,js --exec \"node --loader ts-node/esm src/index.ts --config ./dev-config.json\"",
"test": "mocha",
"docker-build-local": "create-docker-context-for-node-component --build --push --tag auto --local",
"docker-build-prod": "create-docker-context-for-node-component --build --push --tag auto",
"retag-and-push": "retag-and-push",
"helm-lint": "helm lint deploy/magda-pdf-semantic-indexer -f deploy/test-deploy.yaml",
"helm-docs": "docker run --rm -v \"$(pwd):/helm-docs\" -u $(id -u) jnorwood/helm-docs:v1.11.0 -t ./README.md.gotmpl -o ../../README.md",
"update-all-charts": "helm dep up ./deploy/magda-pdf-semantic-indexer",
"add-all-chart-version-changes": "git ls-files -m | grep Chart.yaml | xargs git add && git ls-files -m | grep Chart.lock | xargs git add",
"add-all-helm-docs-changes": "yarn helm-docs && git ls-files -m | grep -i readme.md | xargs git add",
"version": "yarn update-helm-chart-version && yarn update-all-charts && yarn add-all-chart-version-changes && yarn add-all-helm-docs-changes"
},
"devDependencies": {
"@magda/ci-utils": "^1.0.5",
"@magda/docker-utils": "^6.0.0-alpha.4",
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"@types/node": "^24.3.1",
"@types/yargs": "^17.0.33",
"chai": "^5.2.0",
"husky": "^9.1.7",
"mocha": "^11.7.1",
"nodemon": "^3.1.10",
"pdfjs-dist": "^5.4.149",
"prettier": "^3.5.3",
"pretty-quick": "^4.2.2",
"rimraf": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.8.3"
},
"dependencies": {
"@langchain/core": "^0.3.61",
"@langchain/textsplitters": "https://gitpkg.vercel.app/JHZhang2736/langchainjs/libs/langchain-textsplitters?textsplitters-build",
"@magda/semantic-indexer-sdk": "^6.0.0-alpha.10",
"@opendocsg/pdf2md": "^0.2.1",
"urijs": "^1.19.11",
"yargs": "17.6.2"
},
"resolutions": {
"@types/express": "4.17.9"
},
"config": {
"docker": {
"name": "data61/magda-pdf-semantic-indexer",
"include": "node_modules dist Dockerfile package.json"
},
"jwtSecret": "squirrel",
"userId": "00000000-0000-4000-8000-000000000000"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"mocha": {
"loader": "ts-node/esm",
"extensions": [
"ts"
],
"spec": [
"src/test/**/*.spec.ts"
]
},
"engines": {
"node": ">=24.0.0"
}
}