Skip to content

Instantly share code, notes, and snippets.

@shannah
Created June 16, 2024 15:28
Show Gist options
  • Save shannah/91be6a325bfdcdbdb51854a79fd26b70 to your computer and use it in GitHub Desktop.
Save shannah/91be6a325bfdcdbdb51854a79fd26b70 to your computer and use it in GitHub Desktop.
Simple package.json file for jDeploy
{
"bin": {"swingset2": "jdeploy-bundle/jdeploy.js"},
"author": "Oracle",
"description": "The Swing Sampler demo, packaged by jDeploy",
"main": "index.js",
"preferGlobal": true,
"repository": "https://github.com/shannah/swingset2",
"version": "1.0.5",
"jdeploy": {
"jar": "dist/HelloJDeploy.jar",
"javaVersion" : "11",
"title" : "SwingSet2",
"javafx" : false,
"jdk" : false
},
"dependencies": {"shelljs": "^0.8.4", "njre": "^0.2.0"},
"license": "GPLv2+Classpath Exception",
"name": "jdeploy-demo-swingset2",
"files": ["jdeploy-bundle"],
"scripts": {"test": "echo \"Error: no test specified\" && exit 1"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment