added more support

This commit is contained in:
2024-02-12 19:06:52 +01:00
parent 4256fe9a72
commit 86f8bc139a
37 changed files with 762 additions and 42 deletions
+16 -5
View File
@@ -1,14 +1,17 @@
{
"name": "auth-guardian",
"version": "2.1.0",
"version": "2.1.2",
"description": "auth-guardian a library for enhancing application security",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "dist/esm/index.js",
"scripts": {
"test": "jest",
"build": "tsc"
"build": "tsc",
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/kajvan/guardian"
@@ -33,5 +36,13 @@
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
}
}
}