/harp-typescript

Harp boilerplate with webpack & typescript for ES2015+

Primary LanguageJavaScript

harp-typescript

Harp boilerplate with Typescript and webpack for ES6+ friendly development. If you prefer Babel, look here

I also have a new Atom package which make using harp a snap with atom.

Setup

You must have Harp installed globally first npm install harp -g

then pick any directory and run the following from the terminal / command prompt

harp init -b glued/harp-typescript
npm install

Run webpack

Run for development

npm run dev

Run for production (OSX)

npm run prod

Run for production (Windows)

npm run win-prod

Deploy to [Surge]

npm run deploy

In production, the javascript is minified and sourcemaps are removed.

These commands are defined in package.json