-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
121 lines (121 loc) · 4.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
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
{
"name": "@patternfly/quickstarts-root",
"version": "0.0.0",
"description": "This library provides the quickstarts module",
"license": "MIT",
"private": true,
"workspaces": [
"packages/dev",
"packages/module"
],
"scripts": {
"build": "yarn workspace @patternfly/quickstarts build",
"build:quick": "yarn workspace @patternfly/quickstarts quick",
"build:docs": "yarn build && yarn workspace @patternfly/quickstarts docs:build",
"start": "yarn workspace @patternfly/quickstarts-dev start",
"start:docs": "yarn build && yarn workspace @patternfly/quickstarts docs:develop",
"watch": "yarn build && concurrently --kill-others \"yarn workspace @patternfly/quickstarts watch\" \"yarn start\"",
"watch:quick": "yarn build:quick && concurrently --kill-others \"yarn workspace @patternfly/quickstarts watch\" \"yarn start\"",
"dev:build": "yarn workspace @patternfly/quickstarts-dev build",
"dev:serve": "yarn workspace @patternfly/quickstarts-dev serve",
"docs:serve": "yarn workspace @patternfly/quickstarts docs:serve",
"test": "LANG=en_US.UTF-8 jest",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx --color",
"lint": "yarn lint:module && yarn lint:dev",
"lint:module": "NODE_OPTIONS=--max-old-space-size=4096 yarn eslint packages/module",
"lint:dev": "NODE_OPTIONS=--max-old-space-size=4096 yarn eslint packages/dev",
"test:a11y": "patternfly-a11y --config patternfly-a11y.config"
},
"devDependencies": {
"@patternfly/patternfly-a11y": "^4.3.1",
"@types/jest": "^26.0.14",
"@types/lodash-es": "^4.17.7",
"@typescript-eslint/eslint-plugin": "5.59.6",
"@typescript-eslint/parser": "5.59.6",
"concurrently": "^5.3.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "8.40.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-patternfly-react": "^4.80.4",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sort-class-members": "1.18.0",
"jest": "21.x",
"jest-resolve": "^26.4.0",
"jsdom": "^16.6.0",
"mock-socket": "^9.0.3",
"schema-utils": "4.0.1",
"start-server-and-test": "^1.14.0",
"ts-jest": "21.x",
"typescript": "5.0.4",
"url-search-params-polyfill": "2.x"
},
"resolutions": {
"chromedriver": "^104"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx",
"json",
"gql",
"graphql"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js",
"^@console/shared(.*)$": "<rootDir>/packages/module/src/ConsoleShared$1",
"^@console/internal(.*)$": "<rootDir>/packages/module/src/ConsoleInternal$1",
"^@quickstarts(.*)$": "<rootDir>/packages/module/src$1"
},
"transform": {
"^.+\\.(ts|tsx|js|jsx)$": "./node_modules/ts-jest/preprocessor.js"
},
"transformIgnorePatterns": [
"node_modules/(?!(lodash-es|@console|@novnc|@spice-project|@popperjs|i18next|@patternfly\\S*?)/.*)"
],
"testPathIgnorePatterns": [
"node_modules"
],
"testRegex": ".*\\.spec\\.(ts|tsx|js|jsx)$",
"testURL": "http://localhost",
"setupFiles": [
"./__mocks__/localStorage.ts",
"./__mocks__/matchMedia.js",
"./__mocks__/serverFlags.js",
"./__mocks__/mutationObserver.js",
"./__mocks__/websocket.js",
"./before-tests.js"
],
"coverageDirectory": "__coverage__",
"coverageReporters": [
"json",
"lcov",
"text",
"text-summary"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!**/node_modules/**"
],
"resolver": "./jest-resolver.js"
},
"engines": {
"node": ">=18.0.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}