@es4x/create v0.14.2
ES4X Project Utilities
Small set of utilities to get started with es4x.
Bootstrap a project
npm init @es4x projectThis will create a basic set of files:
package.jsonindex.jsindex.test.js
Other commands
This project is more than just a project template generator. You can also perform more taks, just consult the tool help:
es4x --help
Usage: es4x [COMMAND] [OPTIONS] [arg...]
Commands:
project Initializes the 'package.json' to work with ES4X.
install Installs required jars from maven to 'node_modules'.
security-policy Initializes a secure by default VM 'security.policy' to work with ES4X.
versions Displays the versions.
Current VM:
Name: Java HotSpot(TM) 64-Bit Server VM - 11.0.7
Vendor: GraalVM CE 20.1.0
Run 'es4x COMMAND --help' for more information on a command.Sub commands
Project
Same as running npm init @es4x project
es4x projectInstall
Install jvm dependencies extracted from the npm dependencies. This command will process the
package.json and download the required jvm artifacts from Maven Central.
es4x installSecurity Policy
Installs a security policy for the project. This can be used to constraint the runtime to be
sandboxed in all the possibilities the jvm allows.
es4x security-policyVersions
Prints all the versions (runtime + dependencies).
es4x versions8 months ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago