UNPKG

java-caller

Version:

Library to easily call java from node sources. Automatically installs java if not present

78 lines (77 loc) 2.04 kB
{ "name": "java-caller", "version": "4.2.1", "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.4.2", "semver": "^7.5.4" }, "devDependencies": { "@babel/eslint-parser": "^7.22.15", "eslint": "^9.0.0", "mocha": "^11.0.0", "nyc": "^17.0.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 } }