1.0.18 • Published 2 years ago
@ixchuk/unity-api-mocks v1.0.18
Unity API Mocks
This is a collection of API mocks that simulate the Unity API.
Using the mocks allows a developer to create UI components in isolation w/o a need to deploy the Unity App.
Prerequisites
You’ll need to have Node >= 8.10 on your local development machine. Download and install nodejs - https://nodejs.org/en/download/
Install yarn:
npm install -g yarn
Install create-react-app tool:
npm -g install create-react-app
Setup Intellective NPM repository:
- Encrypt your Intellective credentials in the following format: intellective_email:password.
- Put encrypted string into your ~/.npmrc file (create if absent)
Note: .npmrc should be in the user home directory.email=ichukanov@intellective.com always-auth=true _auth=INSERT_ENCRYPTED_PASSWORD_HERE
Run command,
```bash npm set @intellective:registry https://npm.intellective.com/repository/npm-main/
Check your .npmrc file, it should look like the following:
@intellective:registry=https://npm.intellective.com/repository/npm-main/ email=!your-id@intellective.com always-auth=true _auth=YOUR_ENCRYPTED_CREDENTIALS
Usage
Run the following command to install unity-api-mocks:
yarn add --dev @intellective/unity-api-mocks
1.0.18
2 years ago