| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- {
- "name": "vendure",
- "version": "0.0.0",
- "private": true,
- "scripts": {
- "core:watch": "concurrently -n tsc,gulp,common \"cd packages/core && yarn tsc:watch\" \"cd packages/core && yarn gulp:watch\" \"cd packages/common && yarn watch\"",
- "bootstrap": "lerna bootstrap && cd admin-ui && yarn",
- "docs:watch": "concurrently --restart-tries 5 -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\"",
- "docs:build": "yarn generate-graphql-docs && yarn generate-typescript-docs && cd docs && yarn webpack --prod && node build.js && hugo",
- "docs:deploy": "cd docs && yarn && cd .. && yarn docs:build",
- "codegen": "ts-node scripts/codegen/generate-graphql-types.ts",
- "generate-typescript-docs": "ts-node scripts/docs/generate-typescript-docs.ts",
- "generate-graphql-docs": "ts-node scripts/docs/generate-graphql-docs.ts --api=shop && ts-node scripts/docs/generate-graphql-docs.ts --api=admin",
- "format": "prettier --write --html-whitespace-sensitivity ignore",
- "lint:packages": "yarn tslint --fix",
- "lint:admin-ui": "cd admin-ui && yarn lint --fix",
- "version": "yarn build && yarn generate-changelog && git add CHANGELOG.md",
- "dev-server:start": "cd packages/dev-server && yarn start",
- "dev-server:populate": "cd packages/dev-server && yarn populate",
- "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:elasticsearch-plugin && yarn test:e2e",
- "test:common": "jest --config packages/common/jest.config.js",
- "test:core": "jest --config packages/core/jest.config.js",
- "test:email-plugin": "jest --config packages/email-plugin/jest.config.js --maxWorkers=1",
- "test:elasticsearch-plugin": "jest --config packages/elasticsearch-plugin/jest.config.js",
- "test:e2e": "jest --config packages/core/e2e/config/jest-e2e.json --runInBand",
- "test:admin-ui": "cd admin-ui && yarn test --watch=false --browsers=ChromeHeadlessCI --progress=false",
- "build": "lerna run build",
- "generate-changelog": "ts-node scripts/changelogs/generate-changelog.ts",
- "publish-release": "lerna publish -m \"chore: Publish %s\" --no-push"
- },
- "devDependencies": {
- "@commitlint/cli": "^7.6.1",
- "@commitlint/config-conventional": "^7.6.0",
- "@graphql-codegen/add": "^1.1.3",
- "@graphql-codegen/cli": "^1.1.3",
- "@graphql-codegen/fragment-matcher": "^1.4.0",
- "@graphql-codegen/typescript": "^1.1.3",
- "@graphql-codegen/typescript-compatibility": "^1.1.3",
- "@graphql-codegen/typescript-operations": "^1.1.3",
- "@types/graphql": "^14.0.5",
- "@types/klaw-sync": "^6.0.0",
- "@types/node": "^10.11.5",
- "concurrently": "^4.1.0",
- "conventional-changelog-core": "^3.2.2",
- "graphql": "^14.1.1",
- "graphql-tools": "^4.0.0",
- "husky": "^3.0.0",
- "jest": "^24.5.0",
- "klaw-sync": "^6.0.0",
- "lerna": "^3.14.1",
- "lint-staged": "^9.2.0",
- "prettier": "^1.15.2",
- "ts-jest": "^24.0.0",
- "ts-node": "^7.0.1",
- "tslint": "^5.11.0",
- "typescript": "^3.2.4"
- },
- "workspaces": [
- "packages/*"
- ],
- "commitlint": {
- "extends": [
- "@commitlint/config-conventional"
- ],
- "rules": {
- "subject-case": [
- 2,
- "always",
- [
- "sentence-case"
- ]
- ]
- }
- },
- "husky": {
- "hooks": {
- "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
- "post-commit": "git update-index --again",
- "pre-commit": "lint-staged",
- "pre-push": "yarn test:all && cd admin-ui && yarn build --prod"
- }
- }
- }
|