UNPKG

@itwin/presentation-shared

Version:

The package contains types and utilities used across different iTwin.js Presentation packages.

72 lines 2.37 kB
{ "name": "@itwin/presentation-shared", "version": "1.2.1", "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": "^4.10.10" }, "devDependencies": { "@itwin/build-tools": "5.0.0-dev.67", "@itwin/eslint-plugin": "5.0.0-dev.1", "@types/chai": "^4.3.16", "@types/chai-as-promised": "^7.1.8", "@types/chai-subset": "^1.3.5", "@types/mocha": "^10.0.7", "@types/node": "^22.13.9", "@types/sinon": "^17.0.3", "@types/sinon-chai": "^3.2.12", "c8": "^10.1.2", "chai": "^4.4.1", "chai-as-promised": "^7.1.2", "chai-subset": "^1.6.0", "eslint": "^9.13.0", "mocha": "^10.7.3", "rimraf": "^6.0.1", "sinon": "^18.0.0", "sinon-chai": "^3.7.0", "typescript": "~5.7.3", "presentation-test-utilities": "^0.0.0" }, "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" } }