{"_id":"@admon-dev/rollup-plugin-screeps","_rev":"6-b89638bd42c2fd2c45feec5c8a2663af","name":"@admon-dev/rollup-plugin-screeps","dist-tags":{"latest":"0.2.4"},"versions":{"0.1.0":{"name":"@admon-dev/rollup-plugin-screeps","version":"0.1.0","keywords":["screeps","rollup"],"author":{"name":"admon84"},"license":"ISC","_id":"@admon-dev/rollup-plugin-screeps@0.1.0","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/rollup-plugin-screeps#readme","bugs":{"url":"https://github.com/admon84/rollup-plugin-screeps/issues"},"dist":{"shasum":"c695b02f6f86bf4624ebde7673984e8ca00fe27a","tarball":"https://registry.npmjs.org/@admon-dev/rollup-plugin-screeps/-/rollup-plugin-screeps-0.1.0.tgz","fileCount":9,"integrity":"sha512-EWmeXInMtNJ9JZdSzBGoVXkdPWPK/sbrvC5Kjyf0Cg3bkMqihjDmCFTLDrMs+gQroAH2WKUvdV2PjIw+Cx0cmQ==","signatures":[{"sig":"MEQCIEXnf8ci80ELnD0Ir9UlS90ce3u482t0WWbCq6gAdnBnAiA2O0Ab/MdYMCBYrH1hoy1YOKaCv5WYshyi0LtrnAkHMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15755},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"65df71fb2d9cbbbea0596cebfb47bc53751a5dde","scripts":{"build":"rollup --config"},"_npmUser":{"name":"admon84","actor":{"name":"admon84","type":"user","email":"admonwest84@gmail.com"},"email":"admonwest84@gmail.com"},"repository":{"url":"git+https://github.com/admon84/rollup-plugin-screeps.git","type":"git"},"_npmVersion":"10.9.0","description":"A rollup plugin that builds and deploys Screeps code.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"screeps-api":"^1.16.1","git-rev-sync":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.43.0","@types/node":"^24.0.3","@types/git-rev-sync":"^2.0.2","rollup-plugin-clear":"^2.0.7","@rollup/plugin-typescript":"^12.1.3","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-screeps_0.1.0_1750342979858_0.23367245961292737","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@admon-dev/rollup-plugin-screeps","version":"0.2.0","keywords":["screeps","rollup"],"author":{"name":"admon84"},"license":"ISC","_id":"@admon-dev/rollup-plugin-screeps@0.2.0","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/rollup-plugin-screeps#readme","bugs":{"url":"https://github.com/admon84/rollup-plugin-screeps/issues"},"dist":{"shasum":"2d01e2a0f90f1306251b0aa015f7a5bd0437614b","tarball":"https://registry.npmjs.org/@admon-dev/rollup-plugin-screeps/-/rollup-plugin-screeps-0.2.0.tgz","fileCount":9,"integrity":"sha512-y9lxUapoQudnRVSEx1abgVUEZSwEHyNNSnPtYOo5pqXgz+en2KaD35FiCtHTTJgqS8/NlHv0WGkt7O4YIuC0Ng==","signatures":[{"sig":"MEUCIQDj/E/Mpfmi4seDLhDBwY21M5ZCcg4Ytn7NEpmyHxOJHgIgG0HCAytL/GkjdH85lbju0PSv7pneS8abRoweCl5x/Tk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16233},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"0676b23e8ab598f1ab320b8e9d1ff792d1980dec","scripts":{"build":"rollup --config"},"_npmUser":{"name":"admon84","actor":{"name":"admon84","type":"user","email":"admonwest84@gmail.com"},"email":"admonwest84@gmail.com"},"repository":{"url":"git+https://github.com/admon84/rollup-plugin-screeps.git","type":"git"},"_npmVersion":"10.9.0","description":"A rollup plugin that deploys Screeps code.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"screeps-api":"^1.16.1","git-rev-sync":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.44.0","@types/node":"^24.0.3","@types/git-rev-sync":"^2.0.2","rollup-plugin-clear":"^2.0.7","@rollup/plugin-typescript":"^12.1.3","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-screeps_0.2.0_1750368901941_0.1197639484163191","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@admon-dev/rollup-plugin-screeps","version":"0.2.1","keywords":["screeps","rollup"],"author":{"name":"admon84"},"license":"ISC","_id":"@admon-dev/rollup-plugin-screeps@0.2.1","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/rollup-plugin-screeps#readme","bugs":{"url":"https://github.com/admon84/rollup-plugin-screeps/issues"},"dist":{"shasum":"2e93473148442e8fe972ffccea2d8d6f0cf2b46a","tarball":"https://registry.npmjs.org/@admon-dev/rollup-plugin-screeps/-/rollup-plugin-screeps-0.2.1.tgz","fileCount":9,"integrity":"sha512-KlSSq5ypVL5rSv6XSYoF8AKTlEIViTwqT/4iRvfmmtQtRReoZgEBZbL1yW37QdmGv/kM/jv+K65+1P/PosNDPA==","signatures":[{"sig":"MEYCIQDFrd/TMzGOpsBVA/3UPO5L+gcAypMj1bgAM+9kXphSAAIhANsu6AGZShasMW79X2E2GA7hCRHo2/RbT5Udldt3jJuS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16846},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"4adb792507ab7aefccfdda38023b5418f0caf46b","scripts":{"build":"rollup --config"},"_npmUser":{"name":"admon84","actor":{"name":"admon84","type":"user","email":"admonwest84@gmail.com"},"email":"admonwest84@gmail.com"},"repository":{"url":"git+https://github.com/admon84/rollup-plugin-screeps.git","type":"git"},"_npmVersion":"10.9.0","description":"A rollup plugin that deploys Screeps code.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"screeps-api":"^1.16.1","git-rev-sync":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.44.0","@types/node":"^24.0.3","@types/git-rev-sync":"^2.0.2","rollup-plugin-clear":"^2.0.7","@rollup/plugin-typescript":"^12.1.3","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-screeps_0.2.1_1750369942638_0.8182518567023074","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@admon-dev/rollup-plugin-screeps","version":"0.2.2","keywords":["screeps","rollup"],"author":{"name":"admon84"},"license":"ISC","_id":"@admon-dev/rollup-plugin-screeps@0.2.2","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/rollup-plugin-screeps#readme","bugs":{"url":"https://github.com/admon84/rollup-plugin-screeps/issues"},"dist":{"shasum":"b930ae1f54d0bd19d81439bc5add77a7205327da","tarball":"https://registry.npmjs.org/@admon-dev/rollup-plugin-screeps/-/rollup-plugin-screeps-0.2.2.tgz","fileCount":9,"integrity":"sha512-mlRYcfND3KcvAuFGpFCqzYw82FYWDHKdAxf1eQMPK4UzkJSbPZCTjfGKFBNB2rwbg+eMz6bjrgykKW6vJ+r8VQ==","signatures":[{"sig":"MEUCIQDKuf0Up0mZCV8yvjmaIuLJBLYJogo5jGs7mniyq8CvUQIgCJsOWhr2FCXlgVsn/YxTRLMOnCtvcr19fvGYJ8d7Xnw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16544},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"4adb792507ab7aefccfdda38023b5418f0caf46b","scripts":{"build":"rollup --config"},"_npmUser":{"name":"admon84","actor":{"name":"admon84","type":"user","email":"admonwest84@gmail.com"},"email":"admonwest84@gmail.com"},"repository":{"url":"git+https://github.com/admon84/rollup-plugin-screeps.git","type":"git"},"_npmVersion":"10.9.0","description":"A rollup plugin that deploys Screeps code.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"screeps-api":"^1.16.1","git-rev-sync":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.44.0","@types/node":"^24.0.3","@types/git-rev-sync":"^2.0.2","rollup-plugin-clear":"^2.0.7","@rollup/plugin-typescript":"^12.1.3","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-screeps_0.2.2_1750370912171_0.5542078821538616","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@admon-dev/rollup-plugin-screeps","version":"0.2.3","keywords":["screeps","rollup"],"author":{"name":"admon84"},"license":"ISC","_id":"@admon-dev/rollup-plugin-screeps@0.2.3","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"homepage":"https://github.com/admon84/rollup-plugin-screeps#readme","bugs":{"url":"https://github.com/admon84/rollup-plugin-screeps/issues"},"dist":{"shasum":"1daa6128fe7a22348f88648f1253e1926b9d0263","tarball":"https://registry.npmjs.org/@admon-dev/rollup-plugin-screeps/-/rollup-plugin-screeps-0.2.3.tgz","fileCount":10,"integrity":"sha512-XUcG0fAzECqNULQi23L+SyQkXmhtLEUoUwEg5tXlQ89MnV79rv/ACRP69WpMwK854h/vQ3APArIlEVKXc+zhtQ==","signatures":[{"sig":"MEYCIQCikO+EiVqCUfMEAfvdt9XMcZwAtceAv9bO4P4P2BVCowIhAP/jRAqLvGyC5bYxxIxX3jtXFGLtNkBQLofbcRPGFrBd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17347},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=24"},"gitHead":"0797c4df30737045d7c20dbbefb8d4a79c8f0eba","scripts":{"build":"rollup --config"},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"repository":{"url":"git+https://github.com/admon84/rollup-plugin-screeps.git","type":"git"},"_npmVersion":"11.11.0","description":"A rollup plugin that deploys Screeps code.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"git-rev-sync":"^3.0.2","@admon-dev/screeps-api":"^1.16.2"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.44.0","@types/node":"^24.0.3","@types/git-rev-sync":"^2.0.2","rollup-plugin-clear":"^2.0.7","@rollup/plugin-typescript":"^12.1.3"},"_npmOperationalInternal":{"tmp":"tmp/rollup-plugin-screeps_0.2.3_1776055251491_0.04957001011506601","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@admon-dev/rollup-plugin-screeps","version":"0.2.4","main":"dist/index.js","scripts":{"build":"rollup --config"},"author":{"name":"admon84"},"license":"ISC","description":"A rollup plugin that deploys Screeps code.","devDependencies":{"@rollup/plugin-typescript":"^12.1.3","@types/git-rev-sync":"^2.0.2","@types/node":"^24.0.3","rollup":"^4.44.0","rollup-plugin-clear":"^2.0.7","tslib":"^2.8.1"},"dependencies":{"@admon-dev/screeps-api":"^1.16.2","git-rev-sync":"^3.0.2"},"repository":{"type":"git","url":"git+https://github.com/admon84/rollup-plugin-screeps.git"},"keywords":["screeps","rollup"],"types":"./dist/index.d.ts","bugs":{"url":"https://github.com/admon84/rollup-plugin-screeps/issues"},"homepage":"https://github.com/admon84/rollup-plugin-screeps#readme","engines":{"node":">=18"},"gitHead":"7500948133a26f1c766f0c8df275e2836d0b846d","_id":"@admon-dev/rollup-plugin-screeps@0.2.4","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-QzzqdeIPEwxgXV8u9mweFIzcAGyR1oPZ/+UchoTPBuDL2hMhV8nDKHSsKuYXXFRP6UWNjtz5bpBTdHNcU/quYg==","shasum":"22181a40d85d4b8d1299b4beeaf25a72a8ba41ba","tarball":"https://registry.npmjs.org/@admon-dev/rollup-plugin-screeps/-/rollup-plugin-screeps-0.2.4.tgz","fileCount":10,"unpackedSize":17347,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE5cBaw6dbDpCdhOiVq3YMACX7G5T+UTPdTfN5uFeMYoAiBuaI0XEqH3kw7lyLP3ZeZgXXyHstk1td/2H8vywhyUdQ=="}]},"_npmUser":{"name":"admon84","email":"admonwest84@gmail.com"},"directories":{},"maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rollup-plugin-screeps_0.2.4_1776055975473_0.7878649194718783"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-19T14:22:59.763Z","modified":"2026-04-13T04:52:55.741Z","0.1.0":"2025-06-19T14:23:00.039Z","0.2.0":"2025-06-19T21:35:02.143Z","0.2.1":"2025-06-19T21:52:22.809Z","0.2.2":"2025-06-19T22:08:32.337Z","0.2.3":"2026-04-13T04:40:51.612Z","0.2.4":"2026-04-13T04:52:55.630Z"},"bugs":{"url":"https://github.com/admon84/rollup-plugin-screeps/issues"},"author":{"name":"admon84"},"license":"ISC","homepage":"https://github.com/admon84/rollup-plugin-screeps#readme","keywords":["screeps","rollup"],"repository":{"type":"git","url":"git+https://github.com/admon84/rollup-plugin-screeps.git"},"description":"A rollup plugin that deploys Screeps code.","maintainers":[{"name":"admon84","email":"admonwest84@gmail.com"}],"readme":"# Rollup Plugin for Screeps World\n\nUses [screeps-api](https://www.npmjs.com/package/screeps-api) to upload code to screeps servers.\n\n## Install\n\n```\nnpm i --save-dev @admon-dev/rollup-plugin-screeps\n```\n\n## Usage\n\nIn `rollup.config.mjs`\n\n```mjs\nimport screeps from '@admon-dev/rollup-plugin-screeps';\n\nexport default {\n  // ...\n  output: {\n    // ...\n    sourcemap: true, // To generate source maps\n  },\n  plugins: [\n    // ...\n    screeps({\n      config: './screeps.config.json', // To read the config\n      destination: process.env.DEST // To upload code\n    })\n  ]\n}\n```\n\nExample `package.json` scripts\n\n```json\n{\n  \"scripts\": {\n    \"build\": \"rollup -c\",\n    \"push:main\": \"rollup -c --environment DEST:main\",\n    \"push:season\": \"rollup -c --environment DEST:season\",\n    \"push:pserver\": \"rollup -c --environment DEST:pserver\"\n  }\n}\n```\n\n### Config File\n\nCreate your `screeps.config.json` file and set login details for each server connection.\n\nList this file in `.gitignore` to keep it private and excluded from git.\n\nUse **token** for official screeps servers and **username/password** for private servers.\n\n```json\n{\n  \"main\": {\n    \"token\": \"SET TOKEN HERE\",\n    \"protocol\": \"https\",\n    \"hostname\": \"screeps.com\",\n    \"port\": 443,\n    \"branch\": \"main\"\n  },\n  \"season\": {\n    \"token\": \"SET TOKEN HERE\",\n    \"protocol\": \"https\",\n    \"hostname\": \"screeps.com\",\n    \"path\": \"/season\",\n    \"port\": 443,\n    \"branch\": \"season\"\n  },\n  \"pserver\": {\n    \"email\": \"SET USERNAME HERE\",\n    \"password\": \"SET PASSWORD HERE\",\n    \"protocol\": \"http\",\n    \"hostname\": \"127.0.0.1\",\n    \"port\": 21025,\n    \"branch\": \"main\"\n  }\n}\n```\n\nIf `branch` is set to `\"auto\"` your current git branch name will be used as the branch on screeps, anything else will use the string as the branch name.\n\n## Credits\n\n@Arcath for the [original project](https://github.com/Arcath/rollup-plugin-screeps). \n\n@coconutbird for the [modernized rewrite](https://github.com/coconutbird/plugin-screeps-rollup) for latest rollup with bugs fixed.\n","readmeFilename":"README.md"}