This project is an application skeleton for build web apps with google closure library.
Make sure you have Node version >= 6.0, NPM >= 3 and Java >= 8
# clone repo
# --depth 1 removes all but one .git commit history
git clone --depth https://github.com/hirohito-protagonist/google-closure-library-app-starter.git
# change directory to the repo
cd google-closure-library-app-starter
# install with npm
npm install
# start the server
npm start
# The local server connection should be open.
# By default is http://localhost:8080 so the development link will be
# http://localhost:8080/src/html/app.html
- Install latest node and make sure you have at least version
6.x.x
for Node and3.x.x
for NPM.
> node -v
v6.11.1
> npm -v
3.10.10
- Install latest java jdk or jre. It's needed for closure compiler and soy templates.
> java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
fork
this reponpm install
to install all dependencies
npm start
npm run build
# single run
npm run test
npm test
npm t
# watch mode on files
npm run test:watch