mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-25 09:27:59 +00:00
bb8e804567
* prettier * linter * add prettier, and format the code * remove common, merge it with frontend * refactor the app * better lint and code fix * travis for the frontend app * travis build script Signed-off-by: Daniel Maricic <daniel@woss.io> * lint and build * update the README.md Signed-off-by: Daniel Maricic <daniel@woss.io> * change the commands to reflect refactor Signed-off-by: Daniel Maricic <daniel@woss.io> * prettier and tslint are friends Signed-off-by: Daniel Maricic <daniel@woss.io> * code that wasn't linted properly before Signed-off-by: Daniel Maricic <daniel@woss.io> * prettier rc got deleted * workgin on making the travis pass Signed-off-by: Daniel Maricic <daniel@woss.io> * travis build please? Signed-off-by: Daniel Maricic <daniel@woss.io> * update readme.md Signed-off-by: Daniel Maricic <daniel@woss.io> * dockerfile deleted from fronted - out of scope Signed-off-by: Daniel Maricic <daniel@woss.io> * remove Signed-off-by: Daniel Maricic <daniel@woss.io> * tsconfig Signed-off-by: Daniel Maricic <daniel@woss.io> * found the reason why EOL wasn't happening Signed-off-by: Daniel Maricic <daniel@woss.io> * type for the event in the ConnectionInput as suggested * strictnullCheck to true * noImplicitAny * noUnusedParams * AfgHandling * update * fix Location.tsx * Few minor fixes * remove connection input and revert to original * esnext fixes the imports for icons and non default `* as ` * update to the tsconfig.test.json don't use commonjs please * fixed wrong comment for TIMEOUT_BASE * return totem.svg and type decraration of maybe Signed-off-by: Daniel Maricic <daniel@woss.io> Co-authored-by: Will <w.kopp@kigroup.de>
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"name": "@dotstats/frontend",
|
|
"version": "0.1.0",
|
|
"author": "Parity Technologies Ltd. <admin@parity.io>",
|
|
"license": "GPL-3.0",
|
|
"description": "Polkadot Telemetry frontend",
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"setupFiles": [
|
|
"jest-localstorage-mock"
|
|
],
|
|
"transform": {
|
|
"\\.(ts|tsx)$": "ts-jest"
|
|
},
|
|
"testRegex": "/test/.*\\.(spec).(ts|tsx|js)$"
|
|
},
|
|
"dependencies": {
|
|
"@fnando/sparkline": "maciejhirsz/sparkline",
|
|
"@polkadot/util-crypto": "^1.6.1",
|
|
"@types/react-measure": "^2.0.5",
|
|
"blakejs": "^1.1.0",
|
|
"husky": "^4.2.3",
|
|
"lint-staged": "^10.1.0",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-measure": "^2.3.0",
|
|
"react-scripts-ts": "2.17.0",
|
|
"react-svg": "^4.1.1",
|
|
"stable": "^0.1.8",
|
|
"tslint": "^6.1.0"
|
|
},
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"start": "react-scripts-ts start",
|
|
"build": "react-scripts-ts build",
|
|
"test": "echo 'FIXME: FE tests need updating'",
|
|
"eject": "react-scripts-ts eject",
|
|
"pretty:check": "prettier --check src/**/*.{ts,tsx}",
|
|
"pretty:fix": "prettier --write src"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.0.2",
|
|
"@types/node": "^10.3.2",
|
|
"@types/react": "^16.3.17",
|
|
"@types/react-dom": "^16.0.6",
|
|
"@types/react-svg": "^3.0.0",
|
|
"babel-jest": "^23.6.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-react": "^6.24.1",
|
|
"enzyme": "^3.6.0",
|
|
"enzyme-adapter-react-16": "^1.5.0",
|
|
"jest": "^23.6.0",
|
|
"jest-localstorage-mock": "^2.2.0",
|
|
"mock-socket": "^8.0.2",
|
|
"prettier": "^2.0.2",
|
|
"react-test-renderer": "^16.5.2",
|
|
"ts-jest": "^23.10.2",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"tslint-plugin-prettier": "^2.3.0",
|
|
"typescript": "^2.9.2"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{ts,tsx,json,css}": [
|
|
"pretty:fix"
|
|
]
|
|
}
|
|
}
|