Skip to content

Commit

Permalink
chore: include new test files in package
Browse files Browse the repository at this point in the history
They are not large, and people should be able to easily run jest tests if they like
can come in handy with drive-by contributions implemented via patch-package etc
  • Loading branch information
mikehardy committed Nov 17, 2020
1 parent 88f2b2b commit 23ecf09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/.npmignore
@@ -0,0 +1,5 @@
.npmignore
ISSUE_TEMPLATE/
issue_template.md
pull_request_template.md
workflows/
10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -7,20 +7,24 @@
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"files": [
"__tests__/",
"android/",
"ios/",
"lib/",
"src/",
"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",
Expand Down

0 comments on commit 23ecf09

Please sign in to comment.