-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
184 lines (184 loc) · 8.18 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "react-sdk",
"version": "23.1.10",
"private": true,
"scripts": {
"_comment_SDK_install_build_run_commands": "The following are public commands to clean, install, build, and run the SDK",
"build:dev": "npm run _internal-check-node-version && run-p -l fix _internal-build-dev-only",
"build:dev:ci": "npm run _internal-check-node-version && npm run clean && npm run _internal-install-sdk && npm run build:dev",
"build:prod": "npm run _internal-check-node-version && run-p -l fix _internal-build-prod-only",
"build:prod:ci": "npm run _internal-check-node-version && npm run clean && npm run _internal-install-sdk && npm run build:prod",
"start-dev": "webpack serve",
"start-dev-https": "webpack serve --https",
"start-prod": "http-server ./dist --port 3502 --gzip --brotli --cors --proxy http://localhost:3502?",
"start-prod-https": "http-server ./dist --port 3502 --gzip --brotli --cors --ssl --cert private.pem --key private.key --proxy https://localhost:3502?",
"clean": "echo \"cleaning...\" && npx shx --yes rm -rf ./dist/** ./node_modules",
"lint": "run-p -cl lint:*",
"lint:es": "eslint --color --cache --cache-location node_modules/.cache/eslint/ \"src/**\"",
"lint:format": "prettier --log-level warn -c .",
"fix": "run-s -cl fix:*",
"fix:es": "eslint --color --fix --cache --cache-location node_modules/.cache/eslint/ \"src/**\"",
"fix:format": "prettier --log-level warn -w .",
"_comment_DXCB_commands": "The following are public commands to run the integrated DX Component Builder",
"authenticate": "dx-component-builder-sdk authenticate",
"buildAllComponents": "dx-component-builder-sdk buildAllComponents",
"buildComponent": "dx-component-builder-sdk buildComponent",
"clearMap": "dx-component-builder-sdk clearMap",
"create": "dx-component-builder-sdk create",
"createAll": "dx-component-builder-sdk createAll",
"delete": "dx-component-builder-sdk delete",
"deleteAll": "dx-component-builder-sdk deleteAll",
"list": "dx-component-builder-sdk list",
"mapAll": "dx-component-builder-sdk mapAll",
"override": "dx-component-builder-sdk override",
"overrideAll": "dx-component-builder-sdk overrideAll",
"publish": "dx-component-builder-sdk publish",
"publishAll": "dx-component-builder-sdk publishAll",
"rename": "dx-component-builder-sdk rename",
"scanAndFix": "dx-component-builder-sdk scanAndFix",
"storybookSDK": "storybook dev --port 6040",
"storybookConstellation": "STORYBOOK_CONSTELLATION=true storybook dev --port 6050",
"_comment_SDK_public_SDK_test_commands": "The following are public commands used for testing the SDK",
"test:functional": "jest --runInBand tests/functional/dxcb --detectOpenHandles --coverage",
"test": "node ./scripts/playwright-message.js && playwright test --project=chromium MediaCo/portal MediaCo/embedded",
"test:headed": "playwright test --headed --project=chromium MediaCo/portal MediaCo/embedded",
"test-report": "playwright show-report tests/playwright-report",
"_comment_internal_SDK_scripts": "The following commands are for internal use and are intended to be called only from public scripts above",
"_internal-build-dev-only": "echo \"building...\" && webpack --mode=development && npm run _internal-copy-index",
"_internal-build-prod-only": "echo \"building...\" && webpack --mode=production && npm run _internal-copy-index",
"_internal-check-node-version": "node scripts/check-node-version",
"_internal-copy-index": "shx cp dist/index.html dist/simpleportal.html && shx cp dist/index.html dist/portal.html && shx cp dist/index.html dist/fullportal.html && shx cp dist/index.html dist/embedded.html",
"_internal-install-sdk": "echo \"installing...\" && npm install --loglevel notice",
"_internal-test-functional": "npm run test:functional:local:sdk-r --prefix node_modules/@pega/dx-component-builder-sdk"
},
"dependencies": {
"@date-io/dayjs": "^1.3.13",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@material-ui/pickers": "^3.3.10",
"@pega/auth": "^0.2.9",
"@pega/cosmos-react-condition-builder": "^4.2.0",
"@pega/cosmos-react-core": "^4.2.0",
"@pega/cosmos-react-work": "^4.2.0",
"@pega/react-sdk-components": "~23.1.11",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-progress": "^1.0.3",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@storybook/react-webpack5": "^7.6.7",
"@tinymce/tinymce-react": "^4.3.2",
"@types/styled-components": "^5.1.34",
"@unicef/material-ui-currency-textfield": "^0.8.6",
"class-variance-authority": "^0.7.0",
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"date-fns": "^3.6.0",
"dayjs": "^1.11.10",
"downloadjs": "^1.4.7",
"embla-carousel-autoplay": "^8.0.4",
"embla-carousel-react": "^8.0.2",
"fast-deep-equal": "^3.1.3",
"lodash.difference": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"lucide": "^0.378.0",
"lucide-react": "^0.376.0",
"material-ui-phone-number": "^2.2.6",
"react": "^17.0.2",
"react-datepicker": "^4.25.0",
"react-day-picker": "^8.10.1",
"react-dom": "^17.0.2",
"react-redux": "^7.2.4",
"react-router-dom": "^5.3.4",
"styled-components": "^6.1.8",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"throttle-debounce": "^5.0.0",
"usehooks-ts": "^3.1.0"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@kooneko/livereload-webpack-plugin": "^1.2.1",
"@loadable/component": "^5.16.3",
"@pega/configs": "^0.6.0",
"@pega/constellationjs": "~23.1.1",
"@pega/cspell-config": "^0.7.1",
"@pega/dx-component-builder-sdk": "~23.1.14",
"@pega/eslint-config": "^0.7.1",
"@pega/pcore-pconnect-typedefs": "~2.1.1",
"@pega/prettier-config": "^0.6.0",
"@pega/react-sdk-overrides": "~23.1.11",
"@pega/stylelint-config": "^0.7.1",
"@pega/tsconfig": "^0.7.1",
"@playwright/test": "^1.40.1",
"@storybook/addon-actions": "^7.6.7",
"@storybook/addon-essentials": "^7.6.7",
"@storybook/addon-knobs": "^7.0.2",
"@storybook/addon-links": "^7.6.7",
"@storybook/addon-storysource": "^7.6.7",
"@storybook/builder-webpack5": "^7.6.7",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^7.6.7",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@types/lodash.isequal": "^4.5.8",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"caniuse-lite": "^1.0.30001576",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"cspell": "^8.3.2",
"css-loader": "^6.8.1",
"eslint": "^8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.2",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-storybook": "^0.6.15",
"fast-glob": "^3.3.2",
"file-loader": "^6.2.0",
"glob-parent": "^6.0.2",
"html-webpack-plugin": "^5.6.0",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-quick-run": "^1.18.0",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"prettier": "^3.1.1",
"prop-types": "^15.8.1",
"sass-loader": "^13.3.3",
"shx": "^0.3.4",
"storybook": "^7.6.7",
"style-loader": "^3.3.4",
"stylelint": "^16.1.0",
"tailwindcss": "^3.4.3",
"tinymce": "^6.8.2",
"trim-newlines": "^5.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"typescript": "^4.9.5",
"update-browserslist-db": "^1.0.13",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"browser": {
"[module-name]": false
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}