forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
183 lines (183 loc) · 6.19 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
{
"name": "@fluidframework/common-utils",
"version": "3.2.0",
"description": "Collection of utility functions for Fluid",
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": "common/lib/common-utils"
},
"license": "MIT",
"author": "Microsoft and contributors",
"sideEffects": false,
"main": "dist/index.js",
"module": "lib/index.js",
"browser": {
"./dist/indexNode.js": "./dist/indexBrowser.js",
"./lib/indexNode.js": "./lib/indexBrowser.js"
},
"types": "dist/index.d.ts",
"scripts": {
"bench": "ts-node bench/src/index.ts",
"build": "npm run build:compile && concurrently npm:lint npm:build:docs",
"build:commonjs": "npm run tsc && npm run typetests:gen && npm run build:test",
"build:compile": "concurrently npm:build:commonjs npm:build:esnext",
"build:docs": "api-extractor run --local --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 \"./_api-extractor-temp/doc-models/*\" ../../../_api-extractor-temp/",
"build:esnext": "tsc --project ./tsconfig.esnext.json",
"build:test": "concurrently npm:build:test:mocha npm:build:test:jest npm:build:test:types",
"build:test:jest": "tsc --project ./src/test/jest/tsconfig.json",
"build:test:mocha": "tsc --project ./src/test/mocha/tsconfig.json",
"build:test:types": "tsc --project ./src/test/types/tsconfig.json",
"bump-version": "npm version minor --no-push --no-git-tag-version && npm run build:gen:bump",
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
"ci:build": "npm run build:compile",
"ci:build:docs": "api-extractor run --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 \"./_api-extractor-temp/doc-models/*\" ../../../_api-extractor-temp/",
"ci:test": "npm run test:report",
"ci:test:coverage": "npm run test:coverage",
"clean": "rimraf --glob _api-extractor-temp dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" nyc",
"eslint": "eslint --format stylish src",
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
"format": "npm run prettier:fix",
"lint": "npm run prettier && npm run check:release-tags && npm run eslint",
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
"prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
"prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore",
"test": "npm run test:mocha && npm run test:jest",
"test:coverage": "c8 npm run test:report",
"test:jest": "jest",
"test:jest:report": "npm run test:jest -- --ci --coverage",
"test:mocha": "mocha --unhandled-rejections=strict --recursive \"dist/test/mocha/**/*.spec.*js\" --exit",
"test:mocha:multireport": "cross-env FLUID_TEST_MULTIREPORT=1 npm run test:mocha",
"test:mocha:report": "npm run test:mocha -- -- --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml",
"test:report": "npm run test:mocha:report && npm run test:jest:report",
"tsc": "tsc",
"typetests:gen": "flub generate typetests --dir . -v --level public",
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
},
"c8": {
"all": true,
"cache-dir": "nyc/.cache",
"exclude": [
"src/test/**/*.*ts",
"dist/test/**/*.*js"
],
"exclude-after-remap": false,
"include": [
"src/**/*.*ts",
"dist/**/*.*js"
],
"report-dir": "nyc/report",
"reporter": [
"cobertura",
"html",
"text"
],
"temp-directory": "nyc/.nyc_output"
},
"dependencies": {
"@types/events": "^3.0.0",
"base64-js": "^1.5.1",
"buffer": "^6.0.3",
"events": "^3.1.0",
"lodash": "^4.17.21",
"sha.js": "^2.4.11"
},
"devDependencies": {
"@fluid-tools/build-cli": "^0.49.0",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "^0.49.0",
"@fluidframework/common-utils-previous": "npm:@fluidframework/[email protected]",
"@fluidframework/eslint-config-fluid": "^5.5.1",
"@microsoft/api-extractor": "^7.45.1",
"@types/base64-js": "^1.3.0",
"@types/benchmark": "^2.1.0",
"@types/jest": "29.5.3",
"@types/jest-environment-puppeteer": "2.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "^18.19.39",
"@types/sinon": "^17.0.3",
"benchmark": "^2.1.4",
"c8": "^8.0.1",
"concurrently": "^8.2.1",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",
"jest": "^29.6.2",
"jest-junit": "^10.0.0",
"jest-puppeteer": "^10.1.3",
"mocha": "^10.2.0",
"mocha-json-output-reporter": "^2.0.1",
"mocha-multi-reporters": "^1.5.1",
"moment": "^2.21.0",
"prettier": "~3.0.3",
"puppeteer": "^23.6.0",
"rewire": "^5.0.0",
"rimraf": "^4.4.1",
"sinon": "^18.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.4.5"
},
"packageManager": "[email protected]+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392",
"fluidBuild": {
"branchReleaseTypes": {
"main": "minor",
"release/**": "patch"
},
"tasks": {
"eslint": [
"tsc",
"build:test:mocha",
"build:test:jest",
"build:test:types"
],
"build:test:jest": [
"tsc"
],
"build:test:mocha": [
"tsc"
],
"build:test:types": [
"tsc"
]
}
},
"pnpm": {
"commentsOverrides": [
"sharp <0.32.6 has a vulnerability that Component Governance flags (https://github.com/advisories/GHSA-54xq-cgqr-rpm3). It's a transitive dependency through jssm-viz-cli, which hasn't updated to a version with the fix"
],
"overrides": {
"sharp": "^0.33.2"
},
"patchedDependencies": {
"@microsoft/[email protected]": "../../../patches/@[email protected]"
}
},
"typeValidation": {
"broken": {
"Class_EventForwarder": {
"backCompat": false,
"forwardCompat": false
},
"Class_TelemetryNullLogger": {
"backCompat": false,
"forwardCompat": false
},
"Class_BaseTelemetryNullLogger": {
"backCompat": false,
"forwardCompat": false
},
"ClassStatics_BaseTelemetryNullLogger": {
"backCompat": false
},
"ClassStatics_EventForwarder": {
"backCompat": false
},
"ClassStatics_TelemetryNullLogger": {
"backCompat": false
}
}
}
}