alenaksu / neatjs

NEAT (Neuro Evolution of Augmenting Topologies) implementation in JavaScript
https://alenaksu.github.io/neatjs/
GNU General Public License v3.0
22 stars 5 forks source link

how to compile to ordinary javascript? #10

Closed nerkn closed 3 years ago

nerkn commented 3 years ago

Hi I'm alien to microsoft world, brief searching lead me to "npx tsc", and it complained me about error TS5014: Failed to parse file 'tsconfig.json': Unexpected token / in JSON at position 35. so I fixed by using chrome debug. But now it complains

error TS6047: Argument for '--target' option must be 'ES3', 'ES5', or 'ES6'. error TS6046: Argument for '--module' option must be 'commonjs', 'amd', 'system' or 'umd'. error TS5023: Unknown compiler option 'strict'. error TS5023: Unknown compiler option 'moduleResolution'. error TS5023: Unknown compiler option 'baseUrl'. error TS5023: Unknown compiler option 'allowSyntheticDefaultImports'. error TS5023: Unknown compiler option 'esModuleInterop'

can you suggest right way to compile or can you prepare precompiled not minimized version?

nerkn commented 3 years ago

sorry I found dist directory after cloning repo