UNPKG

spanwright

Version:

CLI tool to generate Cloud Spanner E2E testing framework projects with Go database tools and Playwright browser automation

97 lines (96 loc) 2.83 kB
{ "name": "spanwright", "version": "2.3.1", "description": "CLI tool to generate Cloud Spanner E2E testing framework projects with Go database tools and Playwright browser automation", "main": "dist/index.js", "bin": { "spanwright": "dist/index.js" }, "files": [ "dist", "template", "README.md", "LICENSE", "CLAUDE.md", "CHANGELOG.md", "CONTRIBUTING.md", "SECURITY.md" ], "scripts": { "build": "tsc", "dev": "tsc --watch", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build", "test": "npm run e2e", "test:unit": "vitest run", "test:unit:watch": "vitest", "test:unit:coverage": "vitest run --coverage", "test:unit:ui": "vitest --ui", "test:all": "npm run test:unit && npm run e2e", "format": "prettier --write \"src/**/*.ts\" \"scripts/**/*.ts\"", "prepare": "npm run build", "e2e": "./scripts/run-e2e-test.sh", "update-go": "npx ts-node scripts/update-go-version.ts", "semantic-release": "semantic-release", "update-go-version": "npx ts-node scripts/update-go-version.ts", "lint:eslint": "eslint . --ext .ts,.tsx,.js,.jsx", "lint:prettier": "prettier --check .", "lint": "npm run lint:eslint && npm run lint:prettier", "fix:eslint": "npm run lint:eslint -- --fix", "fix:prettier": "npm run lint:prettier -- --write", "fix": "npm run fix:eslint && npm run fix:prettier" }, "keywords": [ "spanner", "e2e", "testing", "database", "playwright", "cloud-spanner", "emulator" ], "author": "nu0ma", "license": "MIT", "engines": { "node": ">=22.15.1" }, "repository": { "type": "git", "url": "https://github.com/nu0ma/spanwright.git" }, "homepage": "https://github.com/nu0ma/spanwright#readme", "bugs": { "url": "https://github.com/nu0ma/spanwright/issues" }, "preferGlobal": true, "dependencies": { "@types/node": "^24.0.10" }, "devDependencies": { "@eslint/js": "^9.30.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^9.2.6", "@semantic-release/npm": "^11.0.2", "@types/js-yaml": "^4.0.9", "@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/parser": "^8.35.1", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "eslint": "^9.30.1", "eslint-config-prettier": "^10.1.5", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unused-imports": "^4.1.4", "globals": "^16.3.0", "js-yaml": "^4.1.0", "prettier": "^3.6.2", "semantic-release": "^22.0.12", "ts-node": "^10.9.2", "typescript": "^5.8.3", "vitest": "^3.2.4" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }