/
package.json
45 lines (45 loc) · 1.41 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
{
"private": true,
"workspaces": [
"scripts",
"src/*"
],
"engines": {
"node": ">=14.13.1",
"yarn": ">=1.0.0"
},
"dependencies": {},
"devDependencies": {
"@adeira/babel-preset-adeira": "^4.0.0",
"@adeira/eslint-config": "^6.7.2",
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"babel-jest": "^27.3.1",
"babel-loader": "^8.2.3",
"eslint": "^8.0.0",
"eslint-formatter-codeframe": "^7.32.1",
"flow-bin": "^0.164.0",
"glob": "^7.2.0",
"jest": "^27.3.1",
"jest-runner-eslint": "^1.0.0"
},
"jest": {
"testRegex": "/scripts/jest/dontRunJestDirectly\\.js$"
},
"scripts": {
"//": [
"Please do not add new scripts here. Use scripts section in your workspace instead."
],
"lint": "yarn run eslint-config-prettier src/js/src/invariant.js && yarn run prettier --check \"src/**/*.{md,css}\" --check \".github/**/*.{yml,yaml}\" && yarn run jest --config=.jest-eslint.config.js --changedSince=origin/master^",
"scanner": "yarn run jest --config src/monorepo-scanner/.jest.config.js",
"test": "yarn run flow --max-warnings=0 && yarn run lint && yarn run test-only --ci --colors && yarn run scanner",
"test-only": "src/monorepo-utils/bin/monorepo-run-tests.js"
},
"jest-runner-eslint": {
"cliOptions": {
"format": "codeframe",
"reportUnusedDisableDirectives": "error"
}
}
}