2024-09-04 00:22:07 +03:00
|
|
|
{
|
|
|
|
"name": "@fluid-experimental/presence",
|
2024-11-05 05:35:05 +03:00
|
|
|
"version": "2.10.0",
|
2024-09-04 00:22:07 +03:00
|
|
|
"description": "A component for lightweight data sharing within a single session",
|
|
|
|
"homepage": "https://fluidframework.com",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/microsoft/FluidFramework.git",
|
|
|
|
"directory": "packages/framework/presence"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"author": "Microsoft and contributors",
|
|
|
|
"sideEffects": false,
|
|
|
|
"type": "module",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": {
|
|
|
|
"types": "./lib/index.d.ts",
|
|
|
|
"default": "./lib/index.js"
|
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./dist/index.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"
|
|
|
|
}
|
2024-09-10 10:40:15 +03:00
|
|
|
},
|
|
|
|
"./internal/container-definitions/internal": {
|
|
|
|
"import": "./lib/container-definitions/index.js",
|
|
|
|
"require": "./dist/container-definitions/index.js"
|
|
|
|
},
|
|
|
|
"./internal/core-interfaces": {
|
|
|
|
"import": "./lib/core-interfaces/index.js",
|
|
|
|
"require": "./dist/core-interfaces/index.js"
|
|
|
|
},
|
|
|
|
"./internal/events": {
|
|
|
|
"import": "./lib/events/events.js",
|
|
|
|
"require": "./dist/events/events.js"
|
|
|
|
},
|
|
|
|
"./internal/exposedInternalTypes": {
|
|
|
|
"import": "./lib/exposedInternalTypes.js",
|
|
|
|
"require": "./dist/exposedInternalTypes.js"
|
|
|
|
},
|
|
|
|
"./internal/exposedUtilityTypes": {
|
|
|
|
"import": "./lib/exposedUtilityTypes.js",
|
|
|
|
"require": "./dist/exposedUtilityTypes.js"
|
2024-09-04 00:22:07 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist/**/*",
|
|
|
|
"lib/**/*",
|
|
|
|
"*.d.ts",
|
|
|
|
"!**/test/**"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"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",
|
2024-09-10 10:40:15 +03:00
|
|
|
"build:test": "npm run build:test:esm && npm run build:test:cjs && npm run build:test:esm:core-interfaces-no-exactOptionalPropertyTypes",
|
|
|
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
|
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
|
|
"build:test:esm:core-interfaces-no-exactOptionalPropertyTypes": "tsc --project ./src/test/core-interfaces/tsconfig.no-exactOptionalPropertyTypes.json",
|
2024-09-04 00:22:07 +03:00
|
|
|
"check:are-the-types-wrong": "echo skip per issue #112 - node10 requirement: attw --pack .",
|
|
|
|
"check:biome": "biome check .",
|
|
|
|
"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:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
|
|
|
|
"check:exports:esm:index": "api-extractor run --config api-extractor/api-extractor-lint-index.esm.json",
|
|
|
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
|
|
"ci:build:docs": "api-extractor run",
|
2024-09-10 10:40:15 +03:00
|
|
|
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
2024-09-04 00:22:07 +03:00
|
|
|
"eslint": "eslint --format stylish src",
|
|
|
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
|
|
"format": "npm run format:biome",
|
|
|
|
"format:biome": "biome check . --write",
|
|
|
|
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
|
|
"lint": "fluid-build . --task lint",
|
|
|
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
2024-09-10 10:40:15 +03:00
|
|
|
"test": "npm run test:mocha",
|
|
|
|
"test:coverage": "c8 npm test",
|
|
|
|
"test:mocha": "npm run test:mocha:esm && npm run test:mocha:cjs",
|
|
|
|
"test:mocha:cjs": "mocha --recursive \"dist/test/**/*.spec.*js\" --exit",
|
|
|
|
"test:mocha:esm": "mocha --recursive \"lib/test/**/*.spec.*js\" --exit",
|
|
|
|
"test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
|
|
|
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ./src/cjs/package.json ./dist"
|
|
|
|
},
|
|
|
|
"c8": {
|
|
|
|
"all": true,
|
|
|
|
"cache-dir": "nyc/.cache",
|
|
|
|
"exclude": [
|
|
|
|
"src/test/**/*.*ts",
|
2024-10-11 00:00:43 +03:00
|
|
|
"dist/test/**/*.*js",
|
2024-09-10 10:40:15 +03:00
|
|
|
"lib/test/**/*.*js"
|
|
|
|
],
|
|
|
|
"exclude-after-remap": false,
|
|
|
|
"include": [
|
|
|
|
"src/**/*.*ts",
|
2024-10-11 00:00:43 +03:00
|
|
|
"dist/**/*.*js",
|
2024-09-10 10:40:15 +03:00
|
|
|
"lib/**/*.*js"
|
|
|
|
],
|
|
|
|
"report-dir": "nyc/report",
|
|
|
|
"reporter": [
|
|
|
|
"cobertura",
|
|
|
|
"html",
|
|
|
|
"text"
|
|
|
|
],
|
|
|
|
"temp-directory": "nyc/.nyc_output"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@fluidframework/container-definitions": "workspace:~",
|
|
|
|
"@fluidframework/container-loader": "workspace:~",
|
|
|
|
"@fluidframework/container-runtime-definitions": "workspace:~",
|
|
|
|
"@fluidframework/core-interfaces": "workspace:~",
|
|
|
|
"@fluidframework/core-utils": "workspace:~",
|
|
|
|
"@fluidframework/datastore": "workspace:~",
|
2024-09-13 23:17:21 +03:00
|
|
|
"@fluidframework/datastore-definitions": "workspace:~",
|
2024-09-10 10:40:15 +03:00
|
|
|
"@fluidframework/fluid-static": "workspace:~",
|
2024-09-14 02:44:04 +03:00
|
|
|
"@fluidframework/id-compressor": "workspace:~",
|
2024-09-10 10:40:15 +03:00
|
|
|
"@fluidframework/runtime-definitions": "workspace:~",
|
|
|
|
"@fluidframework/runtime-utils": "workspace:~",
|
2024-09-29 09:47:27 +03:00
|
|
|
"@fluidframework/shared-object-base": "workspace:~",
|
|
|
|
"@fluidframework/telemetry-utils": "workspace:~"
|
2024-09-04 00:22:07 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-11 00:23:26 +03:00
|
|
|
"@arethetypeswrong/cli": "^0.16.4",
|
2024-10-16 05:41:20 +03:00
|
|
|
"@biomejs/biome": "~1.9.3",
|
2024-11-05 22:56:25 +03:00
|
|
|
"@fluid-tools/build-cli": "^0.50.0",
|
2024-09-04 00:22:07 +03:00
|
|
|
"@fluidframework/build-common": "^2.0.3",
|
2024-11-05 22:56:25 +03:00
|
|
|
"@fluidframework/build-tools": "^0.50.0",
|
2024-09-29 09:47:27 +03:00
|
|
|
"@fluidframework/driver-definitions": "workspace:~",
|
2024-09-04 00:22:07 +03:00
|
|
|
"@fluidframework/eslint-config-fluid": "^5.4.0",
|
2024-09-29 09:47:27 +03:00
|
|
|
"@fluidframework/test-runtime-utils": "workspace:~",
|
|
|
|
"@fluidframework/test-utils": "workspace:~",
|
2024-09-12 01:25:57 +03:00
|
|
|
"@microsoft/api-extractor": "7.47.8",
|
2024-09-10 10:40:15 +03:00
|
|
|
"@types/mocha": "^9.1.1",
|
|
|
|
"@types/node": "^18.19.0",
|
2024-09-29 09:47:27 +03:00
|
|
|
"@types/sinon": "^17.0.3",
|
2024-09-10 10:40:15 +03:00
|
|
|
"c8": "^8.0.1",
|
2024-09-04 00:22:07 +03:00
|
|
|
"concurrently": "^8.2.1",
|
|
|
|
"copyfiles": "^2.4.1",
|
2024-09-10 10:40:15 +03:00
|
|
|
"cross-env": "^7.0.3",
|
2024-09-04 00:22:07 +03:00
|
|
|
"eslint": "~8.55.0",
|
2024-09-10 10:40:15 +03:00
|
|
|
"mocha": "^10.2.0",
|
|
|
|
"mocha-multi-reporters": "^1.5.1",
|
2024-09-04 00:22:07 +03:00
|
|
|
"prettier": "~3.0.3",
|
|
|
|
"rimraf": "^4.4.0",
|
2024-10-30 19:48:31 +03:00
|
|
|
"sinon": "^18.0.1",
|
2024-09-04 00:22:07 +03:00
|
|
|
"typescript": "~5.4.5"
|
|
|
|
},
|
|
|
|
"fluidBuild": {
|
|
|
|
"tasks": {
|
2024-09-10 10:40:15 +03:00
|
|
|
"build:test:esm:core-interfaces-no-exactOptionalPropertyTypes": [
|
2024-09-04 00:22:07 +03:00
|
|
|
"build:esnext"
|
|
|
|
],
|
|
|
|
"check:exports:bundle-release-tags": [
|
|
|
|
"build:esnext"
|
|
|
|
],
|
|
|
|
"check:exports:cjs:index": [
|
|
|
|
"tsc"
|
|
|
|
],
|
|
|
|
"check:exports:esm:index": [
|
|
|
|
"build:esnext"
|
2024-09-10 10:40:15 +03:00
|
|
|
],
|
|
|
|
"eslint": [
|
|
|
|
"build:esnext",
|
|
|
|
"^build:test:esm"
|
2024-09-04 00:22:07 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeValidation": {
|
|
|
|
"disabled": true,
|
2024-09-13 18:30:04 +03:00
|
|
|
"broken": {},
|
|
|
|
"entrypoint": "internal"
|
2024-09-04 00:22:07 +03:00
|
|
|
}
|
|
|
|
}
|