-
Notifications
You must be signed in to change notification settings - Fork 3
Commands
Marat Zimnurov edited this page Aug 30, 2020
·
1 revision
However you get the code, you can install dependencies and run the project in development mode with:
cd my-app
npm install # or yarn
npm run dev
Open up localhost:3000 and start clicking around.
Consult sapper.svelte.dev for help getting started.
# TypeScript/JavaScript/Svelte files
npm run prettier
# TypeScript files
npm run prettier:typescript
# JavaScript files
npm run prettier:javascript
# Svelte files
npm run prettier:svelte
# run the linting
npm run eslint
# show configuration of ESLint
# may be useful at pipeline usage
npm run eslint:dump
# fix code by ESLint
npm run eslint:fix
# run the storybook
npm run storybook
# any new icons can be added by update of fontello.config.json
# all icons placed at http://fontello.com/
# build icons & fonts based on fontello.config.json
npm run build
# show all packages that can be updated
npm run update:pull
# increase and install versions of packages
npm run update:install