For the first time.
npm i
For a clean update.
npm run reinstall
npm run build
All the source code files are located in src/arenas/
.
src ├── arenas │ ├── alpha-capture_the_flag │ │ └── main.ts │ ├── alpha-collect_and_control │ │ └── main.ts │ └── alpha-spawn_and_swamp │ └── main.ts └── common └── index.ts
The target code will be output to the dist/
directory after running build.
dist ├── alpha-capture_the_flag │ └── main.mjs ├── alpha-collect_and_control │ └── main.mjs └── alpha-spawn_and_swamp └── main.mjs
- auto-completion: typed-screeps-arena is still WIP.
Sometimes it’s buggy, then you need to lock the version to
#commit
instead of the branch#develop
. - bundler: rollup.
- linter: Use tslint instead of eslint since tide is not fully support eslint.
- screeps-arena-typescript-starter: Maintained by the screepers community.