Projects
View on GitHub
CodelyTV/javascript-basic-skeleton
About
This is a repository intended to serve as a starting point if you want to bootstrap a project in modern vanilla JavaScript.
Developer ToolsWhat you can do
- Babel with preset-env
- Codely's config (includes ESLint's recommended rules, Prettier, Import plugin and more)
- Jest with DOM Testing Library
- Cypress with Testing Library
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalJavaScript Bootstrap (base / project starter)
This is a repository intended to serve as a starting point if you want to bootstrap a project in modern vanilla JavaScript.
Features
- Webpack (v5)
- Babel with preset-env
- Prettier
- ESLint with:
- Codely's config (includes ESLint's recommended rules, Prettier, Import plugin and more)
- HTML plugin
- Jest with DOM Testing Library
- Cypress with Testing Library
- GitHub Action workflows set up to run tests and linting on push
Running the app
# install dependencies
npm install
# run in dev mode on port 8080
npm run dev
# generate production build
npm run build
# run generated content in dist folder on port 8080
npm run start
Testing
Jest with Testing Library
npm run test
Cypress
# run in dev mode on port 8080
npm run dev
# open Cypress to run tests on dev mode
npm run cy:open
# open Cypress on CLI
npm run cy:run
Linting
# run linter
npm run lint
# fix lint issues
npm run lint:fix
Explore related projects
Loading…