|
1 | 1 | { |
2 | 2 | "name": "@basalt-lab/basalt-auth", |
3 | | - "version": "1.9.3", |
| 3 | + "version": "1.9.4-canary-20250107-fa9edf8", |
4 | 4 | "description": "Authentication module for Basalt Framework", |
5 | 5 | "keywords": [ |
6 | 6 | "basalt-auth", |
|
20 | 20 | "license": "MIT", |
21 | 21 | "author": "Ruby", |
22 | 22 | "type": "module", |
| 23 | + "types": "./build/index.d.ts", |
23 | 24 | "exports": { |
24 | | - ".": { |
25 | | - "types": "./build/index.d.ts", |
26 | | - "import": "./build/index.js", |
27 | | - "require": "./build/index.js" |
28 | | - }, |
29 | | - "./error": { |
30 | | - "types": "./build/common/error/index.d.js", |
31 | | - "import": "./build/common/error/index.js", |
32 | | - "require": "./build/common/error/index.js" |
33 | | - }, |
34 | | - "./type": { |
35 | | - "types": "./build/common/type/data/index.d.js", |
36 | | - "import": "./build/common/type/data/index.js", |
37 | | - "require": "./build/common/type/data/index.js" |
38 | | - }, |
39 | | - "./token": { |
40 | | - "types": "./build/domain/service/basaltToken.service.d.js", |
41 | | - "import": "./build/domain/service/basaltToken.service.js", |
42 | | - "require": "./build/domain/service/basaltToken.service.js" |
43 | | - }, |
44 | | - "./translation": { |
45 | | - "types": "./build/common/i18n/index.d.js", |
46 | | - "import": "./build/common/i18n/index.js", |
47 | | - "require": "./build/common/i18n/index.js" |
48 | | - } |
| 25 | + "./auth": "./build/core/index.js", |
| 26 | + "./error": "./build/error/index.js", |
| 27 | + "./error/key": "./build/error/key/index.js", |
| 28 | + "./i18n": "./build/i18n/index.js", |
| 29 | + "./types": "./build/types/index.js", |
| 30 | + ".": "./build/index.js" |
49 | 31 | }, |
50 | | - "types": "./build/index.d.ts", |
51 | 32 | "scripts": { |
52 | | - "build": "tsc && tsc-alias && NODE_ENV=production bun bundler.config.ts", |
53 | 33 | "dev": "bun --watch source/index.ts", |
| 34 | + "build": "bun bundler.ts", |
| 35 | + "start": "bun build/index.js", |
| 36 | + "test": "bun test --coverage", |
54 | 37 | "docs": "typedoc", |
55 | 38 | "fix-lint": "eslint --fix ./source", |
56 | | - "lint": "eslint ./source", |
57 | | - "start": "NODE_ENV=production bun build/index.js", |
58 | | - "test": "bun test --coverage" |
| 39 | + "lint": "eslint ./source" |
59 | 40 | }, |
60 | 41 | "devDependencies": { |
61 | | - "@eslint/js": "^9.16.0", |
| 42 | + "@eslint/js": "^9.17.0", |
62 | 43 | "@stylistic/eslint-plugin": "^2.12.1", |
63 | | - "@types/bun": "^1.1.14", |
64 | | - "@types/node": "^22.10.2", |
65 | | - "eslint": "^9.16.0", |
| 44 | + "@types/bun": "^1.1.15", |
| 45 | + "@types/node": "^22.10.5", |
| 46 | + "bun-plugin-dts": "^0.3.0", |
66 | 47 | "eslint-plugin-tsdoc": "^0.4.0", |
67 | | - "tsc-alias": "^1.8.10", |
68 | | - "typedoc": "^0.27.4", |
69 | | - "typescript": "^5.7.2", |
70 | | - "typescript-eslint": "^8.18.0" |
| 48 | + "eslint": "^9.17.0", |
| 49 | + "typescript-eslint": "^8.19.1", |
| 50 | + "typedoc": "^0.27.6" |
| 51 | + }, |
| 52 | + "peerDependencies": { |
| 53 | + "typescript": "^5.7.2" |
71 | 54 | }, |
72 | 55 | "changelog": { |
73 | 56 | "types": { |
|
0 commit comments