-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
71 lines (71 loc) · 3.33 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
{
"name": "il-fhir-certificator",
"version": "1.13.0",
"description": "FHIR Certificator for Israeli MoH",
"scripts": {
"clean": "rimraf dist && rimraf ui\\dist && rimraf report\\dist",
"clean:ts": "rimraf dist",
"build": "npm run build:ts && npm run build:ui && npm run build:report",
"build:ui": "cd ui && npm install && npm run build",
"build:report": "cd report && npm install && npm run build && cd .. && npm run copy:report",
"copy:report": "node -e \"require('fs').cpSync('./report/dist', './ui/dist/report', {recursive: true})\"",
"build:ts": "tsc -b",
"install:java": "node dist/src/installJava.js",
"install:validator": "node dist/src/downloadValidator.js",
"install:bin": "npm run install:java && npm run install:validator",
"serve": "node dist/src/app.js",
"serve:engine": "node dist/src/engine.js",
"start": "npm run clean && npm run build && npm run install:bin && npm run serve",
"start:engine": "npm run clean:ts && npm run build:ts && npm run install:bin && npm run serve:engine",
"dev": "cross-env NODE_ENV=dev nodemon -w src --exec \"npm run start\"",
"download-assets": "node dist/downloadAssets.js",
"create-bundle": "ncc build src/app.ts --minify --out dist/bin",
"rename-bundle": "node -e \"require('fs').rename('dist/bin/index.js', 'dist/bin/certificator.js', function(err) { if (err) console.log(err); console.log('Bundled file (dist/bin/certificator.js) created and renamed successfully!') })\"",
"create-sea-config": "node dist/generateSeaConfig.js",
"create-blob": "node --experimental-sea-config sea-config.json",
"copy-node-exe": "node -e \"require('fs').copyFileSync(process.execPath, 'dist/bin/certificator.exe')\"",
"remove-signature": "signtool remove /s dist/bin/certificator.exe",
"inject-blob": "postject dist/bin/certificator.exe NODE_SEA_BLOB dist/bin/certificator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2",
"bundler": "npm run clean && npm run build && npm run download-assets && npm run create-bundle && npm run rename-bundle && npm run create-sea-config && npm run create-blob && npm run copy-node-exe && npm run remove-signature && npm run inject-blob"
},
"dependencies": {
"@inquirer/prompts": "^5.0.1",
"adm-zip": "^0.5.16",
"axios": "^1.7.7",
"chalk": "^4.1.2",
"dotenv": "^16.4.5",
"fs-extra": "^11.2.0",
"fume-fhir-converter": "^2.15.1",
"json2md": "^2.0.1",
"jsonata": "^2.0.5",
"path": "^0.12.7",
"tar": "^6.2.0",
"temp": "^0.9.4"
},
"author": "Ministry of Health Israel",
"license": "AGPL-3.0",
"devDependencies": {
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@types/adm-zip": "^0.5.5",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.21",
"@types/fs-extra": "^11.0.1",
"@types/node": "^20.11.24",
"@types/tar": "^6.1.13",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@vercel/ncc": "^0.38.1",
"cross-env": "^7.0.3",
"detect-indent": "^7.0.1",
"detect-newline": "^4.0.1",
"eslint": "^8.28.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-promise": "^6.1.1",
"nodemon": "^2.0.20",
"postject": "^1.0.0-alpha.6",
"rimraf": "^6.0.1",
"typescript": "^4.9.3"
}
}