70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "ghost-telemetry-frontend",
|
|
"version": "0.1.5",
|
|
"author": "Uncle f4tso <f4ts0@ghostchain.io>",
|
|
"license": "GPL-3.0",
|
|
"description": "Ghost Telemetry frontend",
|
|
"scripts": {
|
|
"start": "webpack serve --mode=development",
|
|
"build": "webpack --mode=production",
|
|
"test": "jest",
|
|
"pretty:check": "prettier --check src/**/*.{ts,tsx}",
|
|
"pretty:fix": "prettier --write src",
|
|
"clean": "rm -rf node_modules build ./tmp/env-config.js report*.json npm-error.log",
|
|
"lint": "eslint src"
|
|
},
|
|
"dependencies": {
|
|
"@polkadot/util-crypto": "^10.1.7",
|
|
"dotenv-webpack": "^8.1.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-ga4": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "29.4.0",
|
|
"@types/node": "^16.11.58",
|
|
"@types/react": "^18.0.18",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@types/react-measure": "^2.0.6",
|
|
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
|
"@typescript-eslint/parser": "^5.49.0",
|
|
"css-loader": "^6.7.3",
|
|
"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",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"jest": "^29.4.0",
|
|
"jest-environment-jsdom": "^29.4.0",
|
|
"prettier": "^2.0.5",
|
|
"style-loader": "^3.3.1",
|
|
"ts-jest": "29.0.5",
|
|
"ts-loader": "^9.4.2",
|
|
"typescript": "^4.9.4",
|
|
"webpack": "^5.76.0",
|
|
"webpack-cli": "^5.0.1",
|
|
"webpack-dev-server": "^4.11.1",
|
|
"whatwg-fetch": "^3.6.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"
|
|
]
|
|
}
|
|
}
|