Skip to content

Habitat-Food-Fast/webpack4-starter-kit-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack4-starter-kit-ts

Webpack 4 with webpack-dev-server configuration (and Web Components).

Requirements

  • Node >= v6.x
  • Yarn >= v1.1 | NPM >= v5.0

Installation via CLI

  • Install w4kit-cli
npm install -g w4kit-cli
  • Launch the CLI
w4kit
  • Choose TypeScript

Installation via Clone

  • Clone this repository
git clone -b typescript https://github.com/king-prawns/webpack4-starter-kit.git [your-app-name]

Remove the .git folder and change details within:

package.json
src/manifest.json
  • Install dependencies
$ cd my-app-name
$ yarn

Available tasks

# 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 (ava-ts)
$ yarn test

# Runs http-server on port 8082
$ yarn httpserver

Features

Vanilla JS

Please go to JS repo

Packages

No packages published

Languages

  • JavaScript 71.2%
  • HTML 10.6%
  • CSS 9.1%
  • TypeScript 9.1%