Files
screeps-scripts/package.json
Resi Respati 935509b9ea upgrade parser, reduce redundant ESLint rules
This attempts to reduce the amount of redundant ESLint rules we
currently have. It also upgrades the ESLint TypeScript parser to a newer
version (3.7.0).
2020-07-24 15:37:18 +07:00

71 lines
2.4 KiB
JSON

{
"name": "screeps-typescript-starter",
"version": "3.0.0",
"description": "",
"main": "index.js",
"//": "If you add or change the names of destinations in screeps.json, make sure you update these scripts to reflect the changes",
"scripts": {
"lint": "eslint \"src/**/*.ts\"",
"build": "rollup -c",
"push-main": "rollup -c --environment DEST:main",
"push-pserver": "rollup -c --environment DEST:pserver",
"push-sim": "rollup -c --environment DEST:sim",
"test": "npm run test-unit",
"test-unit": "rollup -c rollup.test-unit-config.js && mocha dist/test-unit.bundle.js",
"test-integration": "echo 'See docs/in-depth/testing.md for instructions on enabling integration tests'",
"watch-main": "rollup -cw --environment DEST:main",
"watch-pserver": "rollup -cw --environment DEST:pserver",
"watch-sim": "rollup -cw --environment DEST:sim"
},
"repository": {
"type": "git",
"url": "git+https://github.com/screepers/screeps-typescript-starter.git"
},
"author": "",
"license": "Unlicense",
"bugs": {
"url": "https://github.com/screepers/screeps-typescript-starter/issues"
},
"homepage": "https://github.com/screepers/screeps-typescript-starter#readme",
"engines": {
"node": "10.x || 12.x"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@types/chai": "^4.1.6",
"@types/lodash": "3.10.2",
"@types/mocha": "^5.2.5",
"@types/node": "^13.13.1",
"@types/screeps": "^3.1.0",
"@types/sinon": "^5.0.5",
"@types/sinon-chai": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"@typescript-eslint/typescript-estree": "^3.7.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"lodash": "^3.10.1",
"mocha": "^5.2.0",
"prettier": "^2.0.4",
"rollup": "^2.6.1",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-nodent": "^0.2.2",
"rollup-plugin-screeps": "^1.0.0",
"rollup-plugin-typescript2": "^0.27.0",
"sinon": "^6.3.5",
"sinon-chai": "^3.2.0",
"ts-node": "^8.8.2",
"typescript": "^3.8.3"
},
"dependencies": {
"source-map": "~0.6.1"
}
}