-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
127 lines (127 loc) · 6.36 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
{
"name": "@pega/react-sdk-components",
"version": "24.2.10",
"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?",
"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.13.3",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5.16.7",
"@mui/lab": "^5.0.0-alpha.173",
"@mui/material": "^5.16.7",
"@mui/styles": "^5.16.7",
"@mui/x-date-pickers": "^7.20.0",
"@pega/auth": "~0.2.15",
"@tinymce/tinymce-react": "^5.1.1",
"clsx": "^2.1.0",
"dayjs": "^1.11.13",
"downloadjs": "^1.4.7",
"fast-deep-equal": "^3.1.3",
"lodash.difference": "^4.5.0",
"mui-tel-input": "^6.0.1",
"react": "^17.0.2",
"react-datepicker": "^4.25.0",
"react-dom": "^17.0.2",
"react-number-format": "^5.4.2",
"react-redux": "^8.1.3",
"react-router-dom": "^6.22.3",
"throttle-debounce": "^5.0.2"
},
"devDependencies": {
"@pega/configs": "^0.7.1",
"@pega/constellationjs": "~0.242.5",
"@pega/eslint-config": "^0.7.2",
"@pega/pcore-pconnect-typedefs": "~3.0.0",
"@pega/tsconfig": "^0.6.0",
"@playwright/test": "^1.40.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@types/react": "^17.0.83",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"babel-loader": "^9.1.3",
"commitlint": "^18.4.4",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"cspell": "^8.3.2",
"css-loader": "^6.9.0",
"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",
"html-webpack-plugin": "^5.6.0",
"http-server": "^14.1.1",
"istanbul": "^0.4.5",
"istanbul-instrumenter-loader": "^3.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"json5": ">=2.2.3",
"monocart-reporter": "^2.2.1",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"prettier": "^3.1.1",
"prop-types": "^15.8.1",
"replace-in-file": "^7.1.0",
"sass-loader": "^13.3.3",
"shx": "^0.3.4",
"style-loader": "^3.3.4",
"stylelint": "^16.1.0",
"tinymce": "^7.3.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"typescript": "^4.9.5",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
}
}