一覧へ戻る
Arcath/rollup-plugin-screeps(新しいタブで開きます)
主要言語: JavaScript
Rollup Plugin for publishing your code to a Screeps server
- star 数
- 10
- watcher 数
- 2
- fork 数
- 22
- issue 数
- 14
- 最終更新
- 2023/07/28
主要言語: JavaScript
Rollup Plugin for publishing your code to a Screeps server
npm install --save-dev rollup-plugin-screeps
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"}) ] }
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.