8000 GitHub - glued/harp-babel: Harp boilerplate with webpack & babel for ES2015+
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

glued/harp-babel

Repository files navigation

harp-babel

Harp boilerplate with Babel and webpack for ES6+ friendly development. If you prefer Typescript, 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-babel
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. This will also lint your code using ESLint and JSCSrc

These commands are defined in package.json

About

Harp boilerplate with webpack & babel for ES2015+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0