rollup-plugin-screepy
TypeScript icon, indicating that this package has built-in type declarations

3.0.6 • Public • Published

Rollup Screeps Plugin

Forked and renamed from: https://github.com/Arcath/rollup-plugin-screeps

Install

npm install --save-dev rollup-plugin-screepy

Usage

In rollup.config.js

import screeps from "rollup-plugin-screepy";

...

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

[] 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.

Readme

Keywords

Package Sidebar

Install

npm i rollup-plugin-screepy

Weekly Downloads

7

Version

3.0.6

License

MIT

Unpacked Size

14.7 kB

Total Files

7

Last publish

Collaborators

  • aclarke822