Pulsar is a Webpack + React starter kit for single-page web applications.
- React + React Router 4 (DOM)
- SCSS + autoprefixing
- Production build is minified + gzipped
- Polyfills delivered only on non-modern browsers
- Jest for unit tests
- Deploys to Netlify
$ git clone git@github.com:geotrev/pulsar.git PROJECT_NAME
$ cd PROJECT_NAME
$ rm -rf .git
$ git initThen install dependencies:
# Use npm
$ npm install
# or yarn
$ yarn installVisit favicon-generator.org to create your various device-specific assets. Add the icons to public/static/ and the manifest.json + browserconfig.xml to public/ alongside the main index.html file.
There's just a few scripts you need to run locally, build production assets, and run tests.
$ npm run watch$ npm run build$ npm test$ npm run test:watch- Go to netlify.com/
- Log in via GitHub or GitLab (only works with these two), or make an account and link your vendor of choice
- Select your pulsar repo
- Add "npm run build" as build script
- Add "build" as the publish directory
- Configure for auto-deploys from master if you'd like
- Configure a netlify.tml if you want more customization
- ???
- Profit