my-typescript-library-rahul52us 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -62
  2. package/types/index.d.ts +18 -0
package/package.json CHANGED
@@ -1,62 +1 @@
1
- {
2
- "name": "my-typescript-library-rahul52us",
3
- "version": "1.0.0",
4
- "description": "A reusable TypeScript utility library.",
5
- "main": "dist/server.js",
6
- "types": "dist/server.d.ts",
7
- "scripts": {
8
- "test": "jest --watchAll",
9
- "build": "tsc",
10
- "start": "node dist/server.js",
11
- "lint": "eslint .",
12
- "lint:fix": "eslint . --fix"
13
- },
14
- "keywords": [
15
- "utils",
16
- "typescript",
17
- "library"
18
- ],
19
- "author": "Your Name",
20
- "license": "MIT",
21
- "dependencies": {
22
- "axios": "^1.7.9",
23
- "bcrypt": "^5.1.1",
24
- "bcryptjs": "^2.4.3",
25
- "bunyan": "^1.8.15",
26
- "casbin": "^5.36.0",
27
- "dayjs": "^1.11.13",
28
- "dotenv": "^16.4.7",
29
- "express": "^4.21.2",
30
- "express-basic-auth": "^1.2.1",
31
- "fastest-validator": "^1.19.0",
32
- "handlebars": "^4.7.8",
33
- "jsonwebtoken": "^9.0.2",
34
- "lodash": "^4.17.21",
35
- "mjml": "^4.15.3",
36
- "mongoose": "^8.8.4",
37
- "multer": "^1.4.5-lts.1",
38
- "nodemailer": "^6.9.16",
39
- "passport": "^0.7.0",
40
- "passport-jwt": "^4.0.1",
41
- "passport-local": "^1.0.0",
42
- "passport-local-mongoose": "^8.0.0"
43
- },
44
- "devDependencies": {
45
- "@types/bcryptjs": "^2.4.6",
46
- "@types/bunyan": "^1.8.11",
47
- "@types/express": "^5.0.0",
48
- "@types/jest": "^29.0.0",
49
- "@types/jsonwebtoken": "^9.0.7",
50
- "@types/lodash": "^4.14.190",
51
- "@types/mjml": "^4.7.4",
52
- "@types/multer": "^1.4.12",
53
- "@types/nodemailer": "^6.4.17",
54
- "@types/passport": "^1.0.17",
55
- "@types/passport-jwt": "^4.0.1",
56
- "@types/passport-local": "^1.0.38",
57
- "eslint": "^8.0.0",
58
- "jest": "^29.0.0",
59
- "ts-jest": "^29.0.0",
60
- "typescript": "^4.9.5"
61
- }
62
- }
1
+ {"name":"my-typescript-library-rahul52us","version":"1.0.2","description":"A reusable TypeScript utility library.","main":"dist/server.js","types":"types/index.d.ts","scripts":{"test":"jest --watchAll","build":"tsc","start":"node dist/server.js","lint":"eslint .","lint:fix":"eslint . --fix"},"keywords":["utils","typescript","library"],"author":"Your Name","license":"MIT","dependencies":{"axios":"^1.7.9","bcrypt":"^5.1.1","bcryptjs":"^2.4.3","bunyan":"^1.8.15","casbin":"^5.36.0","dayjs":"^1.11.13","dotenv":"^16.4.7","express":"^4.21.2","express-basic-auth":"^1.2.1","fastest-validator":"^1.19.0","handlebars":"^4.7.8","jsonwebtoken":"^9.0.2","lodash":"^4.17.21","mjml":"^4.15.3","mongoose":"^8.8.4","multer":"^1.4.5-lts.1","nodemailer":"^6.9.16","passport":"^0.7.0","passport-jwt":"^4.0.1","passport-local":"^1.0.0","passport-local-mongoose":"^8.0.0"},"devDependencies":{"@types/bcryptjs":"^2.4.6","@types/bunyan":"^1.8.11","@types/express":"^5.0.0","@types/jest":"^29.0.0","@types/jsonwebtoken":"^9.0.7","@types/lodash":"^4.14.190","@types/mjml":"^4.7.4","@types/multer":"^1.4.12","@types/nodemailer":"^6.4.17","@types/passport":"^1.0.17","@types/passport-jwt":"^4.0.1","@types/passport-local":"^1.0.38","eslint":"^8.0.0","jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^4.9.5"}}
@@ -0,0 +1,18 @@
1
+ // types/index.d.ts
2
+ declare module 'my-typescript-library-rahul52us' {
3
+ export function setupMongoose(): void;
4
+
5
+ export class Auth {}
6
+ export class User {}
7
+ export class Role {}
8
+ export class Logs {}
9
+ export class FileUpload {}
10
+ export class Profile {}
11
+ export class Organisation {}
12
+ export class Notifications {}
13
+ export class AccountDetails {}
14
+ export class UserRole {}
15
+ export class Document {}
16
+ export class WorkFlow {}
17
+ export class Form {}
18
+ }