forked from vendure-ecommerce/vendure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.92 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "vendure",
"version": "0.0.0",
"private": true,
"engines": {
"node": ">= 18"
},
"scripts": {
"watch": "lerna run watch --parallel",
"watch:core-common": "lerna run --scope @vendure/common --scope @vendure/core watch --parallel",
"lint": "eslint --fix",
"format": "prettier --write --html-whitespace-sensitivity ignore",
"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:build": "npm run docs:generate-typescript-docs && npm run docs:generate-graphql-docs",
"codegen": "tsc -p scripts/codegen/plugins && ts-node scripts/codegen/generate-graphql-types.ts",
"version": "npm run check-imports && npm run check-angular-versions && npm run build && npm run check-core-type-defs && npm run generate-changelog && git add CHANGELOG* && git add */version.ts",
"dev-server:start": "cd packages/dev-server && npm run 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-core-type-defs": "ts-node scripts/check-core-type-defs.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 --force-publish",
"publish-prerelease": "lerna publish -m \"chore: Pre-release %s\" prerelease --exact --no-push --force-publish --preid next --dist-tag next",
"publish-local": "lerna version --force-publish --no-git-tag-version && cd scripts && ./publish-to-verdaccio.sh"
},
"devDependencies": {
"@commitlint/cli": "^19.1.0",
"@commitlint/config-conventional": "^19.1.0",
"@graphql-codegen/add": "5.0.2",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/fragment-matcher": "5.0.2",
"@graphql-codegen/typed-document-node": "^5.0.6",
"@graphql-codegen/typescript": "4.0.9",
"@graphql-codegen/typescript-operations": "4.2.3",
"@graphql-tools/schema": "^10.0.4",
"@swc/core": "^1.4.6",
"@types/klaw-sync": "^6.0.5",
"@types/node": "^20.11.19",
"concurrently": "^8.2.2",
"conventional-changelog-core": "^7.0.0",
"cross-env": "^7.0.3",
"find": "^0.3.0",
"graphql": "~16.9.0",
"husky": "^4.3.0",
"klaw-sync": "^6.0.0",
"lerna": "^8.1.2",
"lint-staged": "^10.5.4",
"prettier": "^3.2.5",
"rollup": "^4.18.0",
"tinybench": "^2.6.0",
"ts-node": "^10.9.2",
"typescript": "5.3.3",
"unplugin-swc": "^1.4.4",
"vitest": "^1.3.1"
},
"//": "Fix for https://github.com/npm/cli/issues/4828",
"optionalDependencies": {
"@nx/nx-darwin-arm64": "17.2.8",
"@nx/nx-darwin-x64": "17.2.8",
"@nx/nx-linux-x64-gnu": "17.2.8",
"@nx/nx-win32-x64-msvc": "17.2.8",
"@rollup/rollup-linux-x64-gnu": "^4.13.0",
"@swc/core-linux-x64-gnu": "1.4.7"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@types/jasmine",
"**/@types/jasminewd2"
]
},
"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": "NODE_OPTIONS=\"--max-old-space-size=8096\" lint-staged"
}
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^45.0.0",
"eslint-plugin-prefer-arrow": "^1.2.3"
}
}