Skip to content

Instantly share code, notes, and snippets.

@Chamber6821
Chamber6821 / Gruntfile.js
Created July 19, 2022 12:32
Gruntfile for screeps
const path = require("path")
module.exports = function (grunt) {
const screepsOptions = {...require("./config/screeps.json"), ...grunt.options}
grunt.loadNpmTasks("grunt-ts")
grunt.loadNpmTasks("grunt-screeps")
grunt.loadNpmTasks("grunt-contrib-copy")
grunt.loadNpmTasks("grunt-contrib-clean")
const readline = require('readline')
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
terminal: false
})
rl.on('line', line => console.log(addAliases(line)))