Skip to content

esteban-em/webpack4-starter-kit

 
 

Repository files navigation

webpack4-starter-kit

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 Vanilla JS

Installation via Clone

  • Clone this repository
git clone 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 ESLint
$ yarn lint

# Run Flow
$ yarn flow

# Run unit tests (ava + instanbul)
$ yarn test

# Runs http-server on port 8082
$ yarn httpserver

Features

TypeScript

Please go to TS repo

About

Webpack 4 starter kit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.4%
  • HTML 9.0%
  • CSS 8.6%