web-modules-build
## Webpack
Last updated 4 months ago by kirill.konshin .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install web-modules-build 
SYNC missed versions from official npm registry.

Web Modules Build

Webpack

// webpack.config.prod
module.exports = require('web-modules-build/webpack/webpack.config.prod');
// webpack.config.dev
module.exports = require('web-modules-build/webpack/webpack.config.dev');

Add to package.json:

{
  "scripts": {
    "start": "rc-webpack-dev-server --config webpack.config.dev.js",
    "build:dev": "rc-webpack --config webpack.config.dev.js",
    "build": "rc-webpack --config webpack.config.prod.js"
  }
}

Babel

// .babelrc.js
module.exports = require('web-modules-build/src/babel/babelrc');

Add to package.json:

{
  "scripts": {
    "babel": "rc-babel src --no-babelrc --config-file './.babelrc.js' --out-dir lib --source-maps"
  }
}

Jest

// jest.config.js
module.exports = require('web-modules-build/src/jest/jest.config');

Add to package.json:

{
  "scripts": {
    "test": "rc-jest",
    "test:watch": "rc-jest --watch"
  }
}

Current Tags

  • 19.4.3                                ...           latest (4 months ago)

16 Versions

  • 19.4.3                                ...           4 months ago
  • 19.4.2                                ...           4 months ago
  • 19.4.1                                ...           4 months ago
  • 19.4.0                                ...           5 months ago
  • 19.3.29                                ...           5 months ago
  • 19.3.25                                ...           5 months ago
  • 19.3.21                                ...           6 months ago
  • 19.3.20                                ...           6 months ago
  • 19.3.18                                ...           7 months ago
  • 19.3.17                                ...           7 months ago
  • 19.3.15                                ...           8 months ago
  • 11.1.1                                ...           a year ago
  • 0.2.5                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 9
Last Day 1
Last Week 8
Last Month 31
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |