Do some cleanup.
rollup-plugin-clean doesn't work with the latest rollup, use rollup-plugin-clear instead. Explicitly set module resolution to be Node. Specify the tslint project which allows rules based on type info to run. Update some dependencies to newer versions.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
"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": "tslint \"src/**/*.ts\"",
|
||||
"lint": "tslint -p tsconfig.json \"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",
|
||||
@@ -26,15 +27,15 @@
|
||||
"homepage": "https://github.com/screepers/screeps-typescript-starter#readme",
|
||||
"devDependencies": {
|
||||
"@types/lodash": "^3.10.1",
|
||||
"@types/screeps": "^2.2.1",
|
||||
"@types/screeps": "^2.3.0",
|
||||
"rollup": "^0.57.1",
|
||||
"rollup-plugin-clean": "^1.0.0",
|
||||
"rollup-plugin-clear": "^2.0.7",
|
||||
"rollup-plugin-commonjs": "^9.1.0",
|
||||
"rollup-plugin-node-resolve": "^3.3.0",
|
||||
"rollup-plugin-screeps": "^0.1.2",
|
||||
"rollup-plugin-typescript2": "^0.12.0",
|
||||
"tslint": "^5.9.1",
|
||||
"typescript": "^2.8.1"
|
||||
"typescript": "^2.8.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"source-map": "~0.6.1"
|
||||
|
||||
Reference in New Issue
Block a user