summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/iso-webcrypto/package.json7
-rw-r--r--packages/iso-webcrypto/tsconfig.json13
2 files changed, 11 insertions, 9 deletions
diff --git a/packages/iso-webcrypto/package.json b/packages/iso-webcrypto/package.json
index fa43c90..8af166a 100644
--- a/packages/iso-webcrypto/package.json
+++ b/packages/iso-webcrypto/package.json
@@ -20,8 +20,7 @@
"access": "public"
},
"scripts": {
- "build": "rimraf dist && tsex compile > output.txt; cat output.txt; rm output.txt",
- "build:watch": "tsex compile --watch",
+ "build": "rimraf dist && tsc > output.txt; cat output.txt; rm output.txt",
"prepublish": "npm run build"
},
"keywords": [
@@ -33,8 +32,6 @@
],
"devDependencies": {
"@simplewebauthn/typescript-types": "*",
- "@types/node": "^18.11.9",
- "tsex": "^1.0.4",
- "typescript": "^4.9.3"
+ "@types/node": "^18.11.9"
}
}
diff --git a/packages/iso-webcrypto/tsconfig.json b/packages/iso-webcrypto/tsconfig.json
index c4c12d3..b3f5858 100644
--- a/packages/iso-webcrypto/tsconfig.json
+++ b/packages/iso-webcrypto/tsconfig.json
@@ -1,8 +1,13 @@
{
- "extends": "tsex/tsconfig.json",
+ "extends": "../../tsconfig.json",
+ "include": [
+ "./src/**/*"
+ ],
"compilerOptions": {
- "module": "commonjs",
- "esModuleInterop": true,
- "preserveValueImports": false,
+ "lib": [
+ "ES2021"
+ ],
+ "baseUrl": "./src",
+ "outDir": "./dist",
}
}