Forgot a few minor things about packaging for use inside other projects 😀. Should be good now though.

This commit is contained in:
Alan Bridgeman 2024-10-14 17:51:59 -05:00
parent 08f2127864
commit cae75db4e5
2 changed files with 16 additions and 1 deletions

15
src/index.ts Normal file
View file

@ -0,0 +1,15 @@
import { API, APICredentials } from './API';
import { Campaign } from './Campaign';
import { Template } from './Template';
import { Subscriber } from './Subscriber';
import { List } from './List';
export {
API,
APICredentials,
Campaign,
Template,
Subscriber,
List
}

View file

@ -50,7 +50,7 @@
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
/* Emit */ /* Emit */
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
// "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "declarationMap": true, /* Create sourcemaps for d.ts files. */
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */