forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 5.27 KB
/
package.json
File metadata and controls
153 lines (153 loc) · 5.27 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
{
"name": "@fluid-example/webpack-fluid-loader",
"version": "2.93.0",
"private": true,
"description": "Fluid object loader for webpack-dev-server",
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": "examples/utils/webpack-fluid-loader"
},
"license": "MIT",
"author": "Microsoft and contributors",
"type": "module",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"main": "lib/index.js",
"browser": {
"moniker": "@fluidframework/server-services-client/dist/generateNames.js"
},
"types": "lib/index.d.ts",
"scripts": {
"build": "fluid-build . --task build",
"build:commonjs": "fluid-build . --task commonjs",
"build:compile": "fluid-build . --task compile",
"build:esnext": "tsc --project ./tsconfig.json",
"build:test": "npm run build:test:esm && npm run build:test:cjs",
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
"build:webpack": "npm run webpack",
"check:are-the-types-wrong": "attw --pack .",
"check:biome": "biome check .",
"check:format": "npm run check:biome",
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" nyc",
"eslint": "eslint --quiet --format stylish src",
"eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
"format": "npm run format:biome",
"format:biome": "biome check . --write",
"lint": "fluid-build . --task lint",
"lint:fix": "fluid-build . --task eslint:fix --task format",
"prepack": "npm run webpack",
"test": "npm run test:mocha",
"test:coverage": "c8 npm test",
"test:mocha": "npm run test:mocha:esm && echo skipping cjs to avoid overhead - npm run test:mocha:cjs",
"test:mocha:cjs": "cross-env FLUID_TEST_MODULE_SYSTEM=CJS mocha",
"test:mocha:esm": "mocha",
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
"typetests:gen": "flub generate typetests --dir . -v",
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize",
"webpack": "webpack --color --config webpack.config.cjs"
},
"c8": {
"all": true,
"cache-dir": "nyc/.cache",
"exclude": [
"src/test/**/*.*ts",
"dist/test/**/*.*js",
"lib/test/**/*.*js"
],
"exclude-after-remap": false,
"include": [
"src/**/*.*ts",
"dist/**/*.*js",
"lib/**/*.*js"
],
"report-dir": "nyc/report",
"reporter": [
"cobertura",
"html",
"text"
],
"temp-directory": "nyc/.nyc_output"
},
"dependencies": {
"@fluid-example/example-utils": "workspace:~",
"@fluid-private/test-drivers": "workspace:~",
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/container-loader": "workspace:~",
"@fluidframework/core-interfaces": "workspace:~",
"@fluidframework/core-utils": "workspace:~",
"@fluidframework/driver-definitions": "workspace:~",
"@fluidframework/driver-utils": "workspace:~",
"@fluidframework/local-driver": "workspace:~",
"@fluidframework/odsp-doclib-utils": "workspace:~",
"@fluidframework/odsp-driver": "workspace:~",
"@fluidframework/odsp-driver-definitions": "workspace:~",
"@fluidframework/routerlicious-driver": "workspace:~",
"@fluidframework/runtime-utils": "workspace:~",
"@fluidframework/server-local-server": "^7.0.0",
"@fluidframework/telemetry-utils": "workspace:~",
"@fluidframework/test-runtime-utils": "workspace:~",
"@fluidframework/tool-utils": "workspace:~",
"axios": "^1.8.4",
"buffer": "^6.0.3",
"express": "^4.21.2",
"isomorphic-fetch": "^3.0.0",
"nconf": "^0.12.0",
"sillyname": "^0.1.0",
"uuid": "^11.1.0",
"webpack-dev-server": "~4.15.2"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@biomejs/biome": "~2.4.5",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/build-cli": "catalog:buildTools",
"@fluidframework/build-common": "^2.0.3",
"@fluidframework/build-tools": "catalog:buildTools",
"@fluidframework/eslint-config-fluid": "catalog:eslint",
"@types/express": "^4.17.21",
"@types/fs-extra": "^9.0.11",
"@types/mocha": "^10.0.10",
"@types/node": "~20.19.30",
"c8": "^10.1.3",
"copyfiles": "^2.4.1",
"cross-env": "^10.1.0",
"eslint": "catalog:eslint",
"fs-extra": "^9.1.0",
"jiti": "^2.6.1",
"mocha": "^11.7.5",
"mocha-multi-reporters": "^1.5.1",
"rimraf": "^6.1.3",
"source-map-loader": "^5.0.0",
"ts-loader": "^9.5.1",
"typescript": "~5.4.5",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"fluidBuild": {
"_tasksComment1": "webpack-fluid-loader injects a script tag pointing at its own bundle (/code/fluid-loader.bundle.js) into the page. This bundle must remain up to date for webpack-fluid-loader users.",
"_tasksComment2": "Using build:esnext over something like compile guarantees that this happens, since the build:esnext target depends on all transitive dependencies' build:esnext targets.",
"tasks": {
"build:esnext": [
"...",
"webpack"
]
}
},
"typeValidation": {
"disabled": true
}
}