forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
143 lines (143 loc) · 5.81 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
{
"name": "@fluidframework/fluid-telemetry",
"version": "2.1.0",
"description": "Customer facing Fluid telemetry types and classes for both producing and consuming said telemetry",
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": "packages/framework/client-logger/fluid-telemetry"
},
"license": "MIT",
"author": "Microsoft and contributors",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": {
"types": "./lib/public.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./dist/public.d.ts",
"default": "./dist/index.js"
}
},
"./beta": {
"import": {
"types": "./lib/beta.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./dist/beta.d.ts",
"default": "./dist/index.js"
}
},
"./internal": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"api": "fluid-build . --task api",
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
"build": "fluid-build . --task build",
"build:commonjs": "fluid-build . --task commonjs",
"build:compile": "fluid-build . --task compile",
"build:docs": "api-extractor run --local",
"build:esnext": "tsc --project ./tsconfig.json",
"check:are-the-types-wrong": "attw --pack .",
"check:biome": "biome check . --formatter-enabled=true",
"check:exports": "concurrently \"npm:check:exports:*\"",
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
"check:exports:cjs:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.cjs.json",
"check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
"check:exports:esm:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.esm.json",
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
"check:format": "npm run check:biome",
"check:prettier": "prettier --check . --cache --ignore-path ../../../../.prettierignore",
"ci:build:docs": "api-extractor run",
"clean": "rimraf --glob _api-extractor-temp coverage dist lib \"*.d.ts\" nyc \"**/*.tsbuildinfo\" \"**/*.build.log\"",
"eslint": "eslint --format stylish src",
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
"format": "npm run format:biome",
"format-and-build": "npm run format && npm run build",
"format-and-compile": "npm run format && npm run build:compile",
"format:biome": "biome check . --formatter-enabled=true --apply",
"format:prettier": "prettier --write . --cache --ignore-path ../../../../.prettierignore",
"lint": "fluid-build . --task lint",
"lint:fix": "fluid-build . --task eslint:fix --task format",
"start:tinylicious:test": "tinylicious > tinylicious.log 2>&1",
"test": "start-server-and-test start:tinylicious:test 7070 test:mocha:all",
"test:mocha": "npm run test:mocha:esm:unit && echo skipping cjs to avoid overhead - npm run test:mocha:cjs:unit",
"test:mocha:all": "npm run test:mocha:esm:all && echo skipping cjs to avoid overhead - npm run test:mocha:cjs:all",
"test:mocha:cjs:all": "mocha --recursive \"dist/test/**/*.spec*.js\" --exit",
"test:mocha:cjs:end-to-end": "mocha --recursive \"dist/test/**/*.spec.realsvc.js\" --exit",
"test:mocha:cjs:unit": "mocha --recursive \"dist/test/**/*.spec.js\" --exit",
"test:mocha:end-to-end": "npm run test:mocha:esm:end-to-end && echo skipping cjs to avoid overhead - npm run test:mocha:cjs:end-to-end",
"test:mocha:esm:all": "mocha --recursive \"lib/test/**/*.spec*.js\" --exit",
"test:mocha:esm:end-to-end": "mocha --recursive \"lib/test/**/*.spec.realsvc.js\" --exit",
"test:mocha:esm:unit": "mocha --recursive \"lib/test/**/*.spec.js\" --exit",
"test:realsvc": "npm run test:realsvc:tinylicious",
"test:realsvc:tinylicious": "start-server-and-test start:tinylicious:test 7070 test:realsvc:tinylicious:run",
"test:realsvc:tinylicious:run": "npm run test:mocha:end-to-end",
"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"
},
"dependencies": {
"@fluidframework/container-definitions": "workspace:~",
"@fluidframework/container-loader": "workspace:~",
"@fluidframework/fluid-static": "workspace:~",
"@microsoft/applicationinsights-web": "^2.8.11",
"uuid": "^9.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@biomejs/biome": "^1.7.3",
"@fluid-internal/client-utils": "workspace:~",
"@fluid-internal/mocha-test-setup": "workspace:~",
"@fluid-tools/build-cli": "^0.40.0",
"@fluidframework/build-tools": "^0.40.0",
"@fluidframework/test-utils": "workspace:~",
"@fluidframework/tinylicious-client": "workspace:~",
"@fluidframework/tree": "workspace:~",
"@microsoft/api-extractor": "^7.45.1",
"@types/chai": "^4.0.0",
"@types/mocha": "^9.1.1",
"@types/sinon": "^17.0.3",
"@types/uuid": "^9.0.2",
"chai": "^4.2.0",
"concurrently": "^8.2.1",
"copyfiles": "^2.4.1",
"eslint": "~8.55.0",
"mocha": "^10.2.0",
"prettier": "~3.0.3",
"rimraf": "^4.4.0",
"sinon": "^17.0.1",
"start-server-and-test": "^2.0.3",
"tinylicious": "^5.0.0",
"tslib": "^1.10.0",
"typescript": "~5.4.5"
},
"fluidBuild": {
"tasks": {
"tsc": [
"typetests:gen"
]
}
},
"typeValidation": {
"disabled": true,
"broken": {}
}
}