It was not used nor maintained by XO devs, and was causing issues with editors. JSDoc or TypeScript should be used instead.
90 lines
2.3 KiB
JSON
90 lines
2.3 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/eslint-parser": "^7.13.8",
|
|
"@babel/register": "^7.0.0",
|
|
"babel-jest": "^26.0.1",
|
|
"benchmark": "^2.1.4",
|
|
"eslint": "^7.6.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-config-standard": "^16.0.2",
|
|
"eslint-config-standard-jsx": "^10.0.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"exec-promise": "^0.7.0",
|
|
"globby": "^11.0.1",
|
|
"handlebars": "^4.7.6",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.0.1",
|
|
"lint-staged": "^10.2.7",
|
|
"lodash": "^4.17.4",
|
|
"prettier": "^2.0.5",
|
|
"promise-toolbox": "^0.19.0",
|
|
"sorted-object": "^2.0.1",
|
|
"vuepress": "^1.4.1"
|
|
},
|
|
"engines": {
|
|
"yarn": "^1.7.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && scripts/lint-staged"
|
|
}
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"^(@vates/[^/]+)$": [
|
|
"$1/src",
|
|
"$1"
|
|
],
|
|
"^(@xen-orchestra/[^/]+)$": [
|
|
"$1/src",
|
|
"$1"
|
|
],
|
|
"^(value-matcher)$": "$1/src",
|
|
"^(vhd-cli)$": "$1/src",
|
|
"^(vhd-lib)$": "$1/src",
|
|
"^(xo-[^/]+)$": [
|
|
"$1/src",
|
|
"$1"
|
|
]
|
|
},
|
|
"projects": [
|
|
"<rootDir>"
|
|
],
|
|
"testEnvironment": "node",
|
|
"testPathIgnorePatterns": [
|
|
"/dist/",
|
|
"/xo-server-test/",
|
|
"/xo-web/"
|
|
],
|
|
"testRegex": "\\.spec\\.js$",
|
|
"timers": "fake"
|
|
},
|
|
"lint-staged": {
|
|
"*.{md,ts,ts}": "prettier --write"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "scripts/run-script --parallel build",
|
|
"clean": "scripts/run-script --parallel clean",
|
|
"dev": "scripts/run-script --parallel dev",
|
|
"dev-test": "jest --bail --watch \"^(?!.*\\.integ\\.spec\\.js$)\"",
|
|
"docs:dev": "vuepress dev docs",
|
|
"docs:build": "vuepress build docs",
|
|
"prettify": "prettier --ignore-path .gitignore --write '**/*.{js,jsx,md,mjs,ts,tsx}'",
|
|
"test": "npm run test-lint && npm run test-unit",
|
|
"test-integration": "jest \".integ\\.spec\\.js$\"",
|
|
"test-lint": "eslint --ignore-path .gitignore .",
|
|
"test-unit": "jest \"^(?!.*\\.integ\\.spec\\.js$)\" && scripts/run-script test",
|
|
"travis-tests": "scripts/travis-tests"
|
|
},
|
|
"workspaces": [
|
|
"@*/*",
|
|
"packages/*"
|
|
]
|
|
}
|