parcel-svelte-mocktimes-starter Svelte Themes

Parcel Svelte Mocktimes Starter

Parcel & Svelte & am-mocktimes Starter kit

Change Parcel to Vite

https://github.com/ampcpmgp/vite-svelte-mocktimes-starter

Setup

npm install -g degit
npx degit ampcpmgp/parcel-svelte-mocktimes-starter
npm i
  • edit package.json name property
  • edit README.md
  • edit src/index.html title

Start

npm start # Open http://localhost:1234/patterns.html
npm run storybook

Test

npm test
# or watch mode
npm run test:watch
# or watch spefied test name
npx ava --match 'composite/example' --watch

Lint

npm run lint

or vscode extensions https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

Code Format

npm run format

or vscode extensions https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

Generate parts template

npx am-parts -n __NAME__

Top categories

Loading Svelte Themes