UNPKG

@touca/node

Version:

Touca SDK for JavaScript

66 lines (65 loc) 1.69 kB
{ "name": "@touca/node", "version": "1.7.0", "description": "Touca SDK for JavaScript", "license": "Apache-2.0", "homepage": "https://touca.io", "main": "dist/index.js", "types": "dist/index.d.ts", "author": { "name": "Pejman Ghorbanzade", "email": "pejman@touca.io" }, "bugs": { "url": "https://github.com/trytouca/trytouca/issues" }, "repository": { "type": "git", "url": "https://github.com/trytouca/trytouca", "directory": "sdk/js/packages/node" }, "files": [ "dist/**/*" ], "funding": { "type": "github", "url": "https://github.com/sponsors/trytouca" }, "keywords": [ "regression-testing", "snapshot-testing", "test-framework", "client-library" ], "publishConfig": { "access": "public" }, "type": "module", "exports": "./dist/index.js", "scripts": { "build": "tsc", "build:prod": "tsc -p tsconfig.prod.json", "build:fbs": "rm -f src/schema.ts && flatc --ts --ts-flat-files --filename-suffix \"\" -o src/ ../../../../config/flatbuffers/touca.fbs && mv src/touca.ts src/schema.ts && npm run format", "clean": "rimraf dist", "format": "prettier --write src/", "lint": "eslint . --ext .ts", "test": "vitest run --coverage --reporter verbose", "test:touca": "npm run build && node dist/app/sample_test.js" }, "dependencies": { "chalk": "^5.1.2", "flatbuffers": "^23.1.21", "ini": "^3.0.1", "semver": "^7.3.8", "yargs": "^17.6.2" }, "devDependencies": { "@types/ini": "^1.3.31", "@types/node": "^18.14.0", "@types/semver": "^7.3.13", "@types/yargs": "^17.0.16" }, "engines": { "node": ">=12.22.12" } }