From 4646c6723db15d2c73bd0901dc08a6db4332b2ab Mon Sep 17 00:00:00 2001 From: Chris Bianca Date: Wed, 6 Dec 2017 08:56:06 +0000 Subject: [PATCH] [typings] Make sure Typescript typings are copied correctly --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8fdc90c4..50b51428 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,11 @@ "author": "Invertase (http://invertase.io)", "description": "A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Messaging (FCM), Remote Config, Storage and Performance.", "main": "dist/index.js", + "types": "dist.index.d.ts", "scripts": { "build": "npm run build-lib && npm run build-flow", "build-flow": "flow-copy-source -i */__tests__* lib dist", - "build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__", + "build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__ --copy-files", "clean": "rimraf dist/", "flow": "flow", "lint": "eslint ./src",