forked from vendure-ecommerce/vendure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 3.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "vendure",
"version": "10.2.2",
"private": true,
"engines": {
"node": ">= 10.12.0 < 11 || >= 12.00"
},
"scripts": {
"watch": "lerna run watch --parallel",
"lint": "yarn tslint --fix",
"format": "prettier --write --html-whitespace-sensitivity ignore",
"bootstrap": "lerna bootstrap",
"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": "tsc -p scripts/codegen/plugins && 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",
"version": "yarn check-imports && yarn build && yarn generate-changelog && git add CHANGELOG.md && git add */version.ts",
"dev-server:start": "cd packages/dev-server && yarn start",
"test": "lerna run test --stream --no-bail",
"e2e": "lerna run e2e --stream --no-bail",
"build": "lerna run build",
"check-imports": "ts-node scripts/check-imports.ts",
"generate-changelog": "ts-node scripts/changelogs/generate-changelog.ts",
"publish-release": "lerna publish -m \"chore: Publish %s\" --no-push",
"publish-local": "lerna version --no-git-tag-version && cd scripts && ./publish-to-verdaccio.sh"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@graphql-codegen/add": "2.0.1",
"@graphql-codegen/cli": "1.17.8",
"@graphql-codegen/fragment-matcher": "1.17.8",
"@graphql-codegen/typescript": "1.17.9",
"@graphql-codegen/typescript-compatibility": "2.0.0",
"@graphql-codegen/typescript-operations": "1.17.8",
"@graphql-tools/schema": "^6.2.4",
"@types/graphql": "^14.0.5",
"@types/jest": "^26.0.14",
"@types/klaw-sync": "^6.0.0",
"@types/node": "^12.12.0",
"concurrently": "^5.3.0",
"conventional-changelog-core": "^4.2.0",
"find": "^0.3.0",
"graphql": "15.3.0",
"husky": "^4.3.0",
"jest": "^26.5.2",
"klaw-sync": "^6.0.0",
"lerna": "^3.22.1",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typescript": "4.0.3"
},
"resolutions": {
"npm-packlist": "1.1.12"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@types/jasmine",
"**/@types/jasminewd2",
"**/@angular*/**"
]
},
"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 check-imports && yarn build && yarn test && yarn e2e"
}
}
}