Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 709 Bytes

README.md

File metadata and controls

43 lines (25 loc) · 709 Bytes

spa-parcel

A pre-configured boilerplate for creating SPA apps

the environment

  • husky for git hooks (pre-commit)
  • lint-staged for run eslint
  • eslint with my preferences (no semicolons)
  • parcel-bundler for bundling to .dist folder
  • babel with babel-transform and babel-runtime

the app structure

  • page as router
  • knockout as databind lib with knockout-validation
  • views and components are just es6 strings

starting up

npm install

development mode

Run npm run dev

build

npm run build

Gulp tasks

  • tag version (changes package.json)

    gulp patch

Caprover

Configure caprover setup

Check captain-definition

check and run deploy.bat