-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathpackage.json
More file actions
151 lines (151 loc) · 5.08 KB
/
Copy pathpackage.json
File metadata and controls
151 lines (151 loc) · 5.08 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
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
142
143
144
145
146
147
148
149
150
151
{
"name": "fhirpath",
"version": "5.2.0",
"description": "A FHIRPath engine",
"main": "src/fhirpath.js",
"module": "esm/fhirpath.mjs",
"types": "src/fhirpath.d.ts",
"exports": {
".": {
"import": {
"types": "./src/fhirpath.d.mts",
"default": "./esm/fhirpath.mjs"
},
"require": {
"types": "./src/fhirpath.d.ts",
"default": "./src/fhirpath.js"
}
},
"./fhir-context/dstu2": {
"import": {
"types": "./fhir-context/dstu2/index.d.mts",
"default": "./fhir-context/dstu2/index.mjs"
},
"require": {
"types": "./fhir-context/dstu2/index.d.ts",
"default": "./fhir-context/dstu2/index.js"
}
},
"./fhir-context/stu3": {
"import": {
"types": "./fhir-context/stu3/index.d.mts",
"default": "./fhir-context/stu3/index.mjs"
},
"require": {
"types": "./fhir-context/stu3/index.d.ts",
"default": "./fhir-context/stu3/index.js"
}
},
"./fhir-context/r4": {
"import": {
"types": "./fhir-context/r4/index.d.mts",
"default": "./fhir-context/r4/index.mjs"
},
"require": {
"types": "./fhir-context/r4/index.d.ts",
"default": "./fhir-context/r4/index.js"
}
},
"./fhir-context/r5": {
"import": {
"types": "./fhir-context/r5/index.d.mts",
"default": "./fhir-context/r5/index.mjs"
},
"require": {
"types": "./fhir-context/r5/index.d.ts",
"default": "./fhir-context/r5/index.js"
}
},
"./package.json": "./package.json",
"./*": "./*"
},
"dependencies": {
"@lhncbc/ucum-lhc": "^5.0.0",
"@loxjs/url-join": "^1.0.2",
"antlr4": "~4.9.3",
"commander": "^14.0.3",
"date-fns": "^1.30.1",
"decimal.js": "^10.6.0",
"js-yaml": "^4.1.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.4",
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@codspeed/tinybench-plugin": "^5.2.0",
"@eslint/js": "^9.39.3",
"babel-loader": "^8.2.3",
"baseline-browser-mapping": "^2.9.14",
"bestzip": "^2.2.0",
"copy-webpack-plugin": "^14.0.0",
"cypress": "^15.19.0",
"esbuild": "^0.28.1",
"eslint": "^9.39.3",
"fhir-tool": "^5.0.2",
"glob": "^13.0.6",
"globals": "^17.3.0",
"jasmine-spec-reporter": "^4.2.1",
"jest": "^30.2.0",
"lodash": "^4.17.23",
"open": "^8.4.0",
"rimraf": "^3.0.0",
"tinybench": "^6.0.0",
"tmp": "^0.2.5",
"tsd": "^0.31.1",
"typescript": "6.0.3",
"webpack": "^5.102.1",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.9.1",
"xml2js": "^0.5.0",
"yargs": "^15.1.0"
},
"overrides": {
"brace-expansion": "5.0.8",
"lodash": "$lodash"
},
"engines": {
"node": ">=20.0.0"
},
"tsd": {
"directory": "test/typescript"
},
"scripts": {
"preinstall": "node bin/install-demo.js",
"generateParser": "cd src/parser; rimraf ./generated/*; java -Xmx500M -cp \"../../antlr-4.9.3-complete.jar:$CLASSPATH\" org.antlr.v4.Tool -o generated -Dlanguage=JavaScript FHIRPath.g4; node ../../scripts/fix-parser-imports.js",
"build": "cd browser-build && webpack && rimraf fhirpath.zip && bestzip fhirpath.zip LICENSE.md fhirpath.min.js fhirpath.r5.min.js fhirpath.r4.min.js fhirpath.stu3.min.js fhirpath.dstu2.min.js && rimraf LICENSE.md",
"build:esm": "node scripts/build-esm.mjs",
"prepare": "npm run build:esm",
"test:unit": "node --use_strict node_modules/jest/bin/jest.js && TZ=America/New_York node --use_strict node_modules/jest/bin/jest.js && TZ=Europe/Paris node --use_strict node_modules/jest/bin/jest.js",
"test:unit:debug": "echo 'open chrome chrome://inspect/' && node --inspect node_modules/jest/bin/jest.js --runInBand",
"build:demo": "npm run build && cd demo && npm run build",
"test:e2e": "npm run build:demo && cypress run",
"test:tsd": "tsd",
"test:types-resolution": "tsc -p test/typescript/resolution/tsconfig.json",
"test:types-decl": "tsc -p test/typescript/decl/tsconfig.json",
"test:attw": "attw --pack .",
"pretest:esm": "npm run build:esm",
"test:esm": "node test/esm/smoke.mjs",
"test": "npm run lint && npm run test:tsd && npm run test:types-resolution && npm run test:types-decl && npm run test:attw && npm run test:unit && npm run test:esm && npm run test:e2e && echo \"For tests specific to IE 11, open browser-build/test/index.html in IE 11, and confirm that the tests on that page pass.\"",
"lint": "eslint src/parser/index.js src/*.js src/*.mjs fhir-context/*/index.mjs converter/",
"compare-performance": "node --max-old-space-size=4096 --initial-old-space-size=4096 --max-semi-space-size=128 --min-semi-space-size=128 ./test/benchmark.js"
},
"bin": {
"fhirpath": "bin/fhirpath"
},
"files": [
"CHANGELOG.md",
"LICENSE.md",
"bin",
"esm",
"!esm/**/*.map",
"fhir-context",
"scripts",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/HL7/fhirpath.js.git"
},
"license": "SEE LICENSE in LICENSE.md"
}