@rnd7/rum-maker
Rumbullion ES6 build system
Last updated a year ago by rnd7 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @rnd7/rum-maker 
SYNC missed versions from official npm registry.

rum-maker

Rumbullion build tool. Transpiling ES6 for multiple targets. Configured via package.json. Utilizing Rollup and Babel. This tool is not a generic bundler and transpiler. It exactly fits the Rumbullion needs but nothing more. Primary purpose is to get rid of config files and dependecies within a micro package project.

Install

I prefer installation per package. But you can also install it global to link the make-rum command systemwide.

npm i -D @rnd7/rum-maker

Run

Configure it within the package.json file of your project. If present the entry setting in the rum.maker config will define the entry point otherwise it defaults to './src/index.js'. As outputs the package module, main and browser will be used when present. Module transpiles to es, main to cjs, and browser to browser compatible cjs module.

{
  "name": "myPackage",
  "module": "dist/my-package-es.js",
  "main": "dist/my-package-cjs.js",
  "browser": "dist/my-package-browser.js",
  "rum": {
    "maker": {
      "entry": "src/index.js"
    }
  },
  "scripts": {
    "build": "make-rum"
  },
  "devDependencies": {
    "@rnd7/rum-maker": "^1.0.16"
  }
}

And afterwards you can run the script using

npm run build

Or execute it via npx from your project root, while it still uses the package.json for configuration

npx make-rum

You might also invoke it by poiting node towards the bin js, though it is only recommended for development purposes or to transpile the rum-maker using rum-maker.

node bin/make-rum.js

License

See the LICENSE file for software license rights and limitations (MIT).

Current Tags

  • 1.0.18                                ...           latest (a year ago)

19 Versions

  • 1.0.18                                ...           a year ago
  • 1.0.17                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 21
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |