forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.93 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
{
"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": ">=14.0.0",
"yarn": ">=1.6.0"
},
"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.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.9.0",
"@octokit/rest": "^16.43.2",
"@types/enzyme": "3.9.0",
"@types/jest": "27.0.2",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.3.1",
"babel-jest": "^27.2.5",
"concurrently": "^5.3.0",
"enzyme": "3.10.0",
"enzyme-to-json": "3.4.0",
"eslint": "^7.11.0",
"eslint-plugin-markdown": "^1.0.2",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.4",
"fs-extra": "^6.0.1",
"glob": "^7.1.2",
"husky": "^4.3.0",
"jest": "27.2.5",
"jest-cli": "27.2.5",
"lerna": "^3.19.0",
"lint-staged": "^10.4.2",
"mutation-observer": "^1.0.3",
"plop": "^2.0.0",
"prettier": "^1.18.2",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"surge": "^0.21.3",
"ts-patch": "^1.4.2",
"typescript": "^4.0.0"
},
"scripts": {
"build": "yarn build:generate && yarn build:esm && yarn build:cjs",
"build:cjs": "tsc --build --verbose packages/tsconfig.cjs.json",
"build:esm": "tsc --build --verbose packages/tsconfig.json",
"build:integration": "lerna run build:demo-app --stream",
"build:docs": "yarn workspace @patternfly/react-docs build:docs",
"build:generate": "lerna run generate --parallel --stream",
"build:umd": "lerna run build:umd --parallel --stream",
"clean": "yarn clean:build && lerna run clean --parallel",
"clean:build": "rimraf .cache .eslintcache coverage",
"generate": "yarn plop",
"lint": "node --max-old-space-size=4096 node_modules/.bin/eslint --ext js,jsx,ts,tsx --cache",
"lint:all": "yarn lint:md && yarn lint:versions && yarn lint:ts",
"lint:md": "yarn eslint packages --ext md --no-eslintrc --config .eslintrc-md.json --cache",
"lint:ts": "yarn lint packages",
"lint:versions": "node scripts/verifyPatternflyVersions.js",
"prepare": "ts-patch install -s",
"serve:docs": "yarn workspace @patternfly/react-docs serve",
"serve:integration": "lerna run serve:demo-app",
"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 start:demo-app --stream",
"test": "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"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.md": "yarn lint:md --fix",
"*.{js,jsx,ts,tsx}": "yarn lint --fix",
"*.json": "yarn lint:versions --fix"
},
"workspaces": {
"packages": [
"packages/**"
]
}
}