1.0.1 • Published 4 years ago

rollup-plugin-screeps v1.0.1

Weekly downloads
122
License
MIT
Repository
github
Last release
4 years ago

Rollup Screeps Plugin

Install

npm install --save-dev rollup-plugin-screeps

Usage

In rollup.config.js

import screeps from "rollup-plugin-screeps";

...

export default {
  ...
  sourcemap: true, // If set to true your source maps will be made screeps friendly and uploaded

  plugins: [
    ...
    screeps({configFile: "./screeps.json"})
  ]
}

Config File

rollup-plugin-screeps needs your screeps username/password and the server to upload to.

{
  "email": "you@domain.tld",
  "password": "pass",
  "protocol": "https",
  "hostname": "screeps.com",
  "port": 443,
  "path": "/",
  "branch": "auto"
}

If branch is set to "auto" rollup-plugin-screeps will use your current git branch as the name of the branch on screeps, if you set it to anything else that string will be used as the name of the branch.

1.0.1

4 years ago

1.0.0

4 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago