package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "vendure",
  3. "version": "0.0.0",
  4. "description": "A modern, headless ecommerce framework",
  5. "private": true,
  6. "license": "MIT",
  7. "scripts": {
  8. "populate": "node -r ts-node/register -r tsconfig-paths/register mock-data/populate-cli.ts",
  9. "start:dev": "nodemon --config nodemon-debug.json",
  10. "lint": "tslint --project tsconfig.json -c tslint.json",
  11. "test": "jest",
  12. "test:watch": "jest --watch",
  13. "test:cov": "jest --coverage",
  14. "test:e2e": "jest --config ./e2e/config/jest-e2e.json",
  15. "test:e2e:watch": "jest --config ./e2e/config/jest-e2e.json --watch",
  16. "build": "rimraf dist && tsc -p tsconfig.build.json && gulp"
  17. },
  18. "main": "dist/index.js",
  19. "files": [
  20. "dist/**/*"
  21. ],
  22. "dependencies": {
  23. "@nestjs/common": "^5.3.2",
  24. "@nestjs/core": "^5.3.2",
  25. "@nestjs/graphql": "5.1.2",
  26. "@nestjs/passport": "^5.0.1",
  27. "@nestjs/testing": "^5.3.1",
  28. "@nestjs/typeorm": "^5.2.0",
  29. "apollo-server-express": "^2.0.4",
  30. "bcrypt": "^3.0.0",
  31. "body-parser": "^1.18.3",
  32. "graphql": "^14.0.0",
  33. "graphql-iso-date": "^3.5.0",
  34. "graphql-tag": "^2.9.2",
  35. "graphql-tools": "^3.1.1",
  36. "graphql-type-json": "^0.2.1",
  37. "i18next": "^11.6.0",
  38. "i18next-express-middleware": "^1.3.2",
  39. "i18next-icu": "^0.4.0",
  40. "i18next-node-fs-backend": "^2.0.0",
  41. "jsonwebtoken": "^8.2.2",
  42. "mysql": "^2.16.0",
  43. "passport": "^0.4.0",
  44. "passport-jwt": "^4.0.0",
  45. "reflect-metadata": "^0.1.12",
  46. "rxjs": "^6.2.0",
  47. "typeorm": "^0.2.6",
  48. "typescript": "^2.9.0"
  49. },
  50. "devDependencies": {
  51. "@types/bcrypt": "^2.0.0",
  52. "@types/express": "^4.0.39",
  53. "@types/faker": "^4.1.3",
  54. "@types/i18next": "^8.4.3",
  55. "@types/i18next-express-middleware": "^0.0.33",
  56. "@types/jest": "^23.3.1",
  57. "@types/jsonwebtoken": "^7.2.7",
  58. "@types/node": "^9.3.0",
  59. "faker": "^4.1.0",
  60. "graphql-request": "^1.8.2",
  61. "gulp": "^4.0.0",
  62. "jest": "^23.5.0",
  63. "nodemon": "^1.14.1",
  64. "rimraf": "^2.6.2",
  65. "sql.js": "^0.5.0",
  66. "ts-jest": "^23.1.4",
  67. "tsconfig-paths": "^3.5.0"
  68. },
  69. "jest": {
  70. "moduleFileExtensions": [
  71. "js",
  72. "json",
  73. "ts"
  74. ],
  75. "moduleNameMapper": {
  76. "shared/(.*)": "<rootDir>/../shared/$1.ts"
  77. },
  78. "roots": [
  79. "src",
  80. "../shared"
  81. ],
  82. "testRegex": ".spec.ts$",
  83. "transform": {
  84. "^.+\\.(t|j)s$": "ts-jest"
  85. },
  86. "coverageDirectory": "../coverage",
  87. "globals": {
  88. "ts-jest": {
  89. "skipBabel": true
  90. }
  91. }
  92. }
  93. }