Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shaolans/prettier-java-playground
https://github.com/shaolans/prettier-java-playground
github-page playground prettier prettier-java
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/shaolans/prettier-java-playground
- Owner: Shaolans
- Created: 2019-07-30T15:04:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T09:45:24.000Z (about 2 years ago)
- Last Synced: 2023-03-07T10:57:36.851Z (almost 2 years ago)
- Topics: github-page, playground, prettier, prettier-java
- Language: JavaScript
- Size: 3.7 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# prettier-java-playground
> A playground to test Java support on Prettier !
## Build Setup
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# build for production and view the bundle analyzer report
npm run build --report
```For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
## Deploy on GitHub Pages
In order to deploy the playground on GitHub pages, you need to setup a branch as a source.
If you have not set it up yet, you can do as follows:
```bash
git checkout --orphan gh-pages
git reset
git commit --allow-empty -m "Init gh-pages"
git push origin gh-pages
```If you have not deployed the playground yet, add an empty commit:
```bash
git commit --allow-empty -m "deploy"
```Go to the repository settings and add the gh-pages branch as the source to build the GitHub Pages.
You can now deploy the playground by running the following command on the master branch:
```bash
./deploy.sh
```