Here is the list of scripts for the project that should be used in this specific order.
- Clone the repository.
git clone https://github.com/Parapluieinfo/CampingStPie.git- Install the dependencies.
npm install- Lint everything in the project
npm run lint- Lint JavaScript
npm run lint:js- Lint Markdown
npm run lint:markdown- Lint Markup
npm run lint:markup- Lint Styles
npm run lint:styles- Lint YAML
npm run lint:yaml- Check the formatting in the project
npm run format:check- Format everything in the project
npm run format:fix- TBA
- Build both client and server
npm run build- Build client
npm run build:client- Build server
npm run build:server- Start both client and server
npm run start- Start client
npm run start:client- Start server
npm run start:server- Analyze dependencies with Webpack
npm run analyze- Commit changes to the project (see Commit Convention)
npm run commit- Check code before pushing to Github. (lint, build & test)
npm run checkYou can use the NodeJS profile in the .vscode directory.
- Press
CTRL + SHIFT + P - Type & Select
import profile - Select
Select File... - Use the file
NodeJS.code-profilein the.vscodedirectory - Click the button
Create Profile - Name the profile e.g.
NodeJS - Press the button
Create
- src
- client
- files
- images
- scripts
- styles
- templates
- server
- client