Skip to content

Commit

Permalink
Switch to ESM-only package
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Sep 25, 2022
1 parent 24cb815 commit 6b00b56
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
{
"name": "kysely-planetscale",
"version": "0.2.1",
"type": "module",
"description": "Kysely dialect for PlanetScale Serverless",
"repository": "https://github.com/depot/kysely-planetscale.git",
"homepage": "https://github.com/depot/kysely-planetscale",
"author": "Jacob Gillespie <[email protected]>",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
Expand All @@ -28,7 +20,7 @@
"serverless"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"build": "tsup src/index.ts --format esm --dts --clean",
"clean": "rm -rf dist",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
Expand Down

0 comments on commit 6b00b56

Please sign in to comment.