|
8 | 8 | "author": "Jacob Gillespie <[email protected]>",
|
9 | 9 | "license": "MIT",
|
10 | 10 | "main": "./dist/index.js",
|
| 11 | + "module": "./dist/index.js", |
| 12 | + "exports": { |
| 13 | + "types": "./dist/index.d.ts", |
| 14 | + "import": "./dist/index.js", |
| 15 | + "require": "./dist/index.cjs" |
| 16 | + }, |
11 | 17 | "types": "./dist/index.d.ts",
|
12 | 18 | "files": [
|
13 | 19 | "dist"
|
|
20 | 26 | "serverless"
|
21 | 27 | ],
|
22 | 28 | "scripts": {
|
23 |
| - "build": "tsup src/index.ts --format esm --dts --clean", |
| 29 | + "build": "tsup src/index.ts --format esm,cjs --dts --clean", |
24 | 30 | "clean": "rm -rf dist",
|
25 | 31 | "fmt": "prettier --write .",
|
26 | 32 | "fmt:check": "prettier --check .",
|
|
32 | 38 | "kysely": "*"
|
33 | 39 | },
|
34 | 40 | "dependencies": {
|
35 |
| - "date-fns": "^2.29.3" |
| 41 | + "date-fns": "^2.30.0" |
36 | 42 | },
|
37 | 43 | "devDependencies": {
|
38 |
| - "@planetscale/database": "^1.7.0", |
39 |
| - "@tsconfig/node14": "^1.0.3", |
40 |
| - "@types/node": "^18.11.13", |
41 |
| - "kysely": "^0.24.2", |
42 |
| - "prettier": "^2.8.1", |
43 |
| - "prettier-plugin-organize-imports": "^3.2.1", |
44 |
| - "prettier-plugin-pkg": "^0.17.1", |
45 |
| - "tsup": "^6.5.0", |
46 |
| - "typescript": "^4.9.4" |
| 44 | + "@planetscale/database": "^1.10.0", |
| 45 | + "@tsconfig/node14": "^14.1.0", |
| 46 | + "@types/node": "^20.4.5", |
| 47 | + "kysely": "^0.26.1", |
| 48 | + "prettier": "^3.0.0", |
| 49 | + "prettier-plugin-organize-imports": "^3.2.3", |
| 50 | + "prettier-plugin-pkg": "^0.18.0", |
| 51 | + "tsup": "^7.1.0", |
| 52 | + "typescript": "^5.1.6" |
47 | 53 | },
|
48 |
| - "sideEffects": false |
| 54 | + "sideEffects": false, |
| 55 | + "prettier": { |
| 56 | + "printWidth": 120, |
| 57 | + "semi": false, |
| 58 | + "singleQuote": true, |
| 59 | + "trailingComma": "all", |
| 60 | + "bracketSpacing": false, |
| 61 | + "plugins": [ |
| 62 | + "prettier-plugin-organize-imports", |
| 63 | + "prettier-plugin-pkg" |
| 64 | + ] |
| 65 | + } |
49 | 66 | }
|
0 commit comments