package.json 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "vendure",
  3. "version": "0.1.0-alpha.17",
  4. "private": true,
  5. "scripts": {
  6. "core:watch": "concurrently -n tsc,gulp,common \"cd packages/core && yarn tsc:watch\" \"cd packages/core && yarn gulp:watch\" \"cd packages/common && yarn watch\"",
  7. "bootstrap": "lerna bootstrap",
  8. "docs:watch": "concurrently -n docgen,hugo,webpack -c green,blue,cyan \"yarn generate-graphql-docs && yarn generate-typescript-docs -w\" \"cd docs && hugo server\" \"cd docs && yarn webpack -w\"",
  9. "docs:build": "yarn generate-graphql-docs && yarn generate-typescript-docs && cd docs && yarn webpack --prod && node build.js && hugo",
  10. "docs:deploy": "cd docs && yarn && cd .. && yarn docs:build",
  11. "codegen": "ts-node scripts/codegen/generate-graphql-types.ts",
  12. "generate-typescript-docs": "ts-node scripts/docs/generate-typescript-docs.ts",
  13. "generate-graphql-docs": "ts-node scripts/docs/generate-graphql-docs.ts --api=shop && ts-node scripts/docs/generate-graphql-docs.ts --api=admin",
  14. "format": "prettier --write --html-whitespace-sensitivity ignore",
  15. "lint:core": "cd packages/core && yarn lint --fix",
  16. "lint:admin-ui": "cd admin-ui && yarn lint --fix",
  17. "precommit": "lint-staged",
  18. "postcommit": "git update-index --again",
  19. "prepush": "yarn test:all && cd admin-ui && yarn build --prod",
  20. "dev-server:mysql": "cd packages/dev-server && yarn start --db=mysql",
  21. "dev-server:postgres": "cd packages/dev-server && yarn start --db=postgres",
  22. "dev-server:sqlite": "cd packages/dev-server && yarn start --db=sqlite",
  23. "dev-server:populate": "cd packages/dev-server && yarn populate",
  24. "test:all": "cd admin-ui && yarn test --watch=false --browsers=ChromeHeadlessCI --progress=false && cd ../ && yarn test:common && yarn test:core && yarn test:email-plugin && yarn test:e2e",
  25. "test:common": "jest --config packages/common/jest.config.js",
  26. "test:core": "jest --config packages/core/jest.config.js",
  27. "test:email-plugin": "jest --config packages/email-plugin/jest.config.js",
  28. "test:e2e": "jest --config packages/core/e2e/config/jest-e2e.json --runInBand",
  29. "test:admin-ui": "cd admin-ui && yarn test --watch=false --browsers=ChromeHeadlessCI --progress=false",
  30. "build": "lerna run build",
  31. "publish:packages": "yarn build && lerna publish --exact -m \"chore: Publish %s release\" --no-git-tag-version"
  32. },
  33. "devDependencies": {
  34. "@graphql-codegen/add": "^1.1.3",
  35. "@graphql-codegen/cli": "^1.1.3",
  36. "@graphql-codegen/typescript": "^1.1.3",
  37. "@graphql-codegen/typescript-compatibility": "^1.1.3",
  38. "@graphql-codegen/typescript-operations": "^1.1.3",
  39. "@types/graphql": "^14.0.5",
  40. "@types/klaw-sync": "^6.0.0",
  41. "@types/node": "^10.11.5",
  42. "concurrently": "^4.1.0",
  43. "graphql": "^14.1.1",
  44. "graphql-tools": "^4.0.0",
  45. "husky": "^0.14.3",
  46. "jest": "^24.5.0",
  47. "klaw-sync": "^6.0.0",
  48. "lerna": "^3.13.1",
  49. "lint-staged": "^7.2.0",
  50. "prettier": "^1.15.2",
  51. "ts-jest": "^24.0.0",
  52. "ts-node": "^7.0.1",
  53. "tslint": "^5.11.0",
  54. "typescript": "^3.2.4"
  55. },
  56. "workspaces": [
  57. "packages/*"
  58. ]
  59. }