package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "network-tests",
  3. "version": "0.1.0",
  4. "license": "GPL-3.0-only",
  5. "scripts": {
  6. "build": "tsc --noEmit",
  7. "test": "./run-tests.sh",
  8. "run-test-scenario": "./run-test-scenario.sh",
  9. "node-ts-strict": "node -r ts-node/register --unhandled-rejections=strict",
  10. "lint": "eslint . --quiet --ext .ts",
  11. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  12. "format": "prettier ./ --write ",
  13. "generate:api:storage-node": "yarn openapi-generator-cli generate -i ../../storage-node/src/api-spec/openapi.yaml -g typescript-axios -o ./src/apis/storageNode",
  14. "generate:api:distributor-node": "yarn openapi-generator-cli generate -i ../../distributor-node/src/api-spec/public.yml -g typescript-axios -o ./src/apis/distributorNode",
  15. "generate:api:all": "yarn generate:api:storage-node && yarn generate:api:distributor-node && yarn format",
  16. "generate:types:graphql": "graphql-codegen",
  17. "generate:all": "yarn generate:types:graphql && yarn generate:api:all"
  18. },
  19. "dependencies": {
  20. "@apollo/client": "^3.2.5",
  21. "@joystream/types": "link:../../types",
  22. "@polkadot/api": "5.9.1",
  23. "@polkadot/keyring": "7.3.1",
  24. "@types/async-lock": "^1.1.2",
  25. "@types/bn.js": "^4.11.5",
  26. "@types/lowdb": "^1.0.9",
  27. "async-lock": "^1.2.0",
  28. "bn.js": "^4.11.8",
  29. "dotenv": "^8.2.0",
  30. "fs": "^0.0.1-security",
  31. "uuid": "^7.0.3",
  32. "axios": "^0.21.1",
  33. "bmp-js": "^0.1.0",
  34. "@types/bmp-js": "^0.1.0",
  35. "node-cleanup": "^2.1.2"
  36. },
  37. "devDependencies": {
  38. "@polkadot/ts": "^0.4.8",
  39. "@types/chai": "^4.2.11",
  40. "@types/uuid": "^7.0.2",
  41. "chai": "^4.2.0",
  42. "prettier": "^2.2.1",
  43. "ts-node": "^10.2.1",
  44. "typescript": "^4.4.3",
  45. "@openapitools/openapi-generator-cli": "^2.3.6",
  46. "@graphql-codegen/cli": "^1.21.4",
  47. "@graphql-codegen/typescript": "^1.22.0",
  48. "@graphql-codegen/import-types-preset": "^1.18.1",
  49. "@graphql-codegen/typescript-operations": "^1.17.16",
  50. "@graphql-codegen/typescript-document-nodes": "^1.17.11"
  51. },
  52. "volta": {
  53. "extends": "../../package.json"
  54. }
  55. }