mirror of
https://github.com/zhigang1992/connect.git
synced 2026-01-12 22:46:28 +08:00
@stacks/connect-react@2.17.1
- @stacks/app@1.20.1 - @stacks/connect-react@2.17.1 - @stacks/connect-ui@2.17.1 - @stacks/connect@4.3.1 - @stacks/keychain@0.17.1 - @stacks/rpc-client@0.8.1 - test-app@1.11.1
Blockstack UX Team Monorepo
This monorepo contains a few key packages that the User Experience team at Blockstack maintains:
app: An application for authenticating into Blockstack apps. Available as a web app and a browser extension.@stacks/connect: A developer tool for building excellent user experiences in Blockstack apps@stacks/ui: Blockstack's internal design system and React component library@stacks/keychain: A library for Blockstack identity managementtest-app: A simple React app for testing out Connect and the App.ui-docs: A documentation site for@blockstack/ui.
Development environment setup
The first time you setup a development environment for this repository, follow these steps:
- Clone this package.
- Run
yarnto install dependencies - Run
yarn bootstrapto link dependencies within this repository - In the command line, run
yarn devwhich will run two apps:packages/test-appwhich runs at localhost:3000 and implements an example of connectpackages/appwhich is the auth app, running at localhost:8080
For development instructions of specific packages, see the README in each package folder.
Building browser extensions
- From the root of this repository, in the command line, run
sh build-ext.sh - The extension will be packaged as
extension.zipinside this folder.
Optional - Build browser extensions using Docker
-
Build the docker image locally:
docker build . -t ux -
Copy the built extensions to your local machine:
docker run -d --name ux ux && docker cp ux:extension.zip . && docker rm -f ux
Languages
TypeScript
81%
JavaScript
10.9%
SCSS
7.2%
HTML
0.9%