0.7.3 • Published 4 years ago
@deriv/p2p v0.7.3
Index
- General - Contains general philosophy and overview of this package
- Modules docs - Contains implementation guides (i.e., scaffolding, code usage)
Requirements
- node
- npm
Editor helpers
- Prettier setup in your editor https://prettier.io/
- Stylelint setup in your editor https://stylelint.io/
- Eslint setup in your editor https://eslint.org/
🚀 Quick start
Install your dependencies:
npm ci
To build publish file:
npm run build
Libary usage:
import P2P from '@deriv/p2p'; <P2P />;
File Structure
src
├── components/
│ ├── ads/
│ │ ├── ads.js
│ │ ├── ads.scss
│ ├── orders/
│ │ ├── orders.js
│ │ ├── orders.scss
│ ├── ...
│ └── app.jsx
├── utils/
│ ├── timer.js // TODO
│ ├── ...
├── index.js
index.js // publish file
webpack.config.js
package.json
- Translations
Update translations in Crowdin and get new translations from Crowdin
Requirements:
- Crowdin CLI: https://support.crowdin.com/cli-tool/#installation
CROWDIN_API_KEY
environment variables to your~/.bash_profile
- Run the script below
sh scripts/update-translations.sh
- Extracts new translations strings and pushes them to Crowdin
- Fetches new translations strings from Crowdin
- Make a PR from the newly created branch
p2p_translations
to dev
0.7.3-beta3
3 years ago
0.7.3-beta2
3 years ago
0.7.3-beta1
3 years ago
0.7.3
4 years ago
0.7.2
4 years ago
0.7.1
4 years ago
0.7.0
4 years ago
0.7.0-beta4
4 years ago
0.7.0-beta3
4 years ago
0.7.0-beta2
4 years ago
0.7.0-beta
4 years ago
0.6.0
4 years ago
0.5.1
4 years ago
0.5.0
4 years ago
0.4.0
4 years ago
0.3.0
4 years ago
0.2.0
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago