UNPKG

synopkg

Version:

Consistent dependency versions in large JavaScript Monorepos

122 lines (121 loc) 4.25 kB
{ "name": "@fluidframework/protocol-definitions", "version": "4.0.0", "description": "Fluid protocol definitions", "homepage": "https://fluidframework.com", "repository": { "type": "git", "url": "https://github.com/microsoft/FluidFramework.git", "directory": "common/lib/protocol-definitions" }, "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" } }, "./legacy": { "import": { "types": "./lib/legacy.d.ts", "default": "./lib/index.js" }, "require": { "types": "./dist/legacy.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/public.d.ts", "scripts": { "api": "fluid-build . --task api", "api-extractor:commonjs": "flub generate entrypoints --outFileAlpha legacy --outDir ./dist", "api-extractor:esnext": "flub generate entrypoints --outFileAlpha legacy --outDir ./lib --node10TypeCompat", "build": "fluid-build . --task build", "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:release-tags": "api-extractor run --local --config ./api-extractor-lint.json", "ci:build": "npm run build:compile", "ci:build:docs": "api-extractor run", "ci:test": "echo No test for this package", "ci:test:coverage": "echo No test for this package", "clean": "rimraf --glob _api-extractor-temp dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\"", "eslint": "eslint --format stylish src", "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", "format": "npm run prettier:fix", "lint": "fluid-build . --task lint --task check:are-the-types-wrong", "lint:fix": "fluid-build . --task lint:fix", "prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore", "prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore", "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 --level public", "typetests:prepare": "flub typetests --dir . --reset --previous --normalize" }, "devDependencies": { "@arethetypeswrong/cli": "^0.15.2", "@fluid-tools/build-cli": "^0.49.0", "@fluidframework/build-common": "^2.0.3", "@fluidframework/build-tools": "^0.49.0", "@fluidframework/eslint-config-fluid": "^5.4.0", "@fluidframework/protocol-definitions-previous": "npm:@fluidframework/protocol-definitions@3.2.0", "@microsoft/api-extractor": "^7.45.1", "concurrently": "^6.2.0", "copyfiles": "^2.4.1", "eslint": "~8.55.0", "eslint-config-prettier": "~9.0.0", "prettier": "~3.0.3", "rimraf": "^2.6.2", "typescript": "~5.1.6" }, "packageManager": "pnpm@8.15.8+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392", "fluidBuild": { "tasks": { "tsc": [ "typetests:gen" ] } }, "pnpm": { "commentsOverrides": [ "sharp <0.32.6 has a vulnerability that Component Governance flags (https://github.com/advisories/GHSA-54xq-cgqr-rpm3). It's a transitive dependency through jssm-viz-cli, which hasn't updated to a version with the fix" ], "peerDependencyComments": [ "@types/node is a peer dependency because of build tools. The package is not needed because it's only used for compilation. It's not needed at runtime." ], "peerDependencyRules": { "ignoreMissing": [ "@types/node" ] }, "overrides": { "sharp": "^0.33.2" }, "patchedDependencies": { "@microsoft/api-extractor@7.45.1": "../../../patches/@microsoft__api-extractor@7.45.1.patch" } }, "typeValidation": { "broken": {} } }