-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 6.47 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 6.47 KB
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
{
"name": "@pega/react-sdk-components",
"version": "25.1.11",
"description": "React SDK packaging: bridge and components, overrides",
"main": "index.ts",
"scripts": {
"build-sdk-complete": "run-p -l lint build-sdk",
"prebuild-sdk": "npm run delete-tsbuildinfo && npm run clear-lib && npm run prepare-code-for-compilation",
"build-sdk": "npm run compile-ts",
"postbuild-sdk": "npm run copy-static-files-to-lib && npm run edit-pega-components-map && npm run copy-doc-files-to-lib && npm run copy-local-component-map-to-lib && npm run copy-types-to-lib && node ./scripts/copy-npm-assets-to-components.js",
"pack-sdk": "npm pack ./packages/react-sdk-components",
"prebuild-overrides": "shx rm -rf ./packages/react-sdk-overrides/lib && shx cp -r ./packages/react-sdk-components/src/components ./packages/react-sdk-overrides/lib",
"build-overrides": "node scripts/build-overrides",
"postbuild-overrides": "node ./scripts/copy-npm-assets-to-overrides.js && echo build-overrides completed",
"ci": "npm run clean && npm install",
"clean": "npx shx --yes rm -rf ./node_modules ./dist && npm run clear-lib",
"delete-tsbuildinfo": "rm -f packages/react-sdk-components/*.*.tsbuildinfo",
"clear-lib": "npx shx --yes rm -rf ./lib packages/react-sdk-components/lib",
"prepare-code-for-compilation": "node scripts/build-exports.js",
"compile-ts": "tsc -b tsconfig.build.json",
"copy-static-files-to-lib": "node scripts/copy-static-to-lib.js",
"copy-doc-files-to-lib": "shx mkdir -p ./packages/react-sdk-components/lib/doc && shx cp -r ./packages/react-sdk-components/doc ./packages/react-sdk-components/lib",
"copy-local-component-map-to-lib": "shx cp ./packages/react-sdk-components/sdk-local-component-map.js ./packages/react-sdk-components/lib",
"copy-types-to-lib": "shx mkdir -p ./packages/react-sdk-components/lib/types && shx cp -r ./packages/react-sdk-components/src/types ./packages/react-sdk-components/lib",
"edit-pega-components-map": "node scripts/edit-pega-components-map-in-lib.js",
"lint": "run-p -cl lint:*",
"lint:es": "eslint --color --cache --cache-location node_modules/.cache/eslint/ \"packages/react-sdk-components/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/ \"packages/react-sdk-components/src/**\"",
"fix:format": "prettier --log-level warn -w .",
"build-dev-only": "webpack --mode=development && npm run _internal-copy-index",
"build-prod-only": "webpack --mode=production && npm run _internal-copy-index",
"build:dev": "run-p -l lint build-dev-only",
"build:dev:ci": "npm run ci && npm run build:dev",
"build:prod": "run-p -l lint build-prod-only",
"build:prod:ci": "npm run ci && npm run build:prod",
"start-dev": "webpack serve --mode=development",
"start-dev-https": "webpack serve --server-type https --mode=development",
"start-prod": "http-server ./dist --port 3502 --ext html -c-1 --gzip --brotli --cors --proxy http://localhost:3502?",
"start-prod-https": "http-server ./dist --port 3502 --ext html -c-1 --gzip --brotli --cors --ssl --cert ./keys/sdk-r.crt --key ./keys/sdk-r.key --proxy https://localhost:3502?",
"create_and_install_sdk_packages": "node scripts/update-dependencies.js",
"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",
"test-jest": "jest --watchAll",
"test-jest-coverage": "jest --watchAll --coverage",
"_comment_internal_SDK_scripts": "The following commands are for internal use and are intended to be called only from public scripts above",
"_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"
},
"author": "Pegasystems",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^6.5.0",
"@mui/lab": "^6.0.1-beta.36",
"@mui/material": "^6.5.0",
"@mui/styles": "^6.5.0",
"@mui/x-date-pickers": "^7.29.4",
"@pega/auth": "~0.2.34",
"@react-google-maps/api": "^2.20.7",
"@tinymce/tinymce-react": "^6.3.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.13",
"downloadjs": "^1.4.7",
"fast-deep-equal": "^3.1.3",
"lodash.clonedeep": "^4.5.0",
"lodash.difference": "^4.5.0",
"mui-tel-input": "^8.0.1",
"react": "^18.3.1",
"react-datepicker": "^7.6.0",
"react-dom": "^18.3.1",
"react-number-format": "^5.4.4",
"react-redux": "^8.1.3",
"react-router": "^7.8.0",
"throttle-debounce": "^5.0.2"
},
"devDependencies": {
"@pega/configs": "^0.17.0",
"@pega/constellationjs": "~25.1.0",
"@pega/pcore-pconnect-typedefs": "~4.1.0",
"@playwright/test": "^1.54.2",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.1.2",
"@types/jest": "^30.0.0",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"babel-loader": "^10.0.0",
"commitlint": "^18.4.4",
"compression-webpack-plugin": "^11.1.0",
"copy-webpack-plugin": "^13.0.1",
"cspell": "^8.3.2",
"css-loader": "^7.1.2",
"eslint": "^9.36.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-sonarjs": "^4.0.2",
"eslint-plugin-storybook": "^10.2.19",
"html-webpack-plugin": "^5.6.4",
"http-server": "^14.1.1",
"istanbul": "^0.4.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.3.0",
"json5": ">=2.2.3",
"monocart-reporter": "^2.9.21",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"prettier": "^3.6.2",
"prop-types": "^15.8.1",
"replace-in-file": "^7.2.0",
"sass-loader": "^16.0.5",
"shx": "^0.4.0",
"style-loader": "^4.0.0",
"stylelint": "^16.23.1",
"tinymce": "^6.8.6",
"ts-jest": "^29.4.1",
"ts-loader": "^9.5.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.45.0",
"webpack": "^5.101.2",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
},
"overrides": {
"serialize-javascript": "^7.0.3"
}
}