-
Notifications
You must be signed in to change notification settings - Fork 367
/
package.json
66 lines (66 loc) · 2.1 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "root",
"private": true,
"license": "Apache-2.0",
"workspaces": [
"packages/*",
"examples/sandbox"
],
"scripts": {
"start": "yarn --cwd examples/sandbox start",
"start-vue": "yarn --cwd examples/vue dev",
"start-docs": "cd ../docs.elastic.co/ && yarn init-docs && yarn dev",
"test": "lerna run test --stream --no-private",
"test-ci": "lerna run test-ci --stream --no-private",
"watch": "lerna exec --no-private -- yarn run watch",
"build": "lerna run build --no-private",
"prettier-check": "prettier --check --ignore-unknown '!**/build/**' --ignore-path .gitignore .",
"prettier-format": "prettier --write --ignore-unknown '!**/build/**' --ignore-path .gitignore .",
"lint": "eslint --ignore-path .gitignore . --ignore-pattern '**/node_modules/**' --ignore-pattern '**/build/**'",
"lint-fix": "yarn lint --fix",
"validate": "yarn prettier-check && yarn lint && yarn test && yarn build",
"validate-fix": "yarn prettier-format && yarn lint-fix && yarn test && yarn build",
"changed": "lerna changed",
"prepare": "husky install"
},
"devDependencies": {
"@types/enzyme": "^3.10.11",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"husky": ">=6",
"jest": "^27.4.7",
"lerna": "^4.0.0",
"lint-staged": ">=10",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"engines": {
"node": ">=18",
"yarn": "^1.2.0"
},
"resolutions": {
"react": "17.0.2",
"react-dom": "17.0.2"
},
"lint-staged": {
"*": [
"yarn prettier-format"
],
"*.{js,jsx,ts,tsx}": [
"yarn lint-fix"
]
}
}