This website requires JavaScript.
Explore
Help
Sign In
status-im
/
metro
mirror of
https://github.com/status-im/metro.git
Watch
2
Star
0
Fork
You've already forked metro
0
Code
Issues
Projects
Releases
Wiki
Activity
0fdf36d06d
metro
/
packages
/
metro-bundler
/
.npmignore
6 lines
57 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add .npmignore Reviewed By: davidaurelio Differential Revision: D5190512 fbshipit-source-id: 7ab4b19f5b2c0f2ed5b1c28f3818e988313d96a4
2017-06-06 11:44:33 +00:00
**/__mocks__/**
**/__tests__/**
npm package has `src/` rather than `build/` Summary: We use custom npm scripts (`prepare-release`, `cleanup-release`) to - move `src` to `src.orig`, and `build` to `src` before creating the tarball - move everything back afterwards We run these scripts with lerna before and after publishing. Custom hooks avoid problems with `prepublishOnly` and `postpublish` not being run at opportune times, `prepack` and `postpack` not being supported by npm v4 and yarn, and using `lerna run prepublishOnly` resulting in duplicated execution of the command. This ensures that development is closer to what is pulled in from npm. Reviewed By: jeanlauliac Differential Revision: D5310133 fbshipit-source-id: 6b9885c88b936ef3fe5f1858738ad63d581a8731
2017-06-23 16:03:10 +00:00
build
src.real
Add .npmignore Reviewed By: davidaurelio Differential Revision: D5190512 fbshipit-source-id: 7ab4b19f5b2c0f2ed5b1c28f3818e988313d96a4
2017-06-06 11:44:33 +00:00
yarn.lock