forked from nvuillam/node-java-caller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2 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
72
73
74
75
76
77
{
"name": "java-caller",
"version": "3.2.0",
"description": "Library to easily call java from node sources. Automatically installs java if not present",
"main": "./lib/index.js",
"files": [
"lib/"
],
"scripts": {
"lint:fix": "eslint **/*.js --fix && prettier --write \"./lib/**/*.{js,jsx,json}\" --tab-width 4 --print-width 150",
"java:compile": "javac -d test/java/dist -source 8 -target 1.8 test/java/src/com/nvuillam/javacaller/JavaCallerTester.java",
"java:jar": "cd test/java/dist && jar -cvfm ./../jar/JavaCallerTester.jar ./../jar/manifest/Manifest.txt com/nvuillam/javacaller/*.class && jar -cvfm ./../jar/JavaCallerTesterRunnable.jar ./../jar/manifest-runnable/Manifest.txt com/nvuillam/javacaller/*.class",
"test": "mocha \"test/**/*.test.js\"",
"test:coverage": "nyc npm run test",
"test:debug": "env DEBUG=java-caller mocha --reporter spec \"test/**/*.test.js\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/nvuillam/node-java-caller.git"
},
"keywords": [
"java",
"caller",
"classpath",
"jar",
"node",
"npm",
"javascript",
"class"
],
"author": "Nicolas Vuillamy",
"license": "MIT",
"bugs": {
"url": "https://github.com/nvuillam/node-java-caller/issues"
},
"homepage": "https://github.com/nvuillam/node-java-caller#readme",
"dependencies": {
"debug": "^4.3.4",
"fs-extra": "^11.1.1",
"njre": "^1.1.0",
"semver": "^7.5.4"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.15",
"eslint": "^8.27.0",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "^3.1.0",
"which": "^4.0.0"
},
"engines": {
"node": ">=12.0.0"
},
"mocha": {
"require": [
"test/helpers/init.js"
],
"watch-extensions": [
"js"
],
"recursive": true,
"reporter": "spec",
"timeout": "300000"
},
"nyc": {
"include": [
"lib/**"
],
"extension": [
".js"
],
"reporter": [
"html"
],
"all": true
}
}