2017-01-10 12:21:59 +01:00
|
|
|
{
|
2017-01-10 15:54:29 +01:00
|
|
|
"devDependencies": {
|
2018-09-24 13:39:31 +02:00
|
|
|
"@babel/core": "^7.0.0",
|
|
|
|
|
"@babel/register": "^7.0.0",
|
2018-05-24 15:01:11 +02:00
|
|
|
"babel-core": "^7.0.0-0",
|
2018-10-02 11:36:05 +02:00
|
|
|
"babel-eslint": "^10.0.1",
|
2020-06-03 10:58:18 +02:00
|
|
|
"babel-jest": "^26.0.1",
|
2018-02-09 15:01:00 +01:00
|
|
|
"benchmark": "^2.1.4",
|
2020-08-10 11:07:05 +02:00
|
|
|
"eslint": "^7.6.0",
|
2019-07-04 16:01:07 +02:00
|
|
|
"eslint-config-prettier": "^6.0.0",
|
2020-06-03 10:58:18 +02:00
|
|
|
"eslint-config-standard": "^14.1.0",
|
2019-09-02 09:45:38 +02:00
|
|
|
"eslint-config-standard-jsx": "^8.1.0",
|
2019-04-19 16:27:11 +02:00
|
|
|
"eslint-plugin-eslint-comments": "^3.1.1",
|
2017-11-17 17:42:48 +01:00
|
|
|
"eslint-plugin-import": "^2.8.0",
|
2020-06-03 10:58:18 +02:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2018-08-28 20:29:29 +02:00
|
|
|
"eslint-plugin-promise": "^4.0.0",
|
2018-02-07 10:39:32 +01:00
|
|
|
"eslint-plugin-react": "^7.6.1",
|
2018-08-29 15:05:34 +02:00
|
|
|
"eslint-plugin-standard": "^4.0.0",
|
2017-10-28 13:23:56 +02:00
|
|
|
"exec-promise": "^0.7.0",
|
2020-08-10 11:07:05 +02:00
|
|
|
"flow-bin": "^0.131.0",
|
2020-06-03 10:58:18 +02:00
|
|
|
"globby": "^11.0.1",
|
2020-05-28 12:23:17 +02:00
|
|
|
"handlebars": "^4.7.6",
|
2020-06-03 10:58:18 +02:00
|
|
|
"husky": "^4.2.5",
|
|
|
|
|
"jest": "^26.0.1",
|
|
|
|
|
"lint-staged": "^10.2.7",
|
2017-11-21 14:54:51 +01:00
|
|
|
"lodash": "^4.17.4",
|
2020-06-03 10:58:18 +02:00
|
|
|
"prettier": "^2.0.5",
|
2019-12-21 13:36:55 +01:00
|
|
|
"promise-toolbox": "^0.15.0",
|
2020-05-21 11:46:24 +02:00
|
|
|
"sorted-object": "^2.0.1",
|
|
|
|
|
"vuepress": "^1.4.1"
|
2017-01-10 15:56:58 +01:00
|
|
|
},
|
2017-10-28 13:23:56 +02:00
|
|
|
"engines": {
|
2018-05-29 16:28:59 +02:00
|
|
|
"yarn": "^1.7.0"
|
2017-10-28 13:23:56 +02:00
|
|
|
},
|
2018-09-24 13:39:31 +02:00
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
2019-12-04 17:44:13 +01:00
|
|
|
"pre-commit": "lint-staged && scripts/lint-staged"
|
2018-09-24 13:39:31 +02:00
|
|
|
}
|
|
|
|
|
},
|
2017-11-08 12:05:03 +01:00
|
|
|
"jest": {
|
|
|
|
|
"collectCoverage": true,
|
2020-07-30 18:56:13 +02:00
|
|
|
"moduleNameMapper": {
|
2020-09-10 15:32:08 +02:00
|
|
|
"^(@vates/[^/]+)": "$1/src",
|
|
|
|
|
"^(@xen-orchestra/[^/]+)": "$1/src",
|
|
|
|
|
"^(value-matcher)": "$1/src",
|
|
|
|
|
"^(vhd-cli)": "$1/src",
|
|
|
|
|
"^(vhd-lib)": "$1/src",
|
|
|
|
|
"^(xo-[^/]+)": "$1/src"
|
2020-07-30 18:56:13 +02:00
|
|
|
},
|
2018-02-13 12:05:52 +01:00
|
|
|
"projects": [
|
2018-05-24 15:01:11 +02:00
|
|
|
"<rootDir>"
|
2018-02-13 12:05:52 +01:00
|
|
|
],
|
2017-11-08 12:05:03 +01:00
|
|
|
"testEnvironment": "node",
|
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
|
"/dist/",
|
2019-07-24 11:31:17 +02:00
|
|
|
"/xo-server-test/",
|
2018-02-07 14:43:14 +01:00
|
|
|
"/xo-web/"
|
2017-11-08 12:05:03 +01:00
|
|
|
],
|
2017-12-22 13:08:24 +01:00
|
|
|
"testRegex": "\\.spec\\.js$",
|
2019-09-19 13:52:29 +02:00
|
|
|
"timers": "fake",
|
2017-12-22 13:08:24 +01:00
|
|
|
"transform": {
|
|
|
|
|
"\\.jsx?$": "babel-jest"
|
|
|
|
|
}
|
2017-11-08 12:05:03 +01:00
|
|
|
},
|
2019-12-04 17:44:13 +01:00
|
|
|
"lint-staged": {
|
2020-06-03 10:58:18 +02:00
|
|
|
"*.{md,ts,ts}": "prettier --write"
|
2019-12-04 17:44:13 +01:00
|
|
|
},
|
2017-10-28 13:23:56 +02:00
|
|
|
"private": true,
|
2017-01-10 15:56:58 +01:00
|
|
|
"scripts": {
|
2017-12-27 10:01:56 +01:00
|
|
|
"build": "scripts/run-script --parallel build",
|
|
|
|
|
"clean": "scripts/run-script --parallel clean",
|
2018-02-15 15:20:06 +01:00
|
|
|
"dev": "scripts/run-script --parallel dev",
|
2018-03-27 09:39:36 -07:00
|
|
|
"dev-test": "jest --bail --watch \"^(?!.*\\.integ\\.spec\\.js$)\"",
|
2020-05-21 11:46:24 +02:00
|
|
|
"docs:dev": "vuepress dev docs",
|
|
|
|
|
"docs:build": "vuepress build docs",
|
2019-11-15 11:25:51 +01:00
|
|
|
"prettify": "prettier --ignore-path .gitignore --write '**/*.{js,jsx,md,mjs,ts,tsx}'",
|
2020-09-10 16:42:41 +02:00
|
|
|
"test": "npm run test-lint && npm run test-unit",
|
2018-10-30 10:57:26 +00:00
|
|
|
"test-integration": "jest \".integ\\.spec\\.js$\"",
|
2020-09-10 16:42:41 +02:00
|
|
|
"test-lint": "eslint --ignore-path .gitignore .",
|
|
|
|
|
"test-unit": "jest \"^(?!.*\\.integ\\.spec\\.js$)\" && scripts/run-script test",
|
2018-10-30 10:57:26 +00:00
|
|
|
"travis-tests": "scripts/travis-tests"
|
2017-10-28 13:23:56 +02:00
|
|
|
},
|
|
|
|
|
"workspaces": [
|
2020-05-29 15:08:33 +02:00
|
|
|
"@*/*",
|
2017-10-28 13:23:56 +02:00
|
|
|
"packages/*"
|
|
|
|
|
]
|
2017-01-10 12:21:59 +01:00
|
|
|
}
|