mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 09:08:00 +00:00
41c93a8a19
* update npm packages * update tsconfig * remove babelrc, babel presets as well as stable package * fix svg namespace tag syntax errors * fix reference error due to namespace and class component having same name * replace tslint with eslint * make eslint happier * update .nvmrc to 14 * update node version to 14 in gh workflow * fix eslint warnings due to warnings treated as errors on CI (process.env.CI = true) * pretty fix * bump node version in Dockerfile * use createRoot instead of react-dom render * update browsers list in package.json
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "@dotstats/frontend",
|
|
"version": "0.2.1",
|
|
"author": "Parity Technologies Ltd. <admin@parity.io>",
|
|
"license": "GPL-3.0",
|
|
"description": "Polkadot Telemetry frontend",
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "TS_NODE_PROJECT=tsconfig.test.json tape -r ts-node/register test/**/*spec.ts",
|
|
"test:coverage": "nyc yarn test",
|
|
"eject": "react-scripts eject",
|
|
"pretty:check": "prettier --check src/**/*.{ts,tsx}",
|
|
"pretty:fix": "prettier --write src",
|
|
"clean": "rm -rf node_modules build .nyc ./tmp/env-config.js report*.json yarn-error.log",
|
|
"lint": "eslint src"
|
|
},
|
|
"dependencies": {
|
|
"@polkadot/util-crypto": "^10.1.7",
|
|
"@types/react-measure": "^2.0.6",
|
|
"blakejs": "^1.2.0",
|
|
"husky": "^8.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-measure": "^2.5.2",
|
|
"react-scripts": "5.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.58",
|
|
"@types/react": "^18.0.18",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@types/tape": "^4.13.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
|
"@typescript-eslint/parser": "^5.36.2",
|
|
"eslint": "^8.23.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-react": "^7.31.8",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"istanbul": "^0.4.5",
|
|
"nyc": "^15.0.1",
|
|
"prettier": "^2.0.5",
|
|
"tape": "^4.13.2",
|
|
"ts-node": "^8.9.0",
|
|
"typescript": "^4.4.2"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx,json,css}": [
|
|
"pretty:fix"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
"chrome >= 67",
|
|
"edge >= 79",
|
|
"firefox >= 68",
|
|
"opera >= 54",
|
|
"safari >= 14"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|