2016-12-04 01:35:28 +00:00
|
|
|
# MyEtherWallet
|
|
|
|
MyEtherWallet (v4+)
|
2017-04-12 05:06:09 +00:00
|
|
|
|
|
|
|
#### Run:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run dev # run app in dev mode
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Build:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run build # build app
|
|
|
|
```
|
|
|
|
|
|
|
|
It generates app in `dist` folder.
|
|
|
|
|
|
|
|
#### Test:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run test # run tests with Jest
|
|
|
|
```
|
|
|
|
|
|
|
|
## Folder structure:
|
|
|
|
|
|
|
|
```
|
2017-04-12 05:09:28 +00:00
|
|
|
│
|
2017-04-12 05:06:09 +00:00
|
|
|
├── common - Your App
|
|
|
|
│ └── actions - application actions
|
|
|
|
│ ├── api - Services and XHR utils(also custom form validation, see InputComponent from components/common)
|
|
|
|
│ ├── components - components according to "Redux philosophy"
|
|
|
|
│ ├── config - frontend config depending on REACT_WEBPACK_ENV
|
|
|
|
│ ├── containers - containers according to "Redux philosophy"
|
|
|
|
│ ├── reducers - application reducers
|
|
|
|
│ ├── routing - application routing
|
|
|
|
│ ├── styles - styles folder with scss vars, mixins, etc.
|
|
|
|
│ ├── index.jsx - entry
|
|
|
|
│ ├── index.html
|
2017-04-12 22:38:25 +00:00
|
|
|
├── static
|
2017-04-12 05:06:09 +00:00
|
|
|
├── webpack_config - Webpack configuration
|
|
|
|
├── jest_config - Jest configuration
|
|
|
|
```
|