diff --git a/package.json b/package.json index f4e8b3f..c058179 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "author": "dholms ", "license": "MIT", "scripts": { - "start": "ts-node src/index.ts" + "start": "ts-node src/index.ts", + "build": "tsc" }, "dependencies": { "@atproto/did-resolver": "^0.1.0", diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..ab357f4 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,21 @@ + +{ + "compilerOptions": { + "lib": [ + "ESNext", + ], + "outDir": "dist", + "module": "CommonJS", + "target": "ES6", + "esModuleInterop": true, + "moduleResolution": "node", + "alwaysStrict": true, + "allowUnreachableCode": false, + "strictNullChecks": true, + "skipLibCheck": true + }, + "include": ["./src/**/*.ts"], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file