修訂. | 時間 | 作者 | 訊息 |
---|---|---|---|
2dbda2d | 2020-09-04 09:36:13 | dependabot[bot] | dependabot/npm_and_yarn/node-sass-4.13.1 Bump node-sass from 4.12.0 to 4.13.1 Bumps [node-sass](... |
3e91e76 | 2020-07-16 08:35:17 | dependabot[bot] | dependabot/npm_and_yarn/lodash-4.17.19 Bump lodash from 4.17.14 to 4.17.19 Bumps [lodash](http... |
69d4d4b | 2020-02-06 11:45:24 | Zhiting Lin | master fixed the create asset string decimals for some occassion. |
9e2204e | 2020-01-09 11:38:39 | Zhiting Lin | politic fixed the filters. |
0f90c08 | 2019-12-20 11:04:40 | Zhiting Lin | remove unconfirm param |
32a5dfe | 2019-12-19 16:22:18 | Zhiting Lin | update the filter by assetID |
f68e69b | 2019-12-19 13:18:28 | Zhiting Lin | update translations |
3347f5d | 2019-12-19 12:13:18 | Zhiting Lin | update search box to dropdown |
b058557 | 2019-12-19 11:19:53 | Zhiting Lin | politic-old Revert "update tripple tags" This reverts commit dfa21b5... |
29ddf88 | 2019-12-19 11:19:47 | Zhiting Lin | update package-lock.json |
名稱 | 修訂. | 時間 | 作者 | 訊息 |
---|---|---|---|---|
dependabot/npm_and_yarn/node-sass-4.13.1 | 2dbda2d | 2020-09-04 09:36:13 | dependabot[bot] | Bump node-sass from 4.12.0... |
dependabot/npm_and_yarn/lodash-4.17.19 | 3e91e76 | 2020-07-16 08:35:17 | dependabot[bot] | Bump lodash from 4.17.14 t... |
master | 69d4d4b | 2020-02-06 11:45:24 | Zhiting Lin | fixed the create asset stri... |
politic | 9e2204e | 2020-01-09 11:38:39 | Zhiting Lin | fixed the filters. |
politic-old | b058557 | 2019-12-19 11:19:53 | Zhiting Lin | Revert "update tripple tags... |
vapor | e56b0e1 | 2019-10-23 17:00:22 | Zhiting Lin | update the chain transactio... |
dev | 45a4992 | 2018-07-30 20:47:18 | Zhiting Lin | Modified the password locke... |
pagination | d6d8e88 | 2018-05-24 10:43:19 | Yongfeng LI | remove detail param |
refactor | 623949c | 2018-04-23 15:52:30 | Yongfeng LI | refactor Restore component |
Install Node.js:
brew install node
Install dependencies:
npm install
Start the development server with
npm start
By default, the development server uses the following environment variables with default values to connect to a local Bytom Core instance:
API_URL=http://localhost:3000/api
PROXY_API_HOST=http://localhost:9888
We use eslint
to maintain a consistent code style. To check the source
directory with eslint
, run:
npm run lint src
Babel is used to transpile the latest ES6 syntax into a format understood by
both Node.js and browsers. To get an ES6-compatible REPL (or run a one-off script)
you can use the babel-node
command:
$(npm bin)/babel-node
To inspect and debug Redux actions, we recommend the "Redux DevTools" Chrome extension:
https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd
To generate a new component with a connected stylesheet, use the following command:
npm run generate-component Common/MyComponent
The above command will create two new files in the src/components
directory:
src/components/Common/MyComponent/MyComponent.jsx
src/components/Common/MyComponent/MyComponent.scss
with MyComponent.scss
imported as a stylesheet into MyComponent.jsx
.
Additionally, if there is an index.js
file in src/components/Common
, it
will appropriately add the newly created component to the index exports.