My minimum frontend boilerplate 201811
- yarn
- parcel
- typescript
- jest
- netlify
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
- https://github.com/prettier/prettier
- https://github.com/paulirish/pwmetrics
- https://github.com/xavdid/typed-install
- https://github.com/saadq/lynt (at first linting)
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 onhttp://localhost:1234
yarn build
: Generatedist
yarn test
: Run jestyarn deploy
: Deploy to netlify (need netlify account)
MIT