Skip to content

jayphelps/core-decorators-issue-48

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-webpack-boilerplate

Prerequisites

You must have node and npm installed, then install the webpack development server:

$ npm install webpack-dev-server -g

Dev build + livereload webserver

$ npm start

Dev build

$ npm run build

Prod build

$ npm run build-prod

Run tests

$ npm test

Project name/importing from app src root

Importing from your src/ directory root instead of using a relative path can be done using a fully-qualified path that starts with the same name as the name field in your package.json, which is react-webpack-boilerplate by default but you should probably change this.

import someFile from 'react-webpack-boilerplate/path/to/file';
// will import from 'src/path/to/file'

Linting

By default, all stage 0 features of JavaScript that are available in Babel are included and linted with a very opinionated profile. If you'd prefer to change the linting settings, you can do so in .eslintrc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published