89 lines
2.4 KiB
JSON
89 lines
2.4 KiB
JSON
{
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/register": "^7.0.0",
|
|
"babel-core": "^7.0.0-0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-jest": "^26.0.1",
|
|
"benchmark": "^2.1.4",
|
|
"eslint": "^7.6.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"eslint-config-standard": "^14.1.0",
|
|
"eslint-config-standard-jsx": "^8.1.0",
|
|
"eslint-plugin-eslint-comments": "^3.1.1",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.0.0",
|
|
"eslint-plugin-react": "^7.6.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"exec-promise": "^0.7.0",
|
|
"flow-bin": "^0.131.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.15.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": {
|
|
"collectCoverage": true,
|
|
"moduleNameMapper": {
|
|
"^.": "./src",
|
|
"^(@vates/[^/]+)": "$1/src",
|
|
"^(@xen-orchestra/[^/]+)": "$1/src",
|
|
"^(value-matcher)": "$1/src",
|
|
"^(vhd-cli)": "$1/src",
|
|
"^(vhd-lib)": "$1/src",
|
|
"^(xo-[^/]+)": "$1/src"
|
|
},
|
|
"projects": [
|
|
"<rootDir>"
|
|
],
|
|
"testEnvironment": "node",
|
|
"testPathIgnorePatterns": [
|
|
"/dist/",
|
|
"/xo-server-test/",
|
|
"/xo-web/"
|
|
],
|
|
"testRegex": "\\.spec\\.js$",
|
|
"timers": "fake",
|
|
"transform": {
|
|
"\\.jsx?$": "babel-jest"
|
|
}
|
|
},
|
|
"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/*"
|
|
]
|
|
}
|