Skip to content

Commit 68ed194

Browse files
committed
fix: add files field and prepublishOnly to include dist/ in npm publish
Made-with: Cursor
1 parent 2a23422 commit 68ed194

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@browserkit-dev/adapter-reddit",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Reddit adapter for browserkit — browse subreddits, threads, search, and user profiles via old.reddit.com",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -15,7 +15,8 @@
1515
"build": "tsc",
1616
"test": "vitest run",
1717
"test:integration": "vitest run --config vitest.integration.config.ts",
18-
"lint": "tsc --noEmit"
18+
"lint": "tsc --noEmit",
19+
"prepublishOnly": "tsc"
1920
},
2021
"peerDependencies": {
2122
"@browserkit-dev/core": ">=0.2.0"
@@ -34,5 +35,9 @@
3435
},
3536
"publishConfig": {
3637
"access": "public"
37-
}
38+
},
39+
"files": [
40+
"dist",
41+
"README.md"
42+
]
3843
}

0 commit comments

Comments
 (0)