Pura is an opinionated project starter kit powered by Node.js, Webpack, PostCSS, React and more!
Node 10.14.1 (use nvm to manage your Node versions!)
🛠 Setting up
- Clone/download to your machine
npm ito install dependencies
🌐 Accessing your project
For dynamic, server-side websites (CMSs, etc)
If your site uses a server-side language you'll view your project on the domain you setup within MAMP, Docker, Vagrant, etc.
For static HTML websites
<link rel="stylesheet" href="http://localhost:3000/_compiled/main.css"> <!-- ... --> <script src="http://localhost:3000/_compiled/runtime~main.js"></script> <script src="http://localhost:3000/_compiled/vendors~main.js"></script> <script src="http://localhost:3000/_compiled/main.js"></script>
Make sure to change the domain of these URLs when deploying your project.
||Watch for changes to new files|
||Runs Jest test suite|
||Lints code using Stylelint and ESLint|
||Compiles CSS/JS and revvs file names for caching|