https://github.com/timwis/es6-boilerplate
Front-end project boilerplate with es6 build tools. Includes babel, webpack, and npm scripts.
https://github.com/timwis/es6-boilerplate
Last synced: about 1 year ago
JSON representation
Front-end project boilerplate with es6 build tools. Includes babel, webpack, and npm scripts.
- Host: GitHub
- URL: https://github.com/timwis/es6-boilerplate
- Owner: timwis
- Created: 2016-02-08T12:00:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-13T00:24:23.000Z (over 10 years ago)
- Last Synced: 2025-04-11T12:52:47.715Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 8
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# es6 boilerplate
Front-end project boilerplate with es6 build tools. Includes babel, webpack, and npm scripts.
## Usage
Use [index.js](src/index.js) as your entry point. From there you can write ES6 JavaScript
and import other modules using `import Foo from './foo'` etc. It will be compiled to a
single ES5 file at `dist/bundle.js` using the commands below, which is then run by
[index.html](index.html).
## Development
Clone this repository and use `npm install` to install dependencies.
Use `npm start` to run a live reload server at `localhost:8080/webpack-dev-server`
and watch for/recompile on changes.
Use `npm run watch` to _only_ watch for/recompile on changes (use your own web server)
Use `npm run build` to compile a minified, production-ready build