{ "name": "@speckle/preview-service", "private": true, "version": "2.5.4", "description": "Generate PNG previews of Speckle objects by using a headless viewer", "main": "bin/www", "homepage": "https://speckle.systems", "repository": { "type": "git", "url": "https://github.com/specklesystems/speckle-server.git", "directory": "packages/preview-service" }, "type": "module", "engines": { "node": "^18.19.0" }, "scripts": { "build:tsc:watch": "tsc -p ./tsconfig.build.json --watch", "build:webpack:watch": "webpack --env build --config webpack.config.renderPage.cjs --watch", "run:watch": "NODE_ENV=development LOG_PRETTY=true LOG_LEVEL=debug nodemon --exec \"yarn start\" --trace-deprecation --watch ./bin/www.js --watch ./dist", "dev": "concurrently \"npm:build:tsc:watch\" \"npm:build:webpack:watch\" \"npm:run:watch\"", "dev:headed": "PREVIEWS_HEADED=true yarn dev", "build:tsc": "rimraf ./dist/src && tsc -p ./tsconfig.build.json", "build:webpack": "webpack --env build --config webpack.config.renderPage.cjs", "build": "yarn build:tsc && yarn build:webpack", "lint": "yarn lint:tsc && yarn lint:eslint", "lint:ci": "yarn lint:tsc", "lint:tsc": "tsc --noEmit", "lint:eslint": "eslint .", "start": "node --loader=./dist/src/aliasLoader.js ./bin/www.js", "test": "NODE_ENV=test LOG_LEVEL=silent LOG_PRETTY=true vitest run --sequence.shuffle --exclude 'tests/acceptance/**/*.spec.ts'", "test:acceptance": "NODE_ENV=test LOG_LEVEL=debug LOG_PRETTY=true vitest run 'tests/acceptance/acceptance.spec.ts' --sequence.shuffle --hookTimeout 60000 --testNamePattern 'Acceptance'" }, "dependencies": { "@speckle/objectloader": "workspace:^", "@speckle/shared": "workspace:^", "@speckle/viewer": "workspace:^", "axios": "^1.7.7", "cookie-parser": "~1.4.4", "crypto": "^1.0.1", "dotenv": "^16.4.5", "esm-module-alias": "^2.2.0", "express": "^4.19.2", "file-type": "^16.5.4", "http-errors": "~1.6.3", "join-images": "^1.1.3", "knex": "^2.5.1", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "node-fetch": "^2.6.1", "pg": "^8.7.3", "pg-query-stream": "^4.2.3", "pino": "^8.7.0", "pino-http": "^8.2.1", "pino-pretty": "^9.1.1", "prom-client": "^14.0.1", "puppeteer": "^22.11.1", "sharp": "^0.32.6", "tarn": "^3.0.2", "yargs": "^17.3.0", "zlib": "^1.0.5", "znv": "^0.4.0", "zod": "^3.22.4" }, "devDependencies": { "@aws-sdk/client-s3": "^3.645.0", "@babel/core": "^7.17.5", "@types/express": "^4.17.13", "@types/lodash-es": "^4.17.6", "@types/node": "^18.19.38", "@vitest/coverage-istanbul": "^1.6.0", "babel-loader": "^8.2.2", "clean-webpack-plugin": "^4.0.0-alpha.0", "concurrently": "^8.2.2", "crypto-random-string": "^5.0.0", "csv-parse": "^5.5.6", "eslint": "^9.4.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-vitest": "^0.5.4", "html-webpack-plugin": "^5.3.1", "iconv-lite": "^0.6.3", "nodemon": "^2.0.20", "prettier": "^2.5.1", "rimraf": "^5.0.7", "typescript": "^4.6.4", "typescript-eslint": "^7.12.0", "vitest": "^1.6.0", "webpack": "^5.76.0", "webpack-cli": "^4.6.0", "webpack-dev-server": "^4.6.0" } }