haveno-ts/package.json
reemuru 67d236f7cf
add eslint and editorconfig
This commit adds a simple editorconfig generated via VSCode
and .eslintrc.json configuration created with 'npx eslint --init'.
The rules are react-specific typescript recommnedations with
the Airbnb style guide. Linting can be performed by running 'npm
run lint' or fix possible errors with 'npm run eslintfix'. These
commands are located in the pacakge.json 'scripts' configuration.
Place file extensions and directories to be ignored in .eslintignore.
2021-09-18 21:45:56 -05:00

54 lines
1.4 KiB
JSON

{
"name": "haveno-ui-poc",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.22",
"@types/node": "^12.20.10",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"google-protobuf": "^3.0.0",
"grpc-web": "^1.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"typescript": "^4.2.4",
"web-vitals": "^1.1.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src/*",
"eslintfix": "eslint src/* --fix"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.25.2",
"eslint-plugin-react-hooks": "^4.2.0",
"monero-javascript": "^0.5.5"
}
}