diff --git a/package.json b/package.json index 43c403d..cc18663 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "scripts": { "start": "ts-node --transpile-only src/main.ts", "format": "prettier --write .", - "lint": "eslint ." + "lint": "eslint .", + "build": "tsc" }, "dependencies": { "@fabianscheidt/did-web-verification-method-server": "1.4.0", diff --git a/tsconfig.json b/tsconfig.json index 76dd0ea..a97fd17 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,10 @@ "compilerOptions": { "target": "es6", "module": "commonjs", - "rootDir": "./", - "outDir": "./build", + "rootDir": "./src", + "outDir": "./dist", "allowSyntheticDefaultImports": true, "strict": true - } + }, + "include": ["src/**/*"] }