Skip to content

Commit 0ce54b9

Browse files
committed
fix npm readme
1 parent 73f0be9 commit 0ce54b9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/react-contextual-analytics/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-contextual-analytics",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "React Contextual Analytics (RCA) is a framework for collecting and emitting rich contextual analytics events to various analytics providers.",
55
"homepage": "https://github.com/0xdeafcafe/react-contextual-analytics#readme",
66
"bugs": {
@@ -18,6 +18,7 @@
1818
"scripts": {
1919
"build": "esbuild src/index.ts --bundle --outfile=dist/index.js --sourcemap --minify",
2020
"postbuild": "tsgo --declaration --emitDeclarationOnly --outDir ./dist --project tsconfig.json",
21+
"prepublishOnly": "cp ../../README.md ./README.md",
2122
"typecheck": "tsgo --noEmit",
2223
"test": "vitest",
2324
"test:coverage": "vitest --coverage",
@@ -43,6 +44,9 @@
4344
"react": ">=18.0.0",
4445
"react-dom": ">=18.0.0"
4546
},
47+
"files": [
48+
"dist"
49+
],
4650
"exports": {
4751
".": {
4852
"import": "./dist/index.js",

0 commit comments

Comments
 (0)