diff --git a/.github/.npmignore b/.github/.npmignore new file mode 100644 index 000000000..15cb856be --- /dev/null +++ b/.github/.npmignore @@ -0,0 +1,5 @@ +.npmignore +ISSUE_TEMPLATE/ +issue_template.md +pull_request_template.md +workflows/ diff --git a/package.json b/package.json index 911628c46..9b26e7859 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "files": [ + "__tests__/", "android/", "ios/", "lib/", @@ -14,13 +15,16 @@ "jest/", "web/", "windows/", - "RNDeviceInfo.podspec" + "RNDeviceInfo.podspec", + "babel.config.js", + "jest.config.js", + "jest.setup.ts" ], "repository": { "type": "git", - "url": "https://github.com/react-native-community/react-native-device-info" + "url": "https://github.com/react-native-device-info/react-native-device-info" }, - "homepage": "https://github.com/react-native-community/react-native-device-info#readme", + "homepage": "https://github.com/react-native-device-info/react-native-device-info#readme", "scripts": { "analyze": "yarn ts-check && yarn flow-check", "flow-check": "npx flow-bin check-contents < src/index.js.flow",