feat: Adding token creator and a parser
Showing
jest.config.ts
0 → 100644
This diff is collapsed.
Click to expand it.
... | @@ -2,10 +2,11 @@ | ... | @@ -2,10 +2,11 @@ |
"name": "security-ndjs-lib", | "name": "security-ndjs-lib", | ||
"version": "1.0.0", | "version": "1.0.0", | ||
"description": "Library to manage tokens using js", | "description": "Library to manage tokens using js", | ||
"main": "src/util/token.js", | "type": "module", | ||
"types": "types/index.d.ts", | "main": "src/util/token.ts", | ||
"types": "types/security-ndjs-lib.d.ts", | |||
"scripts": { | "scripts": { | ||
"test": "jest" | "test": "jest --config jest.config.ts" | ||
}, | }, | ||
"keywords": [], | "keywords": [], | ||
"author": "poqh", | "author": "poqh", | ||
... | @@ -15,6 +16,12 @@ | ... | @@ -15,6 +16,12 @@ |
"jsonwebtoken": "^9.0.2" | "jsonwebtoken": "^9.0.2" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"jest": "^29.7.0" | "@types/dotenv": "^6.1.1", | ||
"@types/jest": "^29.5.14", | |||
"@types/jsonwebtoken": "^9.0.7", | |||
"jest": "^29.7.0", | |||
"ts-jest": "^29.2.5", | |||
"ts-node": "^10.9.2", | |||
"typescript": "^4.9.5" | |||
} | } | ||
} | } |
src/util/token.js
deleted
100644 → 0
src/util/token.ts
0 → 100644
tsconfig.json
0 → 100644
Please
register
or
sign in
to comment