pokemon-showdown-client/tsconfig.json
Guangcong Luo a15ec64d1d Move battledata.js to TypeScript
This is the first step of moving the entire client over to
TypeScript + Preact!!!!

The main change here is that battledata.js has been split into three
files:
- `src/battle-dex.ts`
- `src/battle-dex-data.ts`
- `src/battle-dex-misc.js`

These are concatenated back into `battledata.js` in the client, so
third parties (and specifically, old replay files) should be
unaffected. Also, this makes sure that we don't have more than two
dependencies right now.

The compilation is done with Babel 7 beta, because no stable version
of Babel supports TypeScript. We're not using `tsc` because it can't
compile to ES3 and it doesn't support preserving line numbers.

`toRoomid` has been moved from client.js to battle-dex.ts.
2018-05-14 12:53:34 -05:00

14 lines
273 B
JSON

{
"compilerOptions": {
"lib": ["dom", "es6", "es2016.array.include", "es2017.object"],
"noEmit": true,
"target": "esnext",
"module": "None",
"strict": true
},
"types": ["node"],
"include": [
"./src/*"
]
}