forked from tylerbutler/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
225 lines (225 loc) · 9.41 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
{
"name": "root",
"version": "0.14.0",
"private": true,
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": ""
},
"license": "MIT",
"author": "Microsoft and contributors",
"scripts": {
"build": "npm run policy-check && npm run layer-check && npm run build:genver && npm run build:compile && npm run lint && npm run build:docs",
"build:ci": "npm run build:genver && lerna run build:compile --stream",
"build:compile": "lerna run build:compile --stream",
"build:docs": "lerna run build:docs --stream --parallel",
"build:fast": "fluid-build --root .",
"build:full": "npm run build:genver && npm run build:full:compile && npm run lint && npm run build:docs",
"build:full:compile": "lerna run build:full:compile --stream",
"build:gendocs": "copyfiles server/routerlicious/_api-extractor-temp/** ./_api-extractor-temp/doc-models/ -f -V && cd docs && npm run build",
"build:genver": "lerna run build:genver --stream --parallel",
"bump-version": "fluid-bump-version --root .",
"bundle-analysis:collect": "npm run webpack:profile && flub generate bundleStats",
"bundle-analysis:run": "flub run bundleStats --dangerfile build-tools/packages/build-cli/lib/lib/dangerfile.js",
"ci:build": "npm run build:genver && lerna run build:compile --stream",
"ci:build:docs": "lerna run ci:build:docs --stream --parallel",
"ci:test:jest": "npm run test:jest:report",
"ci:test:jest:coverage": "c8 --no-clean npm run test:jest:report",
"ci:test:mocha": "npm run test:mocha:report",
"ci:test:mocha:coverage": "c8 --no-clean npm run test:mocha:report",
"ci:test:realsvc:local": "lerna run test:realsvc:local:report --stream --no-bail --no-sort",
"ci:test:realsvc:local:coverage": "c8 --no-clean lerna run test:realsvc:local:report --stream --no-bail --no-sort",
"ci:test:realsvc:tinylicious": "lerna run test:realsvc:tinylicious:report --stream --no-bail --no-sort",
"ci:test:realsvc:tinylicious:coverage": "c8 --no-clean lerna run test:realsvc:tinylicious:report --stream --no-bail --no-sort",
"ci:test:stress:tinylicious": "lerna run test:stress:tinylicious:report --stream --no-bail --no-sort",
"ci:test:stress:tinylicious:coverage": "c8 --no-clean lerna run test:stress:tinylicious:report --stream --no-bail --no-sort",
"clean": "lerna run clean --stream --parallel && npm run clean:docs && npm run clean:nyc",
"clean:docs": "rimraf **/_api-extractor-temp docs/api/*/**",
"clean:nyc": "rimraf nyc/**",
"clean:r11s": "cd server/routerlicious && npm run clean",
"format": "npm run prettier:root:fix && lerna run format --parallel --stream",
"format:changed": "npm run format:changed:main",
"format:changed:main": "pretty-quick --branch main",
"format:changed:next": "pretty-quick --branch next",
"preinstall": "node scripts/only-pnpm.cjs",
"layer-check": "fluid-layer-check --info build-tools/packages/build-tools/data/layerInfo.json",
"lerna": "lerna",
"lint": "npm run prettier:root && lerna run lint --no-sort --stream",
"lint:fix": "npm run prettier:root:fix && lerna run lint:fix --no-sort --stream",
"policy-check": "flub check policy --exclusions build-tools/packages/build-tools/data/exclusions.json",
"policy-check:asserts": "flub check policy --exclusions build-tools/packages/build-tools/data/exclusions.json --handler assert-short-codes --fix",
"policy-check:fix": "flub check policy --exclusions build-tools/packages/build-tools/data/exclusions.json --excludeHandler assert-short-codes --fix",
"prettier": "npm run prettier:root && lerna run prettier --no-sort --stream",
"prettier:fix": "npm run prettier:root:fix && lerna run prettier:fix --no-sort --stream",
"prettier:root": "prettier --check ./*.* --ignore-path .prettierignore",
"prettier:root:fix": "prettier --write ./*.* --ignore-path .prettierignore",
"restart": "cd server/routerlicious && npm run restart",
"start:docker": "docker-compose -f server/docker-compose.yml up",
"stop:docker": "docker-compose -f server/docker-compose.yml down",
"stop:docker:full": "docker-compose -f server/docker-compose.yml down && docker volume prune --force",
"syncpack:deps": "syncpack lint-semver-ranges",
"syncpack:deps:fix": "syncpack set-semver-ranges",
"syncpack:versions": "syncpack list-mismatches",
"syncpack:versions:fix": "syncpack fix-mismatches",
"test": "npm run test:mocha && npm run test:jest && npm run test:realsvc && npm run test:stress",
"test:bail": "npm run test:mocha:bail && npm run test:jest:bail",
"test:benchmark:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/benchmarkOutput/**\" benchmarkOutput",
"test:benchmark:report": "lerna run test:benchmark:report --stream --no-bail --no-sort -- -- --reporterOptions reportDir=./benchmarkOutput",
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
"test:coverage": "c8 npm run test",
"test:fromroot": "mocha \"packages/**/dist/test/**/*.spec.js\" --exit",
"test:jest": "assign-test-ports && lerna run test:jest --concurrency 4 --stream --no-bail --no-sort -- -- --color",
"test:jest:bail": "assign-test-ports && lerna run test:jest --concurrency 4 --stream",
"test:jest:report": "assign-test-ports && lerna run test:jest --concurrency 4 --stream --no-bail --no-sort -- -- --ci --reporters=default --reporters=jest-junit",
"test:memory-profiling:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/memoryProfilingOutput/**\" memoryProfilingOutput",
"test:memory-profiling:report": "lerna run test:memory-profiling:report --stream --no-bail --no-sort -- -- --reporterOptions reportDir=./memoryProfilingOutput",
"test:mocha": "lerna run test:mocha --stream --no-bail --no-sort -- -- --color",
"test:mocha:bail": "lerna run test:mocha --stream",
"test:mocha:report": "lerna run test:mocha --stream --no-bail --no-sort -- -- --timeout 4s --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml",
"test:realsvc": "lerna run test:realsvc --stream --no-bail --no-sort",
"test:stress": "lerna run test:stress --stream --no-bail --no-sort",
"tsc": "lerna run tsc --stream",
"tsc:fast": "fluid-build --root . -s tsc",
"typetests:gen": "flub generate typetests --generate --releaseGroup client",
"typetests:prepare": "flub generate typetests --prepare --releaseGroup client --pin",
"watch": "concurrently \"npm run watch:tsc\" \"npm run watch:esnext\" \"npm run watch:webpack\"",
"watch:esnext": "lerna run --parallel build:esnext -- -- --watch",
"watch:tsc": "lerna run --parallel tsc -- -- --watch",
"watch:webpack": "lerna run --parallel webpack -- -- --watch",
"webpack": "lerna run --no-sort webpack --stream",
"webpack:profile": "lerna run --no-sort webpack:profile --stream"
},
"c8": {
"all": true,
"cache-dir": "nyc/.cache",
"exclude": [
"**/*.d.ts",
"**/src/test/**/*.ts",
"**/dist/test/**/*.js",
"experimental/examples/**",
"experimental/PropertyDDS/examples/**",
"**/*.bundle.js"
],
"exclude-after-remap": false,
"extension": [
".ts",
".tsx",
".js",
".jsx"
],
"include": [
"packages/**/src/**/*.ts",
"packages/**/dist/**/*.js",
"experimental/**/src/**/*.ts",
"experimental/**/dist/**/*.js"
],
"report-dir": "nyc/report",
"reporter": [
"cobertura",
"html",
"text"
],
"temp-directory": "nyc/.nyc_output"
},
"devDependencies": {
"@fluid-tools/build-cli": "^0.9.0",
"@fluidframework/build-tools": "^0.9.0",
"@fluidframework/test-tools": "^0.2.3074",
"@microsoft/api-documenter": "^7.17.9",
"@microsoft/api-extractor": "^7.22.2",
"c8": "^7.7.1",
"concurrently": "^6.2.0",
"copyfiles": "^2.4.1",
"jest": "^26.6.3",
"lerna": "^5.1.8",
"mocha": "^10.0.0",
"prettier": "~2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^2.6.2",
"run-script-os": "^1.1.6",
"syncpack": "^9.3.2",
"typescript": "~4.5.5"
},
"engines": {
"node": ">=14.13.0",
"npm": "^6"
},
"fluidBuild": {
"repoPackages": {
"build": "common/build",
"common-def": "common/lib/common-definitions",
"common-utils": "common/lib/common-utils",
"protocol-def": "common/lib/protocol-definitions",
"azure": "azure",
"build-tools": "build-tools",
"server": "server/routerlicious",
"client": {
"directory": "",
"ignoredDirs": []
},
"tools": [
"tools/api-markdown-documenter",
"tools/benchmark",
"tools/getkeys",
"tools/test-tools",
"server/tinylicious"
],
"services": {
"directory": "server",
"ignoredDirs": [
"routerlicious",
"tinylicious"
]
}
},
"policy": {
"dependencies": {
"requireTilde": [
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"eslint-config-prettier",
"eslint-plugin-eslint-comments",
"eslint-plugin-import",
"eslint-plugin-unicorn",
"eslint-plugin-unused-imports",
"eslint",
"prettier",
"typescript",
"webpack-dev-server"
]
},
"additionalLockfilePaths": [
"common/build/build-common",
"common/build/eslint-config-fluid",
"docs",
"server/gitrest",
"server/historian",
"tools/telemetry-generator"
]
},
"branchReleaseTypes": {
"main": "minor",
"lts": "minor",
"release/**": "patch",
"next": "major"
}
},
"packageManager": "[email protected]",
"pnpm": {
"overrides": {
"@types/node": "^14.18.36"
},
"peerDependencyRules": {
"allowedVersions": {
"react": "17.0.2",
"react-dom": "17.0.2",
"webpack": "5.75"
},
"ignoreMissing": [
"fluid-framework"
]
}
}
}