UNPKG

@itwin/core-backend

Version:
133 lines 5.39 kB
{ "name": "@itwin/core-backend", "version": "5.1.2", "description": "iTwin.js backend components", "main": "lib/cjs/core-backend.js", "module": "lib/esm/core-backend.js", "typings": "lib/cjs/core-backend", "license": "MIT", "engines": { "node": "^20.0.0 || ^22.0.0" }, "repository": { "type": "git", "url": "https://github.com/iTwin/itwinjs-core.git", "directory": "core/backend" }, "keywords": [ "Bentley", "BIM", "iModel", "digital-twin", "iTwin" ], "author": { "name": "Bentley Systems, Inc.", "url": "http://www.bentley.com" }, "peerDependencies": { "@opentelemetry/api": "^1.0.4", "@itwin/core-bentley": "5.1.2", "@itwin/core-geometry": "5.1.2", "@itwin/core-common": "5.1.2", "@itwin/ecschema-metadata": "5.1.2" }, "peerDependenciesMeta": { "@opentelemetry/api": { "optional": true } }, "//devDependencies": [ "NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install", "NOTE: All tools used by scripts in this package must be listed as devDependencies" ], "devDependencies": { "@itwin/eslint-plugin": "5.2.2-dev.2", "@opentelemetry/api": "1.0.4", "@types/chai": "4.3.1", "@types/chai-as-promised": "^7", "@types/deep-equal-in-any-order": "^1.0.4", "@types/fs-extra": "^4.0.7", "@types/mocha": "^10.0.6", "@types/multiparty": "^0.0.31", "@types/node": "~20.17.0", "@types/semver": "7.3.10", "@types/sinon": "^17.0.2", "@types/touch": "^3.1.2", "@types/ws": "^7.0.0", "@xmldom/xmldom": "~0.8.10", "chai": "^4.3.10", "chai-as-promised": "^7.1.1", "cpx2": "^8.0.0", "deep-equal-in-any-order": "^2.0.6", "dotenv": "^16.4.5", "dotenv-expand": "^5.1.0", "eslint": "^9.31.0", "fs-extra": "^8.1.0", "glob": "^10.3.12", "mocha": "^11.1.0", "node-simctl": "~7.6.1", "null-loader": "^4.0.1", "nyc": "^17.1.0", "rimraf": "^6.0.1", "sinon": "^17.0.2", "source-map-loader": "^5.0.0", "typescript": "~5.6.2", "marked": "^14.1.3", "sql-formatter": "^15.4.6", "webpack": "^5.97.1", "@itwin/build-tools": "5.1.2", "@itwin/core-geometry": "5.1.2", "@itwin/ecschema-metadata": "5.1.2", "@itwin/core-common": "5.1.2", "@itwin/ecsql-common": "5.1.2", "@itwin/core-bentley": "5.1.2", "internal-tools": "3.0.0-dev.69", "@itwin/ecschema-locaters": "5.1.2" }, "dependencies": { "@bentley/imodeljs-native": "5.1.68", "@itwin/cloud-agnostic-core": "^2.2.4", "@itwin/object-storage-azure": "^2.3.0", "@itwin/object-storage-core": "^2.3.0", "form-data": "^4.0.4", "fs-extra": "^8.1.0", "inversify": "~6.0.1", "json5": "^2.2.3", "linebreak": "^1.1.0", "multiparty": "^4.2.1", "reflect-metadata": "^0.1.13", "semver": "^7.5.2", "touch": "^3.1.0", "ws": "^7.5.10" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" }, "scripts": { "build": "npm run -s build:cjs && npm run -s build:esm && npm run -s copy:assets && npm run -s copy:test-assets && npm run -s copy:ecsqltestmdfiles", "build:cjs": "tsc 1>&2 --outDir lib/cjs", "build:esm": "tsc 1>&2 --module ES2022 --outDir lib/esm", "clean": "rimraf -g lib .rush/temp/package-deps*.json ../../tools/internal/ios/core-test-runner/build ../../tools/internal/lib", "docs": "betools docs --json=../../generated-docs/core/core-backend/file.json --tsIndexFile=./core-backend.ts --onlyJson --excludeGlob=**/*.d.ts", "copy:assets": " npm run -s copy:assets:cjs && npm run -s copy:assets:esm", "copy:assets:cjs": "cpx \"./src/assets/**/*\" ./lib/cjs/assets", "copy:assets:esm": "cpx \"./src/assets/**/*\" ./lib/esm/assets", "copy:ecsqltestmdfiles": "cpx \"./src/test/ecsql/queries/*\" ./lib/cjs/test/ecsql/queries", "copy:config": "internal-tools copy-config", "copy:test-assets": "cpx \"./src/test/assets/**/*\" ./lib/cjs/test/assets", "cover": "nyc npm -s test", "extract-api": "betools extract-api --entry=core-backend", "lint": "eslint \"./src/**/*.ts\" 1>&2", "lint-fix": "eslint --fix -f visualstudio \"./src/**/*.ts\" 1>&2", "lint-deprecation": "eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \"./src/**/*.ts\"", "test": "mocha", "test:debug": "mocha --inspect-brk", "ios:webpack:tests": "TESTS_GLOB=./lib/esm/**/*.test.js webpack --config ../../tools/internal/ios/ios.webpack.config.js", "ios:copy:assets": "cpx \"./src/test/assets/**/*\" ../../tools/internal/lib/ios/assets/assets && cpx \"./src/assets/**/*\" ../../tools/internal/lib/ios/assets/assets", "ios:build:tests": "npm run -s build && npm run -s ios:webpack:tests && npm run -s ios:copy:assets", "ios:build:core-test-runner": "cd ../../tools/internal/ios/core-test-runner && xcrun xcodebuild -derivedDataPath ./build/DerivedData build CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO PROVISIONING_PROFILE_SPECIFIER= -scheme core-test-runner -arch arm64 -sdk iphonesimulator -configuration Debug", "ios:tests:simulator": "node scripts/runUnitTestsIosSimulator.mjs", "ios:all": "npm run ios:build:tests && npm run ios:build:core-test-runner && npm run ios:tests:simulator" } }