A starter for WinterCardinal projects.
- If you haven't executed
npm install
before, please executenpm install
to install node modules.npm install
need to be performed at least once. Oncenpm install
is executed successfully, it doesn't need to be executed unless the dependencies listed in thepackage.json
get changed. - Build TypeScript codes by the command
npm run build
. - And then, execute
./gradlew bootRun
to start the web server../gradlew build
followed byjava -jar ./build/libs/${jar-file-name}.jar
works as well.
To stop the web server, please hit the Ctrl+C
.
- Type
npm install
to install node modules if they haven't been installed yet. - Build TypeScript codes by the command
npm run build:esbuild
. If you want to build incrementally, please typenpm run watch:esbuild
instead. - And then, run
src/main/java/Main.java
with your IDE.
./gradlew build
The compiled JAR files are located in build\libs\
.
Please build src/main/java/Main.java
with your IDE.
If you haven't done npm install
before, please execute npm install
to install node modules.
npm run build
The compiled JS files are located in src\main\resources\META-INF\resources\webjars\
.
npm run build:esbuild
npm run watch:esbuild
./gradlew spotlessCheck
or
./gradlew spotlessApply
to fix all the lint errors.
npm run lint
or
npm run lint:fix
to fix all the auto-fixable lint errors.
# ~/.gradle/gradle.properties
systemProp.http.proxyHost=proxy-host
systemProp.http.proxyPort=proxy-port
systemProp.http.nonProxyHosts=no-proxy-host-a|no-proxy-host-b
systemProp.https.proxyHost=proxy-host
systemProp.https.proxyPort=proxy-port
systemProp.https.nonProxyHosts=no-proxy-host-a|no-proxy-host-b
# ~/.npmrc
proxy=http://proxy-host:proxy-port/
https-proxy=http://proxy-host:proxy-port/
noproxy[]=no-proxy-host-a
noproxy[]=no-proxy-host-b
-
Apache License Version 2.0.
-
Icons are from Material design icons developed by Google and licensed under Apache license version 2.0.
https://github.com/google/material-design-icons