🎒 Get up and running with 🔥 [hot reload] and optimized production build 💎
Result of revisiting to webpack basics 😊
- Clone this repo
- Run npm run quick/yarn quick
- Go to
http://localhost:5050
-
🔥 Hot Reload
-
Creates files using commands
- Containers with test files :
yarn cont MyContainer1 MyContainer2
- Component with test file:
yarn comp MyComponent1 MyConponent2
- Containers with test files :
-
Linting using
ESLint
followingAirbnb
style guide -
Testing using Jest
- clean-init: To start with a fresh repo
- comp: Create component folder and files (including test file)
- cont: Create container folder and files (including test file)
- start: Start the
dev
server running athttp://localhost:5050
- build: Build for
production
, ready to host - test: Run tests in watch mode
- quick: Clean and install dependencies, start the server
More docs will be updated soon
- If you use it somewhere, you have to link back to Knaxus(https://ashokdey.in/opensource)
This work is licensed under a Creative Commons Attribution 3.0 Unported License.