forked from microsoft/BotFramework-WebChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
199 lines (199 loc) · 10.3 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"name": "botframework-webchat-root",
"version": "4.17.1-0",
"private": true,
"files": [
"lib/**/*"
],
"author": "Microsoft Corporation",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/BotFramework-WebChat.git"
},
"bugs": {
"url": "https://github.com/microsoft/BotFramework-WebChat/issues"
},
"homepage": "https://github.com/microsoft/BotFramework-WebChat#readme",
"keywords": [],
"cldr-data-coverage": "full",
"scripts": {
"audit": "npm run audit:packages && npm run audit:samples",
"audit:packages": "for i in `find packages -name package.json ! -path */node_modules/* | xargs realpath | xargs dirname`; do echo \u001b[32m--- Audit $i/package.json ---\u001b[0m; cd $i; npm audit --audit-level=critical; if [ $? -ne 0 ]; then echo \u001b[31m--- Error while audit $i/package.json ---\u001b[0m; break; fi; cd $OLDPWD; done; echo \u001b[32m--- Audit completed ---\u001b[0m",
"audit:samples": "for i in `find samples -name package.json ! -path */node_modules/* | xargs realpath | xargs dirname`; do echo \u001b[32m--- Audit $i/package.json ---\u001b[0m; cd $i; npm audit --audit-level=critical; if [ $? -ne 0 ]; then echo \u001b[31m--- Error while audit $i/package.json ---\u001b[0m; break; fi; cd $OLDPWD; done; echo \u001b[32m--- Audit completed ---\u001b[0m",
"auditfix": "npm run auditfix:packages && npm run auditfix:samples",
"auditfix:packages": "for i in `find packages -name package.json ! -path */node_modules/* | xargs realpath | xargs dirname`; do echo \u001b[32m--- Audit-fixing $i/package.json ---\u001b[0m; cd $i; npm run auditfix; if [ $? -ne 0 ]; then echo \u001b[31m--- Error while audit-fixing $i/package.json ---\u001b[0m; break; fi; cd $OLDPWD; done; echo \u001b[32m--- Audit-fix completed ---\u001b[0m && lerna clean --yes && lerna bootstrap",
"auditfix:samples": "for i in `find samples -name package.json ! -path */node_modules/* | xargs realpath | xargs dirname`; do echo \u001b[32m--- Audit-fixing $i/package.json ---\u001b[0m; cd $i; npm run auditfix; if [ $? -ne 0 ]; then echo \u001b[31m--- Error while audit-fixing $i/package.json ---\u001b[0m; break; fi; cd $OLDPWD; done; echo \u001b[32m--- Audit-fix completed ---\u001b[0m",
"bootstrap": "lerna bootstrap --ci",
"browser": "node ./packages/test/harness/src/host/dev/index http://localhost:5001/__tests__/html/",
"browser:watch": "node-dev --no-notify --respawn ./packages/test/harness/src/host/dev/index http://localhost:5001/__tests__/html/",
"build": "lerna run --ignore playground --stream build",
"bump": "npm run bump:prod && npm run bump:dev && npm run bump:auditfix && npm run bump:packages && npm run bump:samples",
"bump:auditfix": "npm audit fix --legacy-peer-deps || exit 0",
"bump:dev": "if [ `cat package.json | jq -r '.devDependencies | length'` -ne 0 ]; then npm install --legacy-peer-deps $(cat package.json | jq -r '(.pinDependencies // {}) as $p | ((.devDependencies // {}) | keys) | map(. + \"@\" + ($p[.] // [\"latest\"])[0]) | .[]'); fi",
"bump:prod": "if [ `cat package.json | jq -r '.dependencies | length'` -ne 0 ]; then npm install --legacy-peer-deps --save-exact $(cat package.json | jq -r '(.pinDependencies // {}) as $p | ((.dependencies // {}) | keys) | map(. + \"@\" + ($p[.] // [\"latest\"])[0]) | .[]'); fi",
"bump:packages": "for i in `find packages -name package.json ! -path */node_modules/* | xargs realpath | xargs dirname`; do echo \u001b[32m--- Bumping $i/package.json ---\u001b[0m; cd $i; npm run bump; if [ $? -ne 0 ]; then echo \u001b[31m--- Error while bumping $i/package.json ---\u001b[0m; break; fi; cd $OLDPWD; done; echo \u001b[32m--- Bump completed ---\u001b[0m && lerna clean --yes && lerna bootstrap",
"bump:samples": "for i in `find samples -name package.json ! -path */node_modules/* | xargs realpath | xargs dirname`; do echo \u001b[32m--- Bumping $i/package.json ---\u001b[0m; cd $i; npm run bump; if [ $? -ne 0 ]; then echo \u001b[31m--- Error while bumping $i/package.json ---\u001b[0m; break; fi; cd $OLDPWD; done; echo \u001b[32m--- Bump completed ---\u001b[0m",
"docker": "npm run docker:up",
"docker:down": "docker-compose -f docker-compose-wsl2.yml down --rmi all",
"docker:up": "docker-compose -f docker-compose-wsl2.yml down && docker-compose -f docker-compose-wsl2.yml up --build --scale chrome=4",
"eslint": "npm run precommit",
"lint-staged": "lint-staged",
"pack-all": "npx lerna exec --scope=botframework* -- npm pack --pack-destination=$PWD && zip tarball.zip *.tgz",
"precommit": "lerna run --parallel --stream precommit -- ",
"precommit:eslint:api": "cd packages && cd api && npm run precommit:eslint",
"precommit:eslint:bundle": "cd packages && cd bundle && npm run precommit:eslint",
"precommit:eslint:component": "cd packages && cd component && npm run precommit:eslint",
"precommit:eslint:core": "cd packages && cd core && npm run precommit:eslint",
"precommit:eslint:directlinespeech": "cd packages && cd directlinespeech && npm run precommit:eslint",
"precommit:eslint:fluent-theme": "cd packages && cd fluent-theme && npm run precommit:eslint",
"precommit:eslint:isomorphic-react-dom": "cd packages && cd isomorphic-react-dom && npm run precommit:eslint",
"precommit:eslint:isomorphic-react": "cd packages && cd isomorphic-react && npm run precommit:eslint",
"precommit:eslint:support-cldr-data-downloader": "cd packages && cd support && cd cldr-data-downloader && npm run precommit:eslint",
"precommit:eslint:support-cldr-data": "cd packages && cd support && cd cldr-data && npm run precommit:eslint",
"precommit:eslint:test-harness": "cd packages && cd test && cd harness && npm run precommit:eslint",
"precommit:eslint:test-page-object": "cd packages && cd test && cd page-object && npm run precommit:eslint",
"precommit:typecheck": "concurrently --raw \"npm run precommit:typecheck:*\"",
"precommit:typecheck:api": "cd packages && cd api && npm run precommit:typecheck",
"precommit:typecheck:bundle": "cd packages && cd bundle && npm run precommit:typecheck",
"precommit:typecheck:component": "cd packages && cd component && npm run precommit:typecheck",
"precommit:typecheck:core": "cd packages && cd core && npm run precommit:typecheck",
"precommit:typecheck:fluent-theme": "cd packages && cd fluent-theme && npm run precommit:typecheck",
"prepare": "husky install",
"start": "concurrently --kill-others --raw \"serve -p 5000\" \"lerna run --ignore playground --parallel --stream start\"",
"start:docker": "echo This command has been renamed to \"npm run docker\" && npm run docker",
"stop:docker": "echo This command has been renamed to \"npm run docker:down\" && npm run docker:down",
"tableflip": "npx lerna clean --yes --concurrency 8 && npx rimraf node_modules && npm ci && npm run bootstrap -- --concurrency 8",
"test": "jest --watch"
},
"pinDependencies": {
"@babel/plugin-transform-runtime": [
"7.19.1",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/preset-env": [
"7.19.1",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/preset-react": [
"7.18.6",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/preset-typescript": [
"7.18.6",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@babel/runtime": [
"7.19.0",
"@babel/*@7.21 is causing out-of-memory (OOM) issues"
],
"@types/jest": [
"28",
"pinned jest@28"
],
"@types/react": [
"16",
"[email protected] is our baseline"
],
"@types/react-dom": [
"16",
"[email protected] is our baseline"
],
"babel-jest": [
"28",
"[email protected] does not support jest@29 yet"
],
"eslint": [
"8",
"@typescript-eslint/eslint-plugin does not support eslint@9 yet"
],
"get-port": [
"5",
"get-port@6 dropped support of CommonJS"
],
"jest": [
"28",
"[email protected] does not support jest@29 yet"
],
"jest-environment-jsdom": [
"28",
"[email protected] does not support jest@29 yet"
],
"lerna": [
"6",
"lerna@7 use npm workspaces and we fund the migration work"
],
"node-fetch": [
"2",
"node-fetch@3 dropped support of CommonJS"
],
"react": [
"16.8.6",
"using [email protected] to make sure this is the minimum supported version"
],
"react-dom": [
"16.8.6",
"using [email protected] to make sure this is the minimum supported version"
],
"strip-ansi": [
"6",
"strip-ansi@7 dropped support of CommonJS"
]
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.19.0",
"@types/jest": "^28.1.8",
"@types/react": "^16.14.60",
"@types/react-dom": "^16.9.24",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"abort-controller": "^3.0.0",
"babel-jest": "^28.1.3",
"babel-plugin-istanbul": "^6.1.1",
"concurrently": "^8.2.2",
"core-js": "^3.37.0",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"error-stack-parser": "^2.1.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-security": "^3.0.0",
"get-port": "^5.1.1",
"global-agent": "^3.0.0",
"husky": "^9.0.11",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-image-snapshot": "^6.4.0",
"jest-junit": "^16.0.0",
"jest-trx-results-processor": "^3.0.2",
"lerna": "^6.6.2",
"lint-staged": "^15.2.2",
"lolex": "^6.0.0",
"node-dev": "^8.0.0",
"node-fetch": "^2.7.0",
"nodemon": "^3.1.0",
"p-defer": "^4.0.1",
"prettier": "^3.2.5",
"selenium-webdriver": "^4.20.0",
"serve": "^14.2.3",
"serve-handler": "^6.1.5",
"strip-ansi": "^6.0.1",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-plugin-css-modules": "^5.1.0",
"xmlbuilder": "^15.1.1"
},
"dependencies": {
"react": "16.8.6",
"react-dom": "16.8.6"
}
}