This is a small react project using JSPM.
node >= 4.X
install node modules:
npm install
then install JSPM dependencies:
$(npm bin)/jspm install
node_modules
and jspm_packages
are located at the root of the project, along with all the JSPM configuration files.
The source code is in /client
, organized by (JSPM configured) package.
In each package, there are index.html
and entry.js
files, ready to be served for testing.
There is currently only one package: login
.
npm start
: launch a node express servernpm run build --name=login
: build package 'login'npm run bundle --name=login
: bundle package 'login'npm run watch --name=login
: bundle package 'login' on watch