https://github.com/king-prawns/webpack5-starter-kit-ts
Webpack 5 starter kit TS
https://github.com/king-prawns/webpack5-starter-kit-ts
typescript webcomponents webpack-dev-server webpack5
Last synced: 3 months ago
JSON representation
Webpack 5 starter kit TS
- Host: GitHub
- URL: https://github.com/king-prawns/webpack5-starter-kit-ts
- Owner: king-prawns
- License: mit
- Created: 2018-10-27T13:40:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T14:17:02.000Z (about 1 year ago)
- Last Synced: 2025-04-11T15:31:49.322Z (about 1 year ago)
- Topics: typescript, webcomponents, webpack-dev-server, webpack5
- Language: JavaScript
- Homepage:
- Size: 3.46 MB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webpack5-starter-kit-ts
Webpack 5 with webpack-dev-server configuration (and Web Components).
## Installation via CLI
* Install w5kit-cli
```
npm install -g w5kit-cli
```
* Launch the CLI
```
w5kit
```
* Choose `TypeScript`
## Installation via Clone
* Clone this repository
```
git clone https://github.com/king-prawns/webpack5-starter-kit-ts.git [your-app-name]
```
Remove the .git folder and change details within:
```
package.json
src/manifest.json
```
* Install dependencies
```
$ cd your-app-name
$ yarn
```
## Available tasks
```sh
# Runs development server (Webpack dev server)
$ yarn dev
# Build command
$ yarn build
# Lint with TSLint
$ yarn lint
# Run only type checking
$ yarn tc
# Run unit tests (ts-jest)
$ yarn test
# Runs http-server on port 8082
$ yarn httpserver
```
## Features
* [Webpack 5](https://github.com/webpack/webpack)
* [TypeScript](http://www.typescriptlang.org/)
* [TSLint](https://palantir.github.io/tslint/)
* [StyleLint](https://github.com/stylelint/stylelint)
* [Postcss](https://github.com/postcss/postcss)
* [Jest](https://github.com/facebook/jest)
* [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components)
## Vanilla JS
### [JavaScript repository](https://github.com/king-prawns/webpack5-starter-kit)