package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "@joystream/hydra-indexer-lib",
  3. "description": "Block index builder for substrate based chains",
  4. "version": "0.0.17-alpha",
  5. "main": "index.js",
  6. "license": "MIT",
  7. "repository": "git@github.com:Joystream/joystream.git",
  8. "homepage": "https://github.com/joystream/joystream/query-node/substrate-query-framework/index-builder",
  9. "files": [
  10. "lib",
  11. "README.md"
  12. ],
  13. "scripts": {
  14. "pub": "yarn build && yarn publish --access public",
  15. "build": "rm -rf lib && tsc --build tsconfig.json",
  16. "lint": "eslint . --cache --ext .ts --config .eslintrc.js",
  17. "typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js",
  18. "i-test": "docker-compose -f docker-compose-test.yml up -d && sh ./run-integration-tests.sh",
  19. "post-i-test": "docker-compose -f docker-compose-test.yml down",
  20. "i-test-local": "nyc --extension .ts mocha --exit --timeout 50000 --require ts-node/register --file ./test/integration/setup-db.ts \"test/integration/**/*.test.ts\"",
  21. "test": "nyc --extension .ts mocha --timeout 50000 --require ts-node/register --forbid-only \"test/**/*.test.ts\""
  22. },
  23. "dependencies": {
  24. "@polkadot/api": "^1.26.1",
  25. "@types/ioredis": "^4.17.4",
  26. "@types/lodash": "^4.14.161",
  27. "@types/shortid": "^0.0.29",
  28. "debug": "^4.1.1",
  29. "graphql": "15",
  30. "graphql-request": "^3.1.0",
  31. "ioredis": "^4.17.3",
  32. "lodash": "^4.17.20",
  33. "reflect-metadata": "^0.1.13",
  34. "shortid": "^2.2.15",
  35. "typedi": "^0.8.0",
  36. "typeorm": "^0.2.25"
  37. },
  38. "devDependencies": {
  39. "@joystream/prettier-config": "^1.0.0",
  40. "@polkadot/ts": "^0.3.14",
  41. "@types/bn.js": "^4.11.6",
  42. "@types/chai": "^4.2.12",
  43. "@types/debug": "^4.1.5",
  44. "@types/mocha": "^8.0.3",
  45. "@types/node": "^10",
  46. "@types/pg": "^7.14.4",
  47. "@typescript-eslint/eslint-plugin": "^3.8.0",
  48. "@typescript-eslint/parser": "^3.0.2",
  49. "bn.js": "^5.1.2",
  50. "chai": "^4.2.0",
  51. "docker-compose-mocha": "^1.2.0",
  52. "dotenv": "^8.2.0",
  53. "eslint": "^7.1.0",
  54. "husky": "^4.2.5",
  55. "lint-staged": "^10.2.6",
  56. "mocha": "^8.1.3",
  57. "nyc": "^15.1.0",
  58. "pg": "^8.3.2",
  59. "pgtools": "^0.3.0",
  60. "prettier": "^2.1.2",
  61. "ts-mockito": "^2.6.1",
  62. "ts-node": "^9.0.0",
  63. "typescript": "^3.8",
  64. "util": "^0.12.3"
  65. },
  66. "husky": {
  67. "hooks": {
  68. "pre-push": "yarn lint"
  69. }
  70. },
  71. "lint-staged": {
  72. "*.ts": "yarn lint"
  73. }
  74. }