The only global dependency that this package would need is node
alog with npm
installed on your machine.
After cloning (or unpacking) get into projects directory from your terminal console and run:
npm run setup
That will run dependencies installation process. After it's finished your good to go.
Just type in your terminal:
npm start
That command will progress with these steps:
- build all the files into
dest
directory - run
static-server
(on default port9080
) to serve the project
You can now visit the project in a browser of your choice.
Note: If you have something else running on the port 9080
, you can override the default setting by running:
npm start -- -p YOUR_PORT_NUMBER
To stop the static-server
instance just hit CTRL+C
in the terminal
If you wanted to work on the files on a dev setup, you can use:
npm run watch
command for that purposes.
After running the command you'll have a browser-sync
environment running here.
There are tagged versions of the code:
0.0.2
- a lightweight solution using CarpetJS, MinifiedJS and JSPM0.0.3
- uses WebPack config in place of JSPM0.0.4
- uses InfernoJS0.0.5
- uses InfernoJS with some optimisations (a separate data model +fetch()
)0.0.6
- uses VueJS- (maybe some other versions)