-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 3.72 KB
/
package.json
File metadata and controls
147 lines (147 loc) · 3.72 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
{
"name": "@javamodules/java",
"version": "1.0.10",
"description": "Tools for working with Java class files, Java toolchains, and for compiling Java.",
"sideEffects": false,
"keywords": [
"java",
"jvm",
"tools",
"build-tools"
],
"homepage": "https://github.com/javamodules",
"bugs": {
"url": "https://github.com/elide-dev/jpms/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/elide-dev/jpms",
"directory": "packages/java"
},
"license": "Apache-2.0",
"author": {
"name": "Sam Gammon",
"url": "https://github.com/sgammon"
},
"type": "module",
"exports": {
"./classes": {
"types": "./dist/java-classfile.d.ts",
"import": "./dist/java-classfile.js"
},
"./home": {
"types": "./dist/java-home.d.ts",
"import": "./dist/java-home.js"
},
"./jar": {
"types": "./dist/java-jar.d.ts",
"import": "./dist/java-jar.js"
},
"./manifest": {
"types": "./dist/java-manifest.d.ts",
"import": "./dist/java-manifest.js"
},
"./model": {
"types": "./dist/java-model.d.ts",
"import": "./dist/java-model.js"
},
"./modules": {
"types": "./dist/javamodules/jdk-modules.d.ts",
"import": "./dist/javamodules/jdk-modules.js"
},
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
}
},
"main": "dist/index.mjs",
"files": [
"dist/**",
"!dist/*test*",
"!dist/tests"
],
"scripts": {
"bench:jar": "hyperfine --warmup 50 --runs 250 --shell none -n bun \"bun run ./tests/jar-bench.js 1\" -n node \"node --experimental-vm-modules ./tests/jar-bench.js 1\"",
"build": "tsc -p .",
"jartest:allocations": "MIMALLOC_SHOW_STATS=1 bun run ./tests/jar-bench.js",
"jartest:bun": "bun run ./tests/jar-bench.js",
"jartest:bun:concurrent": "bun run ./tests/jar-bench-concurrent.js",
"jartest:node": "node --experimental-vm-modules ./tests/jar-bench.js",
"jartest:node:concurrent": "node --experimental-vm-modules ./tests/jar-bench-concurrent.js",
"jartest:profile": "node --experimental-vm-modules --prof ./tests/jar-bench.js",
"pack": "npm pack",
"publish:dry": "npm publish --no-git-checks --dry-run",
"publish:live": "npm publish --no-git-checks",
"test": "bun test",
"test:bun": "bun test",
"test:node": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "reports",
"coveragePathIgnorePatterns": [
"/node_modules/",
"/tests/",
"testutil",
"tests/testutil.ts"
],
"coverageProvider": "v8",
"coverageReporters": [
"lcov",
"text-summary"
],
"extensionsToTreatAsEsm": [
".ts",
".mts"
],
"moduleNameMapper": {
"(.+)\\.js": "$1"
},
"preset": "ts-jest",
"reporters": [
"default",
"github-actions",
[
"jest-junit",
{
"outputDirectory": "reports",
"outputName": "report.xml"
}
]
],
"slowTestThreshold": 30,
"testMatch": [
"<rootDir>/tests/*.test.ts"
],
"transform": {
"^.+\\.ts?$": [
"ts-jest",
{
"useESM": true
}
]
}
},
"dependencies": {
"bytebuffer": "5.0.1",
"fflate": "0.8.2",
"glob": "11.0.1",
"memfs": "4.17.0",
"semver": "7.7.1"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/bytebuffer": "5.0.49",
"@types/jest": "29.5.14",
"@types/node": "22.13.4",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"ts-jest": "29.3.3",
"ts-node": "10.9.2",
"typescript": "5.7.3"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}