-
Notifications
You must be signed in to change notification settings - Fork 265
/
package.json
118 lines (118 loc) · 3.7 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
109
110
111
112
113
114
115
116
117
118
{
"name": "xen-orchestra",
"version": "0.0.0",
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/eslint-parser": "^7.13.8",
"@babel/register": "^7.0.0",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@intlify/eslint-plugin-vue-i18n": "^3.0.0",
"@limegrass/eslint-plugin-import-alias": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"@vates/async-each": "^1.0.0",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"babel-jest": "^29.0.3",
"benchmark": "^2.1.4",
"eslint": "^8.7.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-jsx": "^11.0.0-1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-custom-alias": "^1.3.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-vue": "^9.19.2",
"exec-promise": "^0.7.0",
"getopts": "^2.3.0",
"globby": "^13.1.1",
"handlebars": "^4.7.6",
"husky": "^8.0.2",
"jest": "^29.0.3",
"lint-staged": "^15.0.2",
"lodash": "^4.17.4",
"prettier": "^3.0.1",
"promise-toolbox": "^0.21.0",
"semver": "^7.3.6",
"sorted-object": "^2.0.1",
"turbo": "^2.0.3",
"vue-eslint-parser": "^9.4.3"
},
"engines": {
"node": ">=14",
"yarn": "^1.7.0"
},
"jest": {
"moduleNameMapper": {
"^(@vates/[^/]+)$": [
"$1/src",
"$1"
],
"^(@xen-orchestra/[^/]+)$": [
"$1/src",
"$1"
],
"^(value-matcher)$": "$1/src",
"^(vhd-cli)$": "$1/src",
"^(xo-[^/]+)$": [
"$1/src",
"$1"
]
},
"projects": [
"<rootDir>"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/@vates/decorate-with/",
"/@vates/event-listeners-manager/",
"/@vates/nbd-client/",
"/@vates/node-vsphere-soap/",
"/@vates/predicates/",
"/@xen-orchestra/audit-core/",
"/dist/",
"/xen-api/",
"/xo-server/",
"/xo-server-test/",
"/xo-web/"
],
"testRegex": "\\.spec\\.js$"
},
"lint-staged": {
"*": [
"scripts/run-changed-pkgs.js test",
"prettier --ignore-unknown --write"
],
"*.{{{,c,m}j,t}s{,x},vue}": [
"eslint",
"jest --testRegex='^(?!.*.integ.spec.js$).*.spec.js$' --findRelatedTests --passWithNoTests"
],
".USAGE.md": "scripts/usage-to-readme.js --git-add",
"./CHANGELOG.unreleased.md": "sh -c 'scripts/gen-deps-list.js --check-order' --"
},
"private": true,
"scripts": {
"build": "TURBO_TELEMETRY_DISABLED=1 turbo run build --filter xo-server --filter xo-server-'*' --filter xo-web",
"build:xo-lite": "turbo run build --filter @xen-orchestra/lite",
"clean": "scripts/run-script.js --parallel clean",
"dev": "scripts/run-script.js --parallel --concurrency 0 --verbose dev",
"dev-test": "jest --bail --watch \"^(?!.*\\.integ\\.spec\\.js$)\"",
"prepare": "husky install",
"prettify": "prettier --ignore-unknown --write .",
"test": "npm run test-lint && npm run test-unit",
"test-integration": "jest \".integ\\.spec\\.js$\" && scripts/run-script.js --parallel test-integration",
"test-lint": "eslint --ignore-path .gitignore --ignore-pattern packages/xo-web .",
"test-unit": "jest --passWithNoTests \"^(?!.*\\.integ\\.spec\\.js$)\" && scripts/run-script.js --bail test"
},
"workspaces": [
"@*/*",
"packages/*"
],
"packageManager": "[email protected]"
}