package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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.2.1",
  24. "@nestjs/core": "^5.2.1",
  25. "@nestjs/graphql": "^3.0.0",
  26. "@nestjs/microservices": "^5.2.1",
  27. "@nestjs/passport": "^1.0.10",
  28. "@nestjs/testing": "^5.2.1",
  29. "@nestjs/typeorm": "^5.1.0",
  30. "apollo-server-express": "^1.3.6",
  31. "bcrypt": "^3.0.0",
  32. "body-parser": "^1.18.3",
  33. "graphql": "^14.0.0-rc.2",
  34. "graphql-iso-date": "^3.5.0",
  35. "graphql-tag": "^2.9.2",
  36. "graphql-tools": "^3.1.1",
  37. "graphql-type-json": "^0.2.1",
  38. "i18next": "^11.6.0",
  39. "i18next-express-middleware": "^1.3.2",
  40. "i18next-icu": "^0.4.0",
  41. "i18next-node-fs-backend": "^2.0.0",
  42. "jsonwebtoken": "^8.2.2",
  43. "mysql": "^2.16.0",
  44. "passport": "^0.4.0",
  45. "passport-jwt": "^4.0.0",
  46. "reflect-metadata": "^0.1.12",
  47. "rxjs": "^6.2.0",
  48. "typeorm": "^0.2.6",
  49. "typescript": "^2.9.0"
  50. },
  51. "devDependencies": {
  52. "@types/bcrypt": "^2.0.0",
  53. "@types/express": "^4.0.39",
  54. "@types/faker": "^4.1.3",
  55. "@types/i18next": "^8.4.3",
  56. "@types/i18next-express-middleware": "^0.0.33",
  57. "@types/jest": "^23.3.1",
  58. "@types/jsonwebtoken": "^7.2.7",
  59. "@types/node": "^9.3.0",
  60. "faker": "^4.1.0",
  61. "graphql-request": "^1.8.2",
  62. "gulp": "^4.0.0",
  63. "jest": "^23.5.0",
  64. "nodemon": "^1.14.1",
  65. "rimraf": "^2.6.2",
  66. "sql.js": "^0.5.0",
  67. "ts-jest": "^23.1.4",
  68. "tsconfig-paths": "^3.5.0"
  69. },
  70. "jest": {
  71. "moduleFileExtensions": [
  72. "js",
  73. "json",
  74. "ts"
  75. ],
  76. "moduleNameMapper": {
  77. "shared/(.*)": "<rootDir>/../shared/$1.ts"
  78. },
  79. "roots": [
  80. "src",
  81. "../shared"
  82. ],
  83. "testRegex": ".spec.ts$",
  84. "transform": {
  85. "^.+\\.(t|j)s$": "ts-jest"
  86. },
  87. "coverageDirectory": "../coverage",
  88. "globals": {
  89. "ts-jest": {
  90. "skipBabel": true
  91. }
  92. }
  93. }
  94. }