@itwin/presentation-shared
Version:
The package contains types and utilities used across different iTwin.js Presentation packages.
70 lines • 2.29 kB
JSON
{
"name": "@itwin/presentation-shared",
"version": "1.2.8",
"description": "The package contains types and utilities used across different iTwin.js Presentation packages.",
"license": "MIT",
"author": {
"name": "Bentley Systems, Inc.",
"url": "http://www.bentley.com"
},
"repository": {
"type": "git",
"url": "https://github.com/iTwin/presentation.git",
"directory": "packages/shared"
},
"keywords": [
"Bentley",
"EC",
"ECSQL",
"iModel",
"iTwin.js",
"Presentation"
],
"type": "module",
"main": "lib/cjs/presentation-shared.js",
"types": "lib/cjs/presentation-shared",
"module": "lib/esm/presentation-shared.js",
"exports": {
".": {
"import": "./lib/esm/presentation-shared.js",
"require": "./lib/cjs/presentation-shared.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"@itwin/core-bentley": "^5.5.2"
},
"devDependencies": {
"@itwin/build-tools": "^5.5.2",
"@itwin/eslint-plugin": "5.1.0",
"@types/chai": "^5.2.3",
"@types/chai-as-promised": "^8.0.2",
"@types/mocha": "^10.0.10",
"@types/node": "^22.19.8",
"@types/sinon": "^17.0.4",
"@types/sinon-chai": "^4.0.0",
"c8": "^10.1.3",
"chai": "^5.3.3",
"chai-as-promised": "^8.0.2",
"eslint": "^9.39.2",
"mocha": "^11.7.5",
"rimraf": "^6.1.2",
"sinon": "^19.0.5",
"sinon-chai": "^4.0.1",
"typescript": "~5.7.3",
"presentation-test-utilities": "^0.0.1"
},
"scripts": {
"build": "npm run -s build:cjs && npm run -s build:esm",
"build:cjs": "node ../../scripts/package-cjs.mjs ./lib/cjs && tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"clean": "rimraf lib temp",
"cover": "c8 npm -s test",
"lint": "eslint \"./src/**/*.ts\"",
"test:dev": "mocha --enable-source-maps --config ./.mocharc.json",
"test": "npm run test:dev",
"extract-api": "betools extract-api --entry=presentation-shared --apiReportFolder=./api --apiReportTempFolder=./api/temp --apiSummaryFolder=./api --includeUnexportedApis",
"check-internal": "node ../../scripts/checkInternal.js --apiSummary ./api/presentation-shared.api.md",
"validate-markdowns": "node ../../scripts/validateMarkdowns.js README.md"
}
}