@itwin/core-frontend
Version:
iTwin.js frontend components
104 lines • 4.5 kB
JSON
{
"name": "@itwin/core-frontend",
"version": "5.1.1",
"description": "iTwin.js frontend components",
"main": "lib/cjs/core-frontend.js",
"module": "lib/esm/core-frontend.js",
"typings": "lib/cjs/core-frontend",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/iTwin/itwinjs-core.git",
"directory": "core/frontend"
},
"keywords": [
"Bentley",
"BIM",
"iModel",
"digital-twin",
"iTwin"
],
"author": {
"name": "Bentley Systems, Inc.",
"url": "http://www.bentley.com"
},
"peerDependencies": {
"@itwin/core-common": "5.1.1",
"@itwin/appui-abstract": "5.1.1",
"@itwin/core-quantity": "5.1.1",
"@itwin/core-orbitgt": "5.1.1",
"@itwin/ecschema-metadata": "5.1.1",
"@itwin/core-geometry": "5.1.1",
"@itwin/core-bentley": "5.1.1",
"@itwin/ecschema-rpcinterface-common": "5.1.1"
},
"//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",
"@types/chai-as-promised": "^7",
"@types/sinon": "^17.0.2",
"@vitest/browser": "^3.0.6",
"@vitest/coverage-v8": "^3.0.6",
"cpx2": "^8.0.0",
"eslint": "^9.31.0",
"glob": "^10.3.12",
"playwright": "~1.47.1",
"rimraf": "^6.0.1",
"sinon": "^17.0.2",
"source-map-loader": "^5.0.0",
"typescript": "~5.6.2",
"typemoq": "^2.1.0",
"vitest": "^3.0.6",
"vite-multiple-assets": "^1.3.1",
"vite-plugin-static-copy": "2.2.0",
"webpack": "^5.97.1",
"@itwin/appui-abstract": "5.1.1",
"@itwin/core-common": "5.1.1",
"@itwin/build-tools": "5.1.1",
"@itwin/core-geometry": "5.1.1",
"@itwin/ecschema-metadata": "5.1.1",
"@itwin/ecschema-rpcinterface-common": "5.1.1",
"@itwin/core-orbitgt": "5.1.1",
"@itwin/core-quantity": "5.1.1",
"@itwin/core-bentley": "5.1.1"
},
"//dependencies": [
"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API",
"NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"
],
"dependencies": {
"@itwin/cloud-agnostic-core": "^2.2.4",
"@itwin/object-storage-core": "^2.3.0",
"@loaders.gl/core": "^3.1.6",
"@loaders.gl/draco": "^3.1.6",
"fuse.js": "^3.3.0",
"wms-capabilities": "0.4.0",
"@itwin/core-i18n": "5.1.1",
"@itwin/webgl-compatibility": "5.1.1"
},
"scripts": {
"build": "npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers",
"build:cjs": "npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs",
"build:esm": "npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm",
"clean": "rimraf -g lib .rush/temp/package-deps*.json",
"copy:public": "cpx \"./src/public/**/*\" ./lib/public",
"copy:js:cjs": "cpx \"./src/**/*.js\" ./lib/cjs",
"copy:js:esm": "cpx \"./src/**/*.js\" ./lib/esm",
"copy:workers": "cpx \"./lib/workers/webpack/parse-imdl-worker.js\" ./lib/public/scripts",
"docs": "betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts",
"extract-api": "betools extract-api --entry=core-frontend && npm run extract-extension-api",
"extract-extension-api": "eslint --no-inline-config -c extraction.eslint.config.js \"./src/**/*.ts\" 1>&2",
"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\"",
"pseudolocalize": "betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO",
"test": "npm run webpackTestWorker && vitest --run",
"cover": "npm run webpackTestWorker && vitest --run",
"webpackTests": "webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker",
"webpackTestWorker": "webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \"./lib/test/test-worker.js\" ./lib/test",
"webpackWorkers": "webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"
}
}