forked from vendure-ecommerce/vendure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.3 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
94
{
"name": "vendure",
"version": "10.2.2",
"private": true,
"engines": {
"node": ">= 10.12.0 < 11 || >= 12.00"
},
"scripts": {
"watch": "lerna run watch --parallel",
"watch:core-common": "lerna run --scope @vendure/common --scope @vendure/core watch --parallel",
"lint": "yarn tslint --fix",
"format": "prettier --write --html-whitespace-sensitivity ignore",
"bootstrap": "lerna bootstrap",
"docs:generate-typescript-docs": "ts-node scripts/docs/generate-typescript-docs.ts",
"docs:generate-graphql-docs": "ts-node scripts/docs/generate-graphql-docs.ts --api=shop && ts-node scripts/docs/generate-graphql-docs.ts --api=admin",
"docs:update-build-info": "ts-node scripts/docs/update-build-info.ts",
"docs:build": "yarn docs:generate-graphql-docs && yarn docs:generate-typescript-docs && yarn docs:update-build-info",
"codegen": "tsc -p scripts/codegen/plugins && ts-node scripts/codegen/generate-graphql-types.ts",
"version": "yarn check-imports && yarn check-angular-versions && 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",
"check-angular-versions": "ts-node scripts/check-angular-versions.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": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@graphql-codegen/add": "2.0.2",
"@graphql-codegen/cli": "1.21.1",
"@graphql-codegen/fragment-matcher": "2.0.1",
"@graphql-codegen/typescript": "1.21.0",
"@graphql-codegen/typescript-compatibility": "2.0.1",
"@graphql-codegen/typescript-operations": "1.17.14",
"@graphql-tools/schema": "^6.2.4",
"@types/graphql": "^14.5.0",
"@types/jest": "^26.0.20",
"@types/klaw-sync": "^6.0.0",
"@types/node": "^14.14.31",
"concurrently": "^6.0.0",
"conventional-changelog-core": "^4.2.2",
"find": "^0.3.0",
"graphql": "15.5.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"klaw-sync": "^6.0.0",
"lerna": "^4.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"ts-jest": "^26.5.3",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"typescript": "4.1.5"
},
"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 check-angular-versions && yarn build && yarn test && yarn e2e"
}
}
}