|
7 | 7 |
|
8 | 8 | "url": "https://github.com/woovi"
|
9 | 9 | },
|
| 10 | + "dependencies": { |
| 11 | + "mongodb-memory-server-global": "^10.1.4", |
| 12 | + "uuid": "^11.1.0" |
| 13 | + }, |
10 | 14 | "devDependencies": {
|
11 | 15 | "@commitlint/cli": "19.8.1",
|
12 | 16 | "@commitlint/config-conventional": "19.8.1",
|
|
22 | 26 | "typescript": "5.8.3",
|
23 | 27 | "vitest": "^3.2.4"
|
24 | 28 | },
|
| 29 | + "exports": { |
| 30 | + ".": { |
| 31 | + "types": "./dist/index.d.ts", |
| 32 | + "import": "./dist/index.js", |
| 33 | + "require": "./dist/index.cjs" |
| 34 | + } |
| 35 | + }, |
| 36 | + "files": [ |
| 37 | + "dist" |
| 38 | + ], |
25 | 39 | "homepage": "https://github.com/woovibr/graphql-mongoose-loader",
|
26 | 40 | "keywords": [
|
27 | 41 | "graphql",
|
|
38 | 52 | "prettier --write"
|
39 | 53 | ]
|
40 | 54 | },
|
| 55 | + "main": "./dist/index.cjs", |
41 | 56 | "peerDependencies": {
|
42 | 57 | "graphql": "*",
|
43 | 58 | "graphql-relay": "*",
|
|
51 | 66 | "type": "git",
|
52 | 67 | "url": "git+https://github.com/woovibr/graphql-mongoose-loader"
|
53 | 68 | },
|
54 |
| - "type": "module", |
55 |
| - "exports": { |
56 |
| - ".": { |
57 |
| - "types": "./dist/index.d.ts", |
58 |
| - "import": "./dist/index.js", |
59 |
| - "require": "./dist/index.cjs" |
60 |
| - } |
61 |
| - }, |
62 |
| - "main": "./dist/index.cjs", |
63 |
| - "types": "./dist/index.d.ts", |
64 |
| - "files": [ |
65 |
| - "dist" |
66 |
| - ], |
67 | 69 | "scripts": {
|
| 70 | + "build": "rslib build", |
| 71 | + "dev": "rslib build --watch", |
68 | 72 | "lint": "eslint src/**",
|
69 | 73 | "lint:staged": "lint-staged",
|
70 | 74 | "precommit": "yarn lint:staged",
|
|
73 | 77 | "release:major": "npm version major && git push --follow-tags",
|
74 | 78 | "release:minor": "npm version minor && git push --follow-tags",
|
75 | 79 | "release:patch": "npm version patch && git push --follow-tags",
|
76 |
| - "test": "vitest", |
77 |
| - "build": "rslib build", |
78 |
| - "dev": "rslib build --watch" |
| 80 | + "test": "vitest" |
79 | 81 | },
|
80 |
| - "dependencies": { |
81 |
| - "mongodb-memory-server-global": "^10.1.4", |
82 |
| - "uuid": "^11.1.0" |
83 |
| - } |
| 82 | + "type": "module", |
| 83 | + "types": "./dist/index.d.ts" |
84 | 84 | }
|
0 commit comments