117 lines
3.6 KiB
JSON
117 lines
3.6 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/eslint-parser": "^7.13.8",
|
|
"@babel/register": "^7.0.0",
|
|
"@commitlint/cli": "^18.2.0",
|
|
"@commitlint/config-conventional": "^18.1.0",
|
|
"@limegrass/eslint-plugin-import-alias": "^1.1.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": "^1.7.2",
|
|
"vue": "^2.7.14",
|
|
"vuepress": "^1.4.1"
|
|
},
|
|
"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 --"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "turbo run build --scope xo-server --scope xo-server-'*' --scope xo-web",
|
|
"build:xo-lite": "turbo run build --scope @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$)\"",
|
|
"docs:dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
|
|
"docs:build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
|
|
"prepare": "husky install",
|
|
"prettify": "prettier --ignore-path .gitignore --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 \"^(?!.*\\.integ\\.spec\\.js$)\" && scripts/run-script.js --bail test"
|
|
},
|
|
"workspaces": [
|
|
"@*/*",
|
|
"packages/*"
|
|
],
|
|
"packageManager": "yarn@1.22.19"
|
|
}
|