Skip to content

Commit 82f79c8

Browse files
committed
update publish approach and publish all folders under dist as root
1 parent 4cab587 commit 82f79c8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "@commt/rn-sdk",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Ultimate chat plugin for react native applications",
5-
"main": "dist/index.js",
6-
"types": "dist/index.d.ts",
5+
"main": "index.js",
6+
"types": "index.d.ts",
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1",
9-
"build": "rm -rf dist/* && npx tsc"
9+
"build": "rm -rf dist/* && npx tsc && cp package*.json dist",
10+
"pub": "npm publish ./dist"
1011
},
1112
"repository": {
1213
"type": "git",

0 commit comments

Comments
 (0)