An open API service indexing awesome lists of open source software.

https://github.com/nervjs/nerv-webpack-boilerplate

A webpack boilerplate with Nervjs
https://github.com/nervjs/nerv-webpack-boilerplate

babel eslint nervjs stylelint typescript webpack

Last synced: 12 months ago
JSON representation

A webpack boilerplate with Nervjs

Awesome Lists containing this project

README

          

Nervjs-webpack-boilerplate
---

A simple Webpack boilerplate with Nervjs.

## Features

* 🤖[Nerv](https://github.com/NervJS/nerv) inside
* Inline [Polyfill](https://github.com/o2team/es5-polyfill) for IE8 support !
* [Webpack](https://github.com/webpack/webpack) based
* [Typescript](https://github.com/Microsoft/TypeScript) support
* JSX/TSX support
* SCSS support
* [Babel](https://github.com/babel/babel) with [@babel/preset-env](https://github.com/babel/babel/tree/master/packages/babel-preset-env)
* Precommit hooks:
* StyleLint with [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) rules
* ESLint with [eslint-config-standard](https://github.com/standard/eslint-config-standard) rules
* TSLint with [tslint-config-standard](https://github.com/blakeembrey/tslint-config-standard) rules
* Automatically fix code style using [Prettier](https://github.com/prettier/prettier)

## Usage

* Install:
`npm install`

* Run dev server:
`npm run dev`

* Build:
`npm run build`

* Run in IE 8
`npm run deploy`