1.0.19 • Published 6 years ago

@rnd7/rum-maker v1.0.19

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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).

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago