easymake-preset-default-webapp-react
easymake: default preset for make webapp with react
Last updated 3 years ago by madcode.tech .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install easymake-preset-default-webapp-react 
SYNC missed versions from official npm registry.

easymake-preset-default-webapp-react

default preset for easymake which helps to make webapp with react

documentation

You can find documentation here https://github.com/madcode-tech/easymake/wiki

preset uses:

  • coding
    • babel
      • es2015
      • es2016
      • react
      • stage-1
    • bluebird
  • style
  • Stylus
  • linting
    • eslint
    • stylint
  • bundling
    • webpack
  • testing
    • karma
    • mocha
    • chai
    • sinon
    • phantomjs
    • karma-coverage

configuration in package.json:

{

  "config" = {

    "easymake" = {

    "preset": "easymake-preset-default-webapp-react",

      "libraryBundle" - array, by default all Dependencies bundled in vendor.js - file, but if you want to bundle some dependency in your bundle - place here its name,

      "libraryExternal" - array, by default all Dependencies bundled in vendor.js - file, but if you want some to load manually to your page - place it here in externals list

  }

}

main tasks (preset contains additional sub-tasks):

  • create-folders
  • bundle
  • test-units

how to use:

  • easymake --run create-folders - create base folders in project directory
  • easymake --run bundle - start bundle with webpack in watch mode
  • easymake --run bundle --production - make bundle (no watch)
  • easymake --run test-units - run unit tests and generate code-coverage report

Current Tags

  • 1.0.5                                ...           latest (3 years ago)

5 Versions

  • 1.0.5                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (42)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |