From a34ecc736dab10a1ab4ae718f73a2d76d6d54f99 Mon Sep 17 00:00:00 2001 From: Mark DeLaVernge Date: Wed, 1 Feb 2023 21:55:52 -0500 Subject: [PATCH] fix: Add package.json to dist folder for release process --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 6b933c13..9b69cbd1 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,6 @@ "name": "@lifeomic/react-native-components", "version": "0.0.0", "description": "React-native components for building a mobile app against the LifeOmic Platform", - "main": "src/index.ts", - "types": "src/index.d.ts", "scripts": { "format": "yarn prettier '**/*.{ts,tsx,js,json,md}'", "format:write": "yarn format --write", @@ -12,7 +10,7 @@ "lint:fix": "yarn lint --fix", "test": "yarn lint && yarn jest", "test:ci": "yarn lint && yarn jest --coverage --runInBand --silent --ci --logHeapUsage", - "build": "rm -rf dist && tsc -p tsconfig.build.json --outDir dist" + "build": "rm -rf dist && tsc -p tsconfig.build.json --outDir dist && cp package.json ./dist" }, "author": "LifeOmic ", "license": "UNLICENSED",