-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 7.39 KB
/
package.json
File metadata and controls
161 lines (161 loc) · 7.39 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
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
{
"name": "@internal/react-composites",
"version": "1.26.0-beta.1",
"description": "Complete Azure Communication Services experiences",
"module": "dist/dist-esm/index.js",
"main": "dist/dist-cjs/index.js",
"types": "dist/dist-esm/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"babel:prod": "babel ./src --out-dir src-public --extensions \".ts,.tsx\" --keep-file-extension",
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "copyfiles -u 1 src/**/assets/**/* dist/dist-esm && npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc) ",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"tsc:e2e": "tsc -project tests/tsconfig.json",
"build:e2e": "rushx _by-flavor \"rushx build:e2e:call && rushx build:e2e:chat && rushx build:e2e:callwithchat\"",
"build:e2e:call": "rushx _by-flavor \"webpack-cli build --config ./tests/app/call/webpack.config.js --mode=production --env production\"",
"build:e2e:chat": "rushx _by-flavor \"webpack-cli build --config ./tests/app/chat/webpack.config.js --mode=production --env production\"",
"build:e2e:callwithchat": "rushx _by-flavor \"webpack-cli build --config ./tests/app/callwithchat/webpack.config.js --mode=production --env production\"",
"test": "rushx _by-flavor \"rushx _test:by-flavor\"",
"test:ci-coverage": "rushx _by-flavor \"rushx _test:by-flavor --coverage\"",
"test:coverage": "rushx _by-flavor \"rushx _test:by-flavor --coverage --coverageReporters=lcov\"",
"test:e2e": "node ./scripts/runBrowserTests.mjs",
"test:e2e:call": "node ./scripts/runBrowserTests.mjs -c call",
"test:e2e:chat": "node ./scripts/runBrowserTests.mjs -c chat",
"test:e2e:callwithchat": "node ./scripts/runBrowserTests.mjs -c callWithChat",
"test:e2e:update": "node ./scripts/runBrowserTests.mjs -u",
"test:e2e:call:update": "node ./scripts/runBrowserTests.mjs -u -c call",
"test:e2e:chat:update": "node ./scripts/runBrowserTests.mjs -u -c chat",
"test:e2e:callwithchat:update": "node ./scripts/runBrowserTests.mjs -u -c callWithChat",
"snapshot:update": "rushx test -- --update-snapshot",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
"prettier": "prettier --no-error-on-unmatched-pattern --write --config ../../.prettierrc --ignore-path=../../.prettierignore \"**/*.js\" \"**/*.jsx\" \"**/*.ts\" \"**/*.tsx\"",
"prettier:check": "prettier --no-error-on-unmatched-pattern --check --config ../../.prettierrc --ignore-path=../../.prettierignore \"**/*.js\" \"**/*.jsx\" \"**/*.ts\" \"**/*.tsx\"",
"lint": "eslint --max-warnings 0 \"*/**/*.{ts,tsx}\"",
"lint:fix": "rushx lint --fix --",
"lint:quiet": "rushx lint -- --quiet",
"_if-preprocess": "if-env COMMUNICATION_REACT_FLAVOR=stable || if-env COMMUNICATION_REACT_FLAVOR=beta-release",
"_if-beta": "if-env COMMUNICATION_REACT_FLAVOR=beta || if-env COMMUNICATION_REACT_FLAVOR=beta-release",
"_build:by-flavor": "rushx clean && rushx build:esm && rushx build:cjs",
"_by-flavor": "rushx _current-flavor && env-cmd -f ../../common/config/env/.env --use-shell",
"_current-flavor": "echo You are running under COMMUNICATION_REACT_FLAVOR: && env-cmd -f ../../common/config/env/.env node -p process.env.COMMUNICATION_REACT_FLAVOR",
"_test:by-flavor": "(npm run _if-preprocess && rushx preprocess || if-env COMMUNICATION_REACT_FLAVOR=beta && echo \"skip preprocess\") && jest"
},
"license": "MIT",
"dependencies": {
"@azure/communication-common": "^2.3.1",
"@azure/core-paging": "^1.5.0",
"@azure/core-rest-pipeline": "^1.13.0",
"@azure/logger": "^1.0.4",
"@fluentui/react-file-type-icons": "8.12.8",
"@fluentui/react-hooks": "^8.8.17",
"@internal/acs-ui-common": "1.26.0-beta.1",
"@internal/calling-component-bindings": "1.26.0-beta.1",
"@internal/calling-stateful-client": "1.26.0-beta.1",
"@internal/chat-component-bindings": "1.26.0-beta.1",
"@internal/chat-stateful-client": "1.26.0-beta.1",
"@internal/react-components": "1.26.0-beta.1",
"@fluentui/react-icons": "^2.0.274",
"@fluentui/react": "^8.122.11",
"@types/events": "^3.0.3",
"copy-to-clipboard": "^3.3.1",
"events": "^3.3.0",
"immer": "10.1.1",
"memoize-one": "^5.2.1",
"react-linkify": "^1.0.0-alpha",
"reselect": "^4.0.0",
"uuid": "^9.0.0",
"nanoid": "3.3.8"
},
"peerDependencies": {
"@azure/communication-calling-effects": "^1.1.3",
"@azure/communication-calling": "1.34.1-beta.2 || ^1.34.1",
"@azure/communication-chat": "1.6.0-beta.3 || >=1.5.4",
"@types/react": ">=16.8.0 <19.0.0",
"@types/react-dom": ">=16.8.0 <19.0.0",
"react": ">=16.8.0 <19.0.0",
"react-dom": ">=16.8.0 <19.0.0"
},
"devDependencies": {
"@azure/communication-identity": "^1.3.0",
"@babel/cli": "^7.24.8",
"@babel/core": "^7.26.10",
"@babel/preset-env": "7.23.9",
"@internal/fake-backends": "1.26.0-beta.1",
"@internal/eslint-plugin-custom-rules": "0.1.0",
"@microsoft/api-documenter": "~7.26.13",
"@microsoft/api-extractor": "~7.48.0",
"@playwright/test": "~1.50.1",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/copy-webpack-plugin": "^6.4.0",
"@types/express": "^4.17.8",
"@types/jest": "^29.5.14",
"@types/json-stringify-safe": "^5.0.3",
"@types/node": "^22.10.6",
"@types/react-dom": "18.3.1",
"@types/react-linkify": "^1.0.4",
"@types/react": "18.3.12",
"@types/uuid": "^9.0.8",
"@types/yargs": "^17.0.29",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"ajv": "^8.17.1",
"babel-jest": "^29.5.0",
"babel-loader": "8.1.0",
"concurrently": "^5.3.0",
"copyfiles": "^2.4.1",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.34.0",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"dotenv": "^10.0.0",
"env-cmd": "^10.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "5.2.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react": "^7.37.2",
"eslint": "^8.57.0",
"express": "^5.0.1",
"fs-extra": "^10.1.0",
"html-webpack-plugin": "^5.3.1",
"husky": "^8.0.3",
"if-env": "^1.0.4",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^16.0.0",
"jest": "29.7.0",
"json-stringify-safe": "^5.0.1",
"nan": "^2.14.1",
"node-forge": ">=1.3.1",
"prettier": "3.3.2",
"pretty-quick": "^4.0.0",
"react-dom": "18.3.1",
"react-is": "^18.3.1",
"react": "18.3.1",
"regenerator-runtime": "^0.14.0",
"rimraf": "^2.6.2",
"rollup": "^4.32.1",
"shell-quote": "1.8.2",
"source-map-explorer": "^2.5.0",
"style-loader": "^2.0.0",
"ts-jest": "^29.2.6",
"ts-loader": "^8.0.12",
"ts-node": "^10.9.2",
"type-fest": "^4.14.0",
"typescript": "5.4.5",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "4.15.2",
"webpack": "5.95.0",
"yargs": "^17.7.2"
}
}