From 4e1ed07f83d6e16423e7d0b6a7ed176ae3ffe9fb Mon Sep 17 00:00:00 2001 From: Xavier Carpentier Date: Mon, 6 Jan 2020 17:35:42 +0100 Subject: [PATCH] chore cleaning --- .npmignore | 8 +++++++- flow-typed/npm/expo_vx.x.x.js | 18 ------------------ flow-typed/npm/flow-bin_v0.x.x.js | 6 ------ flow-typed/npm/react-native_vx.x.x.js | 18 ------------------ package.json | 6 +++--- 5 files changed, 10 insertions(+), 46 deletions(-) delete mode 100644 flow-typed/npm/expo_vx.x.x.js delete mode 100644 flow-typed/npm/flow-bin_v0.x.x.js delete mode 100644 flow-typed/npm/react-native_vx.x.x.js diff --git a/.npmignore b/.npmignore index 8b1e7a4..2f48754 100644 --- a/.npmignore +++ b/.npmignore @@ -5,4 +5,10 @@ App.tsx app.json babel.config.js metro.config.js -app.json \ No newline at end of file +app.json +.expo +src +.prettierrc +tsconfig.json +tslint.json +.github/FUNDING.yml \ No newline at end of file diff --git a/flow-typed/npm/expo_vx.x.x.js b/flow-typed/npm/expo_vx.x.x.js deleted file mode 100644 index 0152a36..0000000 --- a/flow-typed/npm/expo_vx.x.x.js +++ /dev/null @@ -1,18 +0,0 @@ -// flow-typed signature: 01828e221f426b182afe8d50abd0384a -// flow-typed version: <>/expo_v*/flow_v0.73.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'expo' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'expo' { - declare module.exports: any; -} diff --git a/flow-typed/npm/flow-bin_v0.x.x.js b/flow-typed/npm/flow-bin_v0.x.x.js deleted file mode 100644 index c538e20..0000000 --- a/flow-typed/npm/flow-bin_v0.x.x.js +++ /dev/null @@ -1,6 +0,0 @@ -// flow-typed signature: 6a5610678d4b01e13bbfbbc62bdaf583 -// flow-typed version: 3817bc6980/flow-bin_v0.x.x/flow_>=v0.25.x - -declare module "flow-bin" { - declare module.exports: string; -} diff --git a/flow-typed/npm/react-native_vx.x.x.js b/flow-typed/npm/react-native_vx.x.x.js deleted file mode 100644 index 0cf18e0..0000000 --- a/flow-typed/npm/react-native_vx.x.x.js +++ /dev/null @@ -1,18 +0,0 @@ -// flow-typed signature: f76e1f0b97b0e594373a75a91797e923 -// flow-typed version: <>/react-native_v*/flow_v0.73.0 - -/** - * This is an autogenerated libdef stub for: - * - * 'react-native' - * - * Fill this stub out by replacing all the `any` types. - * - * Once filled out, we encourage you to share your work with the - * community by sending a pull request to: - * https://github.com/flowtype/flow-typed - */ - -declare module 'react-native' { - declare module.exports: any; -} diff --git a/package.json b/package.json index f5f3535..fc54076 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "rn-pdf-reader-js", - "version": "0.4.0", + "version": "0.4.1", "description": "PDF reader for Expo", - "main": "node_modules/expo/AppEntry.js", + "main": "lib/index.js", "types": "lib/index.d.ts", "author": "Xavier Carpentier (https://xaviercarpentier.com/)", "license": "MIT", @@ -14,7 +14,7 @@ "config:dev": "json -I -f package.json -e 'this.main=\"node_modules/expo/AppEntry.js\"'", "config:npm": "json -I -f package.json -e 'this.main=\"lib/index.js\"'", "lint": "tslint --project .", - "verify": "yarn lint && yarn build", + "verify": "yarn lint && yarn tsc && yarn build", "prepublishOnly": "yarn verify && yarn config:npm", "cleaning": "rm -rf node_modules && rm -f yarn.lock && yarn cache clean && yarn install && watchman watch-del-all && rm -fr $TMPDIR/react-*" },