c66d7ed489
* Use new eslint rules and apply fixes. Use new logo component and shared theme + webpack config. * Add shared component to display a copy icon and copy to clipboard with confirmation state * Organise imports * Add copy mixnode identity key to list of mixnodes and detail view * Update nvm node version to 16 * Update GitHub Actions for Network Explorer to use yarn and yarn workspaces * Switch favicon for smaller N icon * Update README * Add error boundary
68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
{
|
|
"name": "@nymproject/react",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"peerDependencies": {
|
|
"@mui/icons-material": ">= 5",
|
|
"@mui/lab": "^5.0.0-alpha.72",
|
|
"@mui/material": ">= 5",
|
|
"@mui/styles": ">= 5",
|
|
"@mui/system": ">= 5",
|
|
"@nymproject/mui-theme": "1",
|
|
"react": "17",
|
|
"react-dom": "17"
|
|
},
|
|
"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.4.19",
|
|
"@storybook/addon-essentials": "^6.4.19",
|
|
"@storybook/addon-interactions": "^6.4.19",
|
|
"@storybook/addon-links": "^6.4.19",
|
|
"@storybook/builder-webpack5": "^6.4.19",
|
|
"@storybook/manager-webpack5": "^6.4.19",
|
|
"@storybook/react": "^6.4.19",
|
|
"@storybook/testing-library": "^0.0.9",
|
|
"@svgr/webpack": "^6.1.1",
|
|
"@types/flat": "^5.0.2",
|
|
"@types/react": "^17.0.39",
|
|
"@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.7",
|
|
"jest": "^27.1.0",
|
|
"prettier": "^2.5.1",
|
|
"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"
|
|
}
|
|
}
|