forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.64 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "@patternfly/react-lerna-root",
"private": true,
"version": "0.0.0",
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
"repository": {
"type": "git",
"url": "https://github.com/patternfly/patternfly-react.git"
},
"engines": {
"node": ">=20.17.0"
},
"packageManager": "[email protected]",
"keywords": [
"react",
"patternfly",
"component",
"library"
],
"author": "Red Hat",
"license": "MIT",
"bugs": {
"url": "https://github.com/patternfly/patternfly-react/issues"
},
"homepage": "https://github.com/patternfly/patternfly-react#readme",
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-modules-commonjs": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.11.1",
"@octokit/rest": "^20.1.1",
"@rollup/plugin-commonjs": "^26.0.3",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "29.5.13",
"@types/node": "^20.16.9",
"@types/react": "^18.3.9",
"@types/react-dom": "^18.3.0",
"babel-jest": "^29.7.0",
"concurrently": "^8.2.2",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-markdown": "^5.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^6.3.0",
"fs-extra": "^11.2.0",
"glob": "^10.4.5",
"globals": "^15.9.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"lerna": "^8.1.8",
"lint-staged": "^15.2.10",
"mutation-observer": "^1.0.3",
"plop": "^4.0.1",
"prettier": "^3.3.3",
"publint": "^0.2.11",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^5.0.10",
"rollup": "^4.22.4",
"rollup-plugin-scss": "^4.0.0",
"rollup-plugin-svg": "^2.0.0",
"sass": "^1.79.3",
"surge": "^0.24.6",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"typescript": "^5.4.5",
"typescript-eslint": "^7.18.0"
},
"scripts": {
"build": "yarn clean && yarn build:generate && yarn build:esm && yarn build:cjs && yarn build:subpaths && yarn build:single:packages",
"build:cjs": "tsc --build --verbose packages/tsconfig.cjs.json",
"build:esm": "tsc --build --verbose packages/tsconfig.json",
"build:integration": "lerna run build --scope=demo-app-ts --stream",
"build:docs": "yarn workspace @patternfly/react-docs build:docs",
"build:generate": "lerna run generate --parallel --stream",
"build:subpaths": "lerna run subpaths --parallel --stream",
"build:umd": "lerna run build:umd --parallel --stream",
"build:single:packages": "lerna run build:single:packages",
"clean": "yarn clean:build && lerna run clean --parallel",
"clean:build": "rimraf .cache .eslintcache coverage",
"generate": "yarn plop",
"lint": "eslint . --cache --cache-strategy content",
"lint:all": "yarn lint:md && yarn lint:ts",
"lint:md": "eslint \"**/*.md\" --config eslint.config-md.mjs --cache --cache-strategy content --no-warn-ignored",
"lint:ts": "yarn lint packages/*/src",
"lint:tests": "yarn lint packages/*/src/components/*/__tests__/*.test.*",
"lint:publication": "yarn workspaces foreach --all --no-private --parallel exec publint --strict",
"postinstall": "ts-patch install -s && husky",
"serve:docs": "yarn workspace @patternfly/react-docs serve",
"serve:integration": "lerna run preview --scope=demo-app-ts",
"start": "yarn build && concurrently --kill-others \"yarn watch\" \"yarn workspace @patternfly/react-docs develop\"",
"start:cypress": "lerna run cypress:open",
"start:demo-app": "lerna run dev --scope=demo-app-ts --stream",
"test": "TZ=EST LC_ALL=en_US.UTF8 jest packages",
"test:a11y": "lerna run test:a11y --stream",
"test:integration": "yarn workspace @patternfly/react-integration test:integration",
"uninstall": "find . -name node_modules -type d | xargs rm -rf",
"watch": "yarn build:esm --watch",
"screenshots": "yarn workspace @patternfly/react-docs screenshots"
},
"lint-staged": {
"*.md": "yarn lint:md --fix",
"*.{js,jsx,ts,tsx}": "yarn lint --fix"
},
"workspaces": {
"packages": [
"packages/*",
"packages/react-integration/demo-app-ts"
]
}
}