0.1.0 • Published 10 years ago

webpack-react-starter v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

webpack-react-starter

A minimal webpack + react ES6 starter template.

What's included:

Installation

npm install
npm run build

This package is also on NPM npm i webpack-react-starter.

Development

Tasks

  • npm run build
  • npm run examples
  • npm run lint

File Structure

dist

The compiled and minified version for distribution generated by npm run build.

examples

Create your app and demonstrate how the components works. The npm run examples starts the webpack-dev-server in hot mode.

scripts

Bash scripts to perform the build operation.

src

Source of the project. Since we're keeping the stylesheet together with the component, have a folder for each one make sense e.g.

|-- src
  |-- Menu
    |-- index.js
    |-- index.css
  |-- SearchField
    |-- index.js
    |-- index.css
  |-- index.js

src/index.js

The ./src/index.js is the main entry point. Use it to export your modules.

export {default as HelloWorld} from './HelloWorld';
0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago