b27fa51092
* Chore/browser extension bootstrap (#3257) * init package * set up TS and Webpack * add eslint config * add prettier config * add react and mui theme * add CI * update mui theme version number * Chore/browser extension routes (#3327) * start routes * create layouts * add initial app routes * add initial app pages * add global types * create reuseable components * move password and mnemonic fields to shared react components package * refactor register routes * move client address component to shared package * move components to ui folder * create menu and appbar components * adjust layout components * add readme * use memory router * Feature/nym browser extension login and send (#3373) * init package * set up TS and Webpack * add eslint config * add prettier config * add react and mui theme * add CI * update mui theme version number * Chore/browser extension routes (#3327) * start routes * create layouts * add initial app routes * add initial app pages * add global types * create reuseable components * move password and mnemonic fields to shared react components package * refactor register routes * move client address component to shared package * move components to ui folder * create menu and appbar components * adjust layout components * add readme * use memory router * add extension to mono-repo config * fix webpack build * util functions * add TX type * refactor routes * refactor pages + add send page * add page layout for app pages * set up app context * app components * set up connection config * fix lint errors * Chore/browser extension bootstrap (#3257) * init package * set up TS and Webpack * add eslint config * add prettier config * add react and mui theme * add CI * update mui theme version number * Chore/browser extension routes (#3327) * start routes * create layouts * add initial app routes * add initial app pages * add global types * create reuseable components * move password and mnemonic fields to shared react components package * refactor register routes * move client address component to shared package * move components to ui folder * create menu and appbar components * adjust layout components * add readme * use memory router * add extension to mono-repo config * util functions * add TX type * refactor routes * refactor pages + add send page * add page layout for app pages * set up app context * app components * set up connection config * use fee simulation when sending tokens * use object argument for simulate send api * login validation + fee refinements * use components from shared components lib * add receive modal (#3408) * account storage via wasm * method to get all storage keys * Feature/nym browser extension password encryption (single account) (#3442) * build wasm * reuse components and state for password pages * refactor registration pages * use login with password * import storage as local package * add yarn preinstall script to ts lint gh action * install wasm-pack for CI * use @nym scope for ext storage package * introduced a call to check if database was already initialised (#3465) * introduced a call to check if database was already initialised * use extension storage method to check for db existance --------- Co-authored-by: fmtabbara <fmtabbara@hotmail.co.uk> * introduced mnemonic key existence check (#3462) * Browser extension - Multi-accounts + view mnemonic action (#3488) * add UI for multi-accounts + add view mnemonic for accounts * refactor routes * set up import account * add account to existing wallet * check if account name exists before creating new one * handle password errors * add token to currency conversion * fixed ClientStorageError import path * fix CI * fix CI --------- Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
94 lines
2.7 KiB
JSON
94 lines
2.7 KiB
JSON
{
|
|
"name": "@nymproject/react",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"main": "dist/index.js",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./*": "./dist/components/*",
|
|
"./hooks/*": "./dist/hooks/*",
|
|
"./playground/*": "./dist/playground/*"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"dist/components/*"
|
|
],
|
|
"hooks/*": [
|
|
"dist/hooks/*"
|
|
],
|
|
"playground/*": [
|
|
"dist/playground/*"
|
|
]
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"@cosmjs/math": "^0.27.1",
|
|
"@mui/icons-material": ">= 5",
|
|
"@mui/lab": "^5.0.0-alpha.72",
|
|
"@mui/material": ">= 5",
|
|
"@mui/styles": ">= 5",
|
|
"@mui/system": ">= 5",
|
|
"@nymproject/mui-theme": "1",
|
|
"zxcvbn": "^4.4.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"@nymproject/nym-validator-client": "^0.18.0",
|
|
"@nymproject/types": "1",
|
|
"base58": "4",
|
|
"bech32": "^1.1.4"
|
|
},
|
|
"dependencies": {
|
|
"flat": "^5.0.2",
|
|
"use-clipboard-copy": "^0.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.5",
|
|
"@nymproject/eslint-config-react-typescript": "^1.0.0",
|
|
"@storybook/addon-actions": "^6.5.8",
|
|
"@storybook/addon-essentials": "^6.5.8",
|
|
"@storybook/addon-interactions": "^6.5.8",
|
|
"@storybook/addon-links": "^6.5.8",
|
|
"@storybook/builder-webpack5": "^6.5.8",
|
|
"@storybook/manager-webpack5": "^6.5.8",
|
|
"@storybook/react": "^6.5.15",
|
|
"@storybook/testing-library": "^0.0.9",
|
|
"@svgr/webpack": "^6.1.1",
|
|
"@types/flat": "^5.0.2",
|
|
"@types/react": "^18.0.26",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
|
"@typescript-eslint/parser": "^5.13.0",
|
|
"babel-loader": "^8.2.3",
|
|
"babel-plugin-root-import": "^5.1.0",
|
|
"eslint": "^8.10.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-root-import": "^1.0.4",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-jest": "^26.1.1",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.29.2",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-plugin-storybook": "^0.5.12",
|
|
"jest": "^27.1.0",
|
|
"prettier": "^2.8.7",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^27.0.5",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build": "tsc --noEmit false",
|
|
"watch": "tsc --noEmit false -w",
|
|
"lint": "eslint src .storybook",
|
|
"lint:fix": "eslint src .storybook --fix",
|
|
"storybook": "start-storybook -p 6006",
|
|
"storybook:build": "build-storybook"
|
|
},
|
|
"sideEffects": false
|
|
}
|