forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 8.8 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
{
"name": "root",
"version": "2.0.0-internal.4.3.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 && pnpm run -r --stream build:compile",
"build:compile": "pnpm run -r --stream build:compile",
"build:docs": "pnpm run -r --no-sort --stream build:docs",
"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": "pnpm run -r --stream build:full:compile",
"build:gendocs": "copyfiles server/routerlicious/_api-extractor-temp/** ./_api-extractor-temp/doc-models/ -f -V && cd docs && npm run build",
"build:genver": "pnpm run -r --no-sort --stream build:genver",
"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",
"check:versions": "flub check buildVersion -g client --path .",
"ci:build": "npm run build:genver && pnpm run -r --stream build:compile",
"ci:build:docs": "pnpm run -r --no-sort --stream ci:build:docs",
"ci:eslint": "pnpm run -r --no-sort --stream eslint",
"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": "pnpm run -r --no-sort --stream --no-bail test:realsvc:local:report",
"ci:test:realsvc:local:coverage": "c8 --no-clean pnpm recursive --no-sort --stream --no-bail run test:realsvc:local:report",
"ci:test:realsvc:tinylicious": "pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report",
"ci:test:realsvc:tinylicious:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report ",
"ci:test:stress:tinylicious": "pnpm run -r --no-sort --stream --no-bail test:stress:tinylicious:report ",
"ci:test:stress:tinylicious:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:stress:tinylicious:report ",
"clean": "pnpm run -r --no-sort --stream clean && 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 && pnpm run -r --no-sort --stream format",
"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",
"lint": "npm run syncpack:deps && npm run syncpack:versions && npm run prettier:root && npm run ci:eslint",
"lint:fix": "npm run prettier:root:fix && pnpm run -r --no-sort --stream lint:fix",
"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 && pnpm run -r --no-sort --stream prettier",
"prettier:fix": "npm run prettier:root:fix && pnpm run -r --no-sort --stream prettier:fix",
"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": "pnpm run -r --no-sort --stream --no-bail test:benchmark:report --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 && pnpm run -r --no-sort --stream --no-bail test:jest --color",
"test:jest:bail": "assign-test-ports && pnpm run -r --no-sort --stream test:jest",
"test:jest:report": "assign-test-ports && pnpm run -r --no-sort --stream --no-bail test:jest --ci --reporters=default --reporters=jest-junit",
"test:memory-profiling:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/memoryProfilingOutput/**\" memoryProfilingOutput",
"test:memory-profiling:report": "pnpm run -r --no-sort --stream --no-bail test:memory-profiling:report -- --reporterOptions reportDir=./memoryProfilingOutput",
"test:mocha": "pnpm run -r --no-sort --stream --no-bail test:mocha --color",
"test:mocha:bail": "pnpm run -r --no-sort --stream test:mocha",
"test:mocha:report": "pnpm run -r --no-sort --stream --no-bail test:mocha:multireport -- --timeout 4s",
"test:realsvc": "pnpm run -r --no-sort --stream --no-bail test:realsvc",
"test:stress": "pnpm run -r --no-sort --stream --no-bail test:stress",
"tsc": "pnpm run -r --stream tsc",
"tsc:fast": "fluid-build --root . -s tsc",
"typetests:gen": "pnpm -r typetests:gen",
"typetests:prepare": "flub typetests -g client --reset --previous --normalize",
"watch": "concurrently \"npm run watch:tsc\" \"npm run watch:esnext\" \"npm run watch:webpack\"",
"watch:esnext": "pnpm run -r --parallel build:esnext --watch",
"watch:tsc": "pnpm run -r --parallel tsc --watch",
"watch:webpack": "pnpm run -r --parallel webpack --watch",
"webpack": "pnpm run -r --parallel webpack",
"webpack:profile": "pnpm run -r --parallel webpack:profile"
},
"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": {
"@changesets/cli": "^2.26.0",
"@fluid-tools/build-cli": "^0.17.0",
"@fluidframework/build-common": "^1.1.0",
"@fluidframework/build-tools": "^0.17.0",
"@fluidframework/test-tools": "^0.2.158186",
"@microsoft/api-documenter": "^7.21.6",
"@microsoft/api-extractor": "^7.34.4",
"@octokit/core": "^4.0.5",
"auto-changelog": "^2.4.0",
"c8": "^7.7.1",
"changesets-format-with-issue-links": "^0.3.0",
"concurrently": "^7.6.0",
"copyfiles": "^2.4.1",
"danger": "^10.9.0",
"jest": "^26.6.3",
"mocha": "^10.2.0",
"prettier": "~2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^4.4.0",
"run-script-os": "^1.1.6",
"syncpack": "^9.8.4",
"typescript": "~4.5.5"
},
"packageManager": "pnpm@7.32.3+sha512.c28d73f0d82a6c4712a40b91aa43d7397e119b16f35e5e75fe9b7e8fd4f2fc6dfbb68bb3ffac3473a958bbafa7888b79ec384ad122537378089a3a2a19b9900e",
"engines": {
"node": ">=16.16.0",
"pnpm": "7"
},
"pnpm": {
"comments": [
"nodegit is replaced with an empty package here because it's currently only used by good-fences for features we do not need, and has issues building when changing node versions. See https://github.com/smikula/good-fences/issues/105 for details."
],
"overrides": {
"@types/node": "^14.18.38",
"node-fetch": "^2.6.9",
"nodegit": "npm:empty-npm-package@1.0.0",
"qs": "^6.11.0"
},
"peerDependencyRules": {
"allowedVersions": {
"react": "17.0.2",
"react-dom": "17.0.2",
"webpack": "5.82.0"
},
"ignoreMissing": [
"fluid-framework"
]
}
}
}