Skip to content

Commit 6c8da62

Browse files
authored
Update package.json
1 parent 5f86e93 commit 6c8da62

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"name": "@trieb.work/public-typescript-npm-package-starter",
33
"version": "1.0.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/trieb-work/nextjs-turbo-redis-cache.git"
7+
},
48
"scripts": {
5-
"dev": "vitest --watch",
9+
"dev": "pnpm test",
610
"build": "tsc",
711
"lint": "eslint -c eslint.config.mjs --fix",
812
"fmt": "prettier --write 'src/**/*.ts' 'src/*.ts'",
@@ -11,8 +15,12 @@
1115
"prepare": "./scripts/prepare.sh"
1216
},
1317
"main": "dist/index.js",
14-
"type": "module",
1518
"types": "dist/index.d.ts",
19+
"exports": {
20+
"import": "./dist/index.js",
21+
"require": "./dist/index.js"
22+
},
23+
"type": "commonjs",
1624
"keywords": [],
1725
"author": "",
1826
"license": "ISC",
@@ -48,4 +56,4 @@
4856
"vitest": "^2.1.5"
4957
},
5058
"dependencies": {}
51-
}
59+
}

0 commit comments

Comments
 (0)