Added 'lint' and 'watch' tasks
This commit is contained in:
@@ -5,9 +5,14 @@
|
|||||||
"main": "index.js",
|
"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",
|
"//": "If you add or change the names of destinations in screeps.json, make sure you update these scripts to reflect the changes",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"lint": "tslint \"src/**/*.ts\"",
|
||||||
"push-main": "rollup -c --dest main",
|
"push-main": "rollup -c --dest main",
|
||||||
|
"push-pserver": "rollup -c --dest pserver",
|
||||||
"push-sim": "rollup -c --dest sim",
|
"push-sim": "rollup -c --dest sim",
|
||||||
"push-pserver": "rollup -c --dest pserver"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"watch-main": "rollup -cw --dest main",
|
||||||
|
"watch-pserver": "rollup -cw --dest pserver",
|
||||||
|
"watch-sim": "rollup -cw --dest sim"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user