jpolvora / spa-parcel

buildable vanilla knockout navigo parcel build template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

buildable vanilla knockout navigo parcel build template


Languages

Language:JavaScript 89.2%Language:HTML 7.7%Language:CSS 2.4%Language:Batchfile 0.6%Language:Shell 0.1%