This website requires JavaScript.
Explore
Help
Sign In
status-im
/
react-native
Watch
2
Star
0
Fork
0
You've already forked react-native
mirror of
https://github.com/status-im/react-native.git
synced
2025-02-23 14:48:25 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
react-native
/
local-cli
/
.npmignore
4 lines
56 B
Plaintext
Raw
Normal View
History
Unescape
Escape
npmignore: ignore tests and fixtures Summary: This try to address #17672 and https://github.com/facebook/metro/issues/139. We should probably not include these folders in the released version of React Native, as they are used only for testing—am I incorrect? cc MoOx, t4deu. I ran: ``` npm pack tar -t -f react-native-1000.0.0.tgz | less ``` Then verified that `__fixture__` was not part of the package. https://github.com/facebook/react-native/pull/17672 [GENERAL] [BUGFIX] [.npmignore] - Do not publish test-specific files Closes https://github.com/facebook/react-native/pull/18019 Differential Revision: D7098211 Pulled By: jeanlauliac fbshipit-source-id: 0748ad8c064450bd2a9f4d6f49675a7f74fb300f
2018-02-27 08:28:13 -08:00
__fixtures__
__tests__
Fix tests in template project (0.58-stable) (#23128) * Restore __tests__ folder in HelloWorld template PR #18019 Removed __tests__ and __fixtures__ folders from npm package. But it also effectively removed __tests__ folder from initial project template. This commit restores __tests__ in template application. It applicable only to 0.58-stable branch because in master, templates was moved to another location. I think we should recheck what is ignored in master after this landed. * Use babel.config.js in template HelloWorld application * Add babel-core@^7.0.0-bridge.0 to jest dependencies when react-native init new project. This should fix tests with babel7.
2019-01-23 21:00:39 +03:00
!/templates/HelloWorld/__tests__
Reference in New Issue
Copy Permalink