My minimum frontend boilerplate 201811
This code does not include framework, lint, ci, and other (production) tools.
# ... Setup node and yarn
$ git clone [email protected]:mizchi-sandbox/minfront.git --depth 1 myspa
$ cd myspa
$ git remote rm origin # optional
$ yarn install
$ yarn dev # Start app server
$ yarn build # Build to dist
$ yarn test # Run jest
$ yarn deploy # Deploy to netlify
This project is based on my handy shell command.
$ mkdir app_name; cd app_name
$ yarn init -y; git init; gibo dump Node > .gitignore; yarn add typescript -D; yarn tsc --init
Optional: Replace {app_name}
to your-app-name
and remove README so far.
yarn dev
: Start application server on http://localhost:1234
yarn build
: Generate dist
yarn test
: Run jestyarn deploy
: Deploy to netlify (need netlify account)MIT