Name: parity-ui
Owner: Parity Technologies
Description: Repository for all of Parity UI issues and perhaps code.
Created: 2016-06-25 11:20:54.0
Updated: 2018-05-21 19:22:07.0
Pushed: 2016-10-29 11:16:19.0
Homepage: null
Size: 10870
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository is deprecated, please use Main Parity Repo for issues.
A set of Parity built-in Dapps and UI components.
See description in Parity Dapps.
Development procedures for each project are described in its' README files.
You can use ./web.sh
script to automate some actions for all projects.
$ ./web.sh clean
- Remove node_modules
for each project.$ ./web.sh build
- Compile JS files for each project.$ ./web.sh lint
- Run linting for each project.$ ./web.sh test
- Run tests for each project.$ ./web.sh shrinkwrap
- Regenerate shrinkwrap.json
file for each project.Before making a PR with your changes you should pre-compile all JS files (they are used when building Parity):
parity-ui
web.sh build
Make sure to commit pre-compiled files.
By default Parity is using pre-compiled files while building:
parity
rgo build --release # this will use pre-compiled JS files
You can do full Parity build using:
parity
rgo build --no-default-features --features ui
You can use Cargo Config file to use local version of your Parity UI (without modyfing original Cargo.toml files)
.cargo/config
cation of parity-ui repo: ~/path/to/parity-ui
s = [
ath/to/parity-ui/dapps",
ath/to/parity-ui/wallet",
ath/to/parity-ui/home",
ath/to/parity-ui/status",
ath/to/parity-ui/signer"
This will always use your local version of Parity-UI while compiling Parity.
You can install pre-push hook to run linting and tests for all projects.
parity-ui
scripts/hook.sh