Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onekeyhq/cross-inpage-provider
https://github.com/onekeyhq/cross-inpage-provider
frontend
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/onekeyhq/cross-inpage-provider
- Owner: OneKeyHQ
- License: other
- Created: 2022-02-14T02:18:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-17T10:54:10.000Z (30 days ago)
- Last Synced: 2024-10-18T06:38:06.009Z (29 days ago)
- Topics: frontend
- Language: TypeScript
- Homepage:
- Size: 17.2 MB
- Stars: 9
- Watchers: 11
- Forks: 18
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# cross-inpage-provider
[OneKey DApp Example](https://dapp-example.onekeytest.com/)
# Init monorepo
```bash
yarn
yarn bootstrap
yarn build
```# Develop monorepo
```bash
# Clean cache
yarn clean && yarn bootstrap# Start watch and build all packages
yarn start# check and configure .env file
# if not exist, copy .env.example to .env
# if exist, check and update APP_MONOREPO_LOCAL_PATH
APP_MONOREPO_LOCAL_PATH=/path/to/your/app-monorepo# watch and build `packages/injected`, then rsync local npm packages to app-monorepo
# re-build `packages/injected` only, if you change others monorepo code, run `yarn build`
# open new terminal
yarn gulp-watch
```# Run dapp example web
```bash
yarn example
```# Update all versions before publish
```bash
yarn update-version 1.0.1
```# Publish to npmjs.com
```bash
yarn publish-packages
```