UNPKG

@syngrisi/syngrisi

Version:
176 lines (175 loc) 6.15 kB
{ "name": "@syngrisi/syngrisi", "version": "2.2.27-alpha.0", "description": "Syngrisi - Visual Testing Tool", "main": "./dist/server/server.js", "type": "commonjs", "bin": { "sy": "./dist/server/server.js" }, "repository": { "type": "git", "url": "git+https://github.com/syngrisi/syngrisi" }, "engines": { "node": ">=20" }, "files": [ "src", "dist", "mvc", "static", "src/tasks", "config.js", "server.js", "docker-compose.yml", ".nvmrc" ], "homepage": "https://github.com/syngrisi/syngrisi/tree/main/packages/syngrisi", "keywords": [ "testing", "regression", "visual", "screenshots", "comparison" ], "nodemonConfig": { "ignore": [ "mvc/views/lib/*.js" ], "include": [ "dist" ], "delay": 500 }, "scripts": { "server:watch": "npx tsup --watch --onSuccess \"node ./dist/server/server.js\" # compile all server ts files changes", "start": "if [ \"$NODE_ENV\" = \"development\" ]; then npm run server:watch; else node ./dist/server/server.js; fi", "start_old": "SYNGRISI_AUTH=false nodemon --ignore 'mvc/views/lib/*.js' --ignore 'tests'", "test": "npm run build && cd tests && npm run test", "build": "npm run build:ui && npm run build:server", "clean:server": "rimraf dist", "build:ui": "rm -rf mvc/views/react/assets && cross-env VITE_ROOT_PATH='./src/ui-app/' vite build", "build:server": "npm run clean:server&& npx tsup", "install:server": "npm i", "install:ui": "cd src/ui-app && npm i && cd --", "install:all": "npm run install:server && npm run install:ui", "test:docker": "cd tests && npm run test:docker", "smoke": "cd tests && npm run smoke", "dev": "cross-env VITE_SYNGRISI_BASED_URL='http://localhost:3000' VITE_INDEX_ROUTE='index2/' vite", "dev:admin": "cross-env VITE_SYNGRISI_BASED_URL='http://localhost:3000' VITE_INDEX_ROUTE='admin/' vite/' vite #(!) open http://localhost:8080/admin/ ", "build:watch": "cross-env VITE_ROOT_PATH='./src/ui-app/' vite build --watch", "pub": "np --yolo --no-publish", "starttest": "node server.js", "tasks:reindex": "node src/tasks/reindex.js", "tasks:backup": "node dist/src/tasks/backup.js", "tasks:restore": "node dist/src/tasks/restore.js", "tasks:migration_2_0": "node src/tasks/migrations/2.0.migration.js", "startservice": "forever start -l forever.log -o out.log -e err.log server.js", "clean": "read -p \"Are you sure you want to clean the project? [y/n] \" REPLY; if [[ $REPLY =~ ^[Yy]$ ]]; then mongosh SyngrisiDb --eval \"db.dropDatabase();\" && rm -f ./baselines/*.png; fi", "start_test": "cross-env SYNGRISI_DB_URI='mongodb://localhost/SyngrisiDbTest' nodemon server.js", "clear_test": "mongosh SyngrisiDbTest$CID --eval \"db.dropDatabase();\" && rm -rf ./baselinesTest/$CID", "clear_test_db_only": "mongosh SyngrisiDbTest$CID --eval \"db.dropDatabase();\"", "docker_clear_test": "rm -rf ./data/db_data && rm -rf ./baselinesTest/$CID", "docker_clear_test_db_only": "rm -rf ./data/db_data", "clear_test_screenshots_only": "rm -rf ./baselinesTest/$CID/*", "deadfile:be": "npx deadfile ./server.js --exclude tests src/tasks backups data docs mvc/views/react src/ui-app baseline*", "deadfile:fe": "deadfile ./mvc/views/react/index2/index.html ./mvc/views/react/auth/index.html --dir ./mvc/views/react", "pkglist": "npx npm-packlist # list of files that will be published in syngrisi package, show the files section" }, "author": { "name": "Viktar Silakou", "email": "1105714@gmail.com" }, "bugs": { "url": "https://github.com/syngrisi/syngrisi/issues" }, "license": "MIT", "dependencies": { "@asteasolutions/zod-to-openapi": "^7.0.0", "@inquirer/prompts": "^3.3.0", "@syngrisi/node-resemble.js": "^2.2.27-alpha.0", "@types/compression": "^1.7.5", "body-parser": "^1.19.0", "bottleneck": "^2.19.5", "bson": "^5.5.1", "chalk": "^4.1.2", "compression": "^1.7.4", "connect-mongo": "^5.1.0", "cookie-parser": "^1.4.6", "dotenv": "^16.0.0", "envalid": "^8.0.0", "eslint-plugin-custom-rules": "^0.0.0", "express": "^4.18.2", "express-fileupload": "^1.5.0", "express-session": "^1.17.1", "hasha": "^5.1.0", "helmet": "^7.1.0", "http-status": "^1.5.2", "mongoose": "^7.6.4", "nodemon": "^3.0.1", "p-queue": "^6.4.0", "passport": "^0.6.0", "passport-local": "^1.0.0", "passport-local-mongoose": "^8.0.0", "pino": "^8.16.1", "pino-http": "^8.5.1", "source-map-support": "^0.5.21", "string-table": "^0.1.5", "swagger-ui-express": "^5.0.1", "uuid-apikey": "^1.5.2", "winston": "^3.11.0", "winston-mongodb": "^5.1.1", "zod": "^3.23.8" }, "devDependencies": { "@playwright/test": "^1.43.1", "@types/cookie-parser": "^1.4.7", "@types/express": "^4.17.21", "@types/express-fileupload": "^1.5.0", "@types/express-session": "^1.18.0", "@types/fabric": "^4.5.12", "@types/jquery": "^3.5.14", "@types/mongoose": "^5.11.97", "@types/node": "^20.9.0", "@types/passport": "^1.0.16", "@types/passport-local": "^1.0.38", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", "@types/swagger-ui-express": "^4.1.6", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vitejs/plugin-react": "^2.0.0", "babel-eslint": "^10.1.0", "c8": "^8.0.1", "cross-env": "^7.0.3", "eslint": "^8.57.0", "eslint-plugin-custom": "file:.eslint", "form-data": "^4.0.0", "parcel": "^2.10.2", "rimraf": "^5.0.7", "sass": "^1.54.0", "tsup": "^8.1.0", "typescript": "^5.2.2", "vite": "^6.0.7", "vite-tsconfig-paths": "5.1.4" }, "nyc": { "all": true, "include": [ "src/server/**/*.js" ], "exclude": [ "**/*.test.js", "coverage/**", "node_modules/**" ], "reporter": [ "json" ], "extension": [ ".js" ] }, "gitHead": "fa622876bf565ec6e96c86f6b5343ed32e515a7e" }