e6cd2ab441
* feat: basic structure for running tests * feat: added test to ci * feat: added server test (wip) * refactor: restuctured entrypoint * feat: added supertest * fix: missing deps * fix: test example ci * fix: updated default envs * feat: debug ci * feat: switch browser * fix: superadmin ci * feat: try another image * fix: try another image with node * fix: mr comments * fix: ci job * chore: workaround to push the image * chore: try with new base image * chore: retry * chore: retry * chore: retry * chore: retry * chore: retry * fix: test via debug * fix: envbar * chore: wrapped up changes, cleaned mr * chore: fix linter and skiped puppeteer download * fix: removed paralelism * fix: paralelism issues
66 lines
2.0 KiB
JSON
66 lines
2.0 KiB
JSON
{
|
|
"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": "^22.6.0"
|
|
},
|
|
"scripts": {
|
|
"build:frontend": "yarn workspace @speckle/preview-frontend build",
|
|
"link:frontend": "yarn build:frontend && rimraf ./public && ln -s ../preview-frontend/dist ./public",
|
|
"dev": "tsx --env-file=.env --watch src/main.ts",
|
|
"publishTask": "tsx --env-file=.env scripts/publishTask.ts",
|
|
"test": "NODE_ENV=test vitest run --sequence.shuffle",
|
|
"test:ci": "NODE_ENV=test LOG_LEVEL=silent LOG_PRETTY=true vitest run --sequence.shuffle",
|
|
"lint": "yarn lint:tsc && yarn lint:eslint",
|
|
"lint:ci": "yarn lint:tsc",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint:eslint": "eslint .",
|
|
"build": "tsc -p ./tsconfig.build.json"
|
|
},
|
|
"dependencies": {
|
|
"@godaddy/terminus": "^4.12.1",
|
|
"@speckle/shared": "workspace:^",
|
|
"bull": "^4.16.4",
|
|
"dotenv": "^16.4.7",
|
|
"esm-module-alias": "^2.2.1",
|
|
"express": "^4.19.2",
|
|
"pino": "^8.7.0",
|
|
"pino-http": "^8.6.1",
|
|
"pino-pretty": "^9.1.1",
|
|
"prom-client": "^14.0.1",
|
|
"puppeteer": "^23.9.0",
|
|
"znv": "^0.4.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.5.1",
|
|
"@swc/core": "^1.9.3",
|
|
"@types/express": "^4.17.13",
|
|
"@types/node": "^18.19.38",
|
|
"@types/pngjs": "^6.0.5",
|
|
"eslint": "^9.4.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-vitest": "^0.5.4",
|
|
"pixelmatch": "^7.1.0",
|
|
"pngjs": "^7.0.0",
|
|
"prettier": "^2.5.1",
|
|
"rimraf": "^6.0.1",
|
|
"supertest": "^7.1.3",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^4.6.4",
|
|
"typescript-eslint": "^7.12.0",
|
|
"vitest": "^1.6.0"
|
|
}
|
|
}
|