|
2 | 2 | "name": "react-native-nitro-sqlite", |
3 | 3 | "version": "9.1.11", |
4 | 4 | "description": "Fast SQLite library for React Native built using Nitro Modules", |
5 | | - "main": "lib/module/index", |
6 | | - "module": "lib/module/index", |
7 | | - "types": "lib/typescript/module/index.d.ts", |
8 | | - "source": "src/index", |
9 | | - "react-native": "src/index", |
| 5 | + "main": "./lib/module/index", |
| 6 | + "module": "./lib/module/index", |
| 7 | + "types": "./lib/typescript/module/index.d.ts", |
| 8 | + "source": "./src/index", |
| 9 | + "react-native": "./src/index", |
10 | 10 | "exports": { |
11 | 11 | ".": { |
12 | 12 | "import": { |
13 | | - "types": "lib/typescript/module/index.d.ts", |
14 | | - "default": "lib/module/index.js" |
| 13 | + "types": "./lib/typescript/module/index.d.ts", |
| 14 | + "default": "./lib/module/index.js" |
15 | 15 | }, |
16 | 16 | "require": { |
17 | | - "types": "lib/typescript/commonjs/index.d.ts", |
18 | | - "default": "lib/commonjs/index.js" |
| 17 | + "types": "./lib/typescript/commonjs/index.d.ts", |
| 18 | + "default": "./lib/commonjs/index.js" |
19 | 19 | } |
20 | 20 | } |
21 | 21 | }, |
|
37 | 37 | "!**/__mocks__" |
38 | 38 | ], |
39 | 39 | "scripts": { |
40 | | - "build": "bun typescript && bob build", |
41 | | - "specs": "bun typescript && bun nitro-codegen --logLevel=\"debug\"", |
| 40 | + "build": "bun typecheck && bob build", |
| 41 | + "specs": "bun typecheck && bun nitro-codegen --logLevel=\"debug\"", |
42 | 42 | "typecheck": "tsc --noEmit", |
43 | 43 | "lint": "eslint \"**/*.{js,ts,tsx}\" --fix", |
44 | 44 | "test": "jest", |
|
100 | 100 | "release": false |
101 | 101 | }, |
102 | 102 | "hooks": { |
103 | | - "before:init": "bun typescript && bun lint", |
| 103 | + "before:init": "bun typecheck && bun lint", |
104 | 104 | "after:bump": "bun run build" |
105 | 105 | } |
106 | 106 | }, |
|
0 commit comments