Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juristr/webpack-typescript-starter
A simple Webpack 2 + TypeScript starter
https://github.com/juristr/webpack-typescript-starter
starter-kit starter-template typescript webpack webpack2
Last synced: 11 days ago
JSON representation
A simple Webpack 2 + TypeScript starter
- Host: GitHub
- URL: https://github.com/juristr/webpack-typescript-starter
- Owner: juristr
- Created: 2017-01-16T11:10:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-08T09:45:25.000Z (about 1 year ago)
- Last Synced: 2025-01-03T06:47:03.707Z (18 days ago)
- Topics: starter-kit, starter-template, typescript, webpack, webpack2
- Language: JavaScript
- Size: 14.6 KB
- Stars: 127
- Watchers: 8
- Forks: 49
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Webpack 4 + TypeScript starter
------------------------------[![Build Status](https://travis-ci.org/juristr/webpack-typescript-starter.svg?branch=master)](https://travis-ci.org/juristr/webpack-typescript-starter)
This is by far no sophisticated starter or whatever. The goal is to get the simplest possible setup to get you started with Webpack 4 and TypeScript. You can then start from here and add further stuff you need, such as SASS compilation, add framework specific stuff etc.
Also check out the official Webpack 4 docs for a proper TypeScript setup: https://webpack.js.org/guides/typescript/
_Note, this is still a WIP. Contributions/suggestions are welcome :smiley:_
## Features
- [x] Webpack 4
- [x] TypeScript 2 compilation
- [x] ts-lint
- [x] Webpack Development Server
- [x] Karma and Jasmine test execution## How to use
Just clone it and get going.
```
# --depth 1 removes all but one .git commit history
$ git clone --depth=1 https://github.com/juristr/webpack-typescript-starter.git# change directory to your project
cd# Maybe remove the `.git` directory and start with a fresh one.
# install all dependencies.
$ npm i# Start developing and serve your app:
npm start# Build your app without minification:
npm run build# Build your app with minification:
npm run build.all# run unit tests:
npm run test
```
## ContributionsOf course! Open an issue and let's discuss :smiley:.
## Links and other useful stuff
Similar projects that could be a point of inspiration:
- [krasimir/webpack-library-starter](https://github.com/krasimir/webpack-library-starter)