From 147b7e01c9c53beb357b0caa52d68317c033f3c5 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Wed, 9 Jun 2021 16:16:05 -0500 Subject: [PATCH] Export lib/ from sim/ This is a dumb hack, but it allows everyone to use PS's lib files with `require('pokemon-showdown')`. This is EXTREMELY unsupported and I make ZERO guarantees about API stability. --- sim/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sim/index.ts b/sim/index.ts index 8194a07b698e..eca8188f344d 100644 --- a/sim/index.ts +++ b/sim/index.ts @@ -18,3 +18,4 @@ export {Pokemon} from './pokemon'; export {PRNG} from './prng'; export {Side} from './side'; export {TeamValidator} from './team-validator'; +export * from '../lib';