0.0.1 ā¢ Published 3 years ago
universal-react-ch v0.0.1
RnShared
This project was generated using Nx.
š Nx is a set of Extensible Dev Tools for Monorepos.
Added capabilities to the workspace
npm install --save-dev @nrwl/react
npm install --save-dev @nrwl/react-native
Generate a library
The library must be publishable :
nx g @nrwl/react:lib LibraryName --style=none --publishable --importPath=@rn-shared/<library_name>
Development server
Run nx serve website
for website.
Run npx nx run-ios mobile
for android.
Run npx nx run-ios ios
for ios.
Build
Run nx build my-app
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Running unit tests
Run nx test my-app
to execute the unit tests via Jest.
Run nx affected:test
to execute the unit tests affected by a change.
Running end-to-end tests
Run ng e2e my-app
to execute the end-to-end tests via Cypress.
Run nx affected:e2e
to execute the end-to-end tests affected by a change.
Understand your workspace
Run nx dep-graph
to see a diagram of the dependencies of your projects.
0.0.1
3 years ago