Seed project with express and node.
With node
git clone https://github.com/samueleishion/xern
cd xern
npm install
With yarn
git clone https://github.com/samueleishion/xern
cd xern
yarn install
Working directory: ./src
Build directory: ./static
Building for development (+hot reload):
npm run build:dev
Building for production:
npm run build:prod
If you are building for dev, the server will spin up automatically. Once you've built for production, you can run the following command to serve the static output:
npm run serve
There are a set of rules provided for eslint and prettier to lint. To lint:
npm run lint
The project will lint automatically in dev mode and before commits.