d7f0325192
* Removed the concept of Providers entirely. Now extentions specify explicity extention types or archypes in their inject lists. Removed the concept of core-extensions entirely. All extensions are now equal. The concept of CameraProvider was replaced by SpeckleCamera which the SpeckleRenderer now uses and relie on the default camera controller extension to seed it. * Fixed some compile errors * Fixed compile errors. Had to make Extension concrete, but meh, it's fine I guess * fix viewer types * Removed generic arguments since they're no longer needed --------- Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
97 lines
2.5 KiB
JSON
97 lines
2.5 KiB
JSON
{
|
|
"name": "@speckle/viewer",
|
|
"version": "2.5.4",
|
|
"description": "A 3d viewer for Speckle, based on threejs.",
|
|
"homepage": "https://speckle.systems",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/specklesystems/speckle-server.git",
|
|
"directory": "packages/viewer"
|
|
},
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"./dist/assets/*": "./dist/assets/*",
|
|
"./assets/*": "./dist/assets/*"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"sourceType": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "NODE_ENV=production rollup --config",
|
|
"build:dev": "rollup --config",
|
|
"dev": "rollup --config --watch",
|
|
"prepack": "yarn build",
|
|
"lint": "eslint . --ext .js,.ts",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:run": "vitest run"
|
|
},
|
|
"author": "AEC Systems",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"speckle",
|
|
"aec",
|
|
"3d",
|
|
"3d viewer",
|
|
"threejs"
|
|
],
|
|
"dependencies": {
|
|
"@speckle/objectloader": "workspace:^",
|
|
"@types/flat": "^5.0.2",
|
|
"camera-controls": "^1.33.1",
|
|
"flat": "^5.0.2",
|
|
"hold-event": "^0.1.0",
|
|
"js-logger": "1.6.1",
|
|
"lodash-es": "^4.17.21",
|
|
"rainbowvis.js": "^1.0.1",
|
|
"string-to-color": "^2.2.2",
|
|
"three": "^0.140.0",
|
|
"three-mesh-bvh": "0.5.17",
|
|
"tree-model": "1.0.7",
|
|
"troika-three-text": "0.47.2",
|
|
"type-fest": "^4.15.0",
|
|
"underscore": "1.13.6"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.2",
|
|
"@babel/eslint-parser": "^7.18.2",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@rollup/plugin-babel": "^5.3.1",
|
|
"@rollup/plugin-image": "^3.0.2",
|
|
"@types/babel__core": "^7.20.1",
|
|
"@types/three": "^0.136.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
"@typescript-eslint/parser": "^5.39.0",
|
|
"@vitest/ui": "^1.4.0",
|
|
"core-js": "^3.21.1",
|
|
"eslint": "^8.11.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"jsdom": "^24.0.0",
|
|
"prettier": "^2.5.1",
|
|
"regenerator-runtime": "^0.13.7",
|
|
"rollup": "^2.70.1",
|
|
"rollup-plugin-delete": "^2.0.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
"typescript": "^4.5.4",
|
|
"vitest": "^1.4.0"
|
|
},
|
|
"gitHead": "5627e490f9a3ecadf19cc4686ad15f344d9ad2d3"
|
|
}
|