UNPKG

electron-playwright-helpers

Version:

Helper functions for Electron end-to-end testing using Playwright

81 lines (80 loc) 2.71 kB
{ "name": "electron-playwright-helpers", "version": "2.1.0", "description": "Helper functions for Electron end-to-end testing using Playwright", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/**/*" ], "repository": "https://github.com/spaceagetv/electron-playwright-helpers", "homepage": "https://github.com/spaceagetv/electron-playwright-helpers#readme", "scripts": { "make": "npm run make:compile && npm run make:doc", "make:compile": "rimraf dist && tsc --project tsconfig.build.json", "make:doc": "npx jsdoc2md --template ./readme-template.hbs.md --files ./src/*.ts --configure ./jsdoc2md.json > ./README.md", "lint": "npx eslint src/**/*.ts", "lint:fix": "npx eslint src/**/*.ts --fix", "prepublish": "npm run make", "test": "npm run test:unit && npm run test:e2e", "test:unit": "mocha --require ts-node/register --timeout 5000 --recursive './test/**/*.ts' --exit", "test:e2e": "cd example-project && npm run e2e", "type-check": "tsc --noEmit", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "semantic-release": "semantic-release" }, "keywords": [ "Electron", "Playwright", "Typescript", "E2E", "E2E Testing" ], "author": "Jeff Robbins", "license": "MIT", "devDependencies": { "@babel/cli": "^7.21.5", "@babel/core": "^7.22.1", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/preset-env": "^7.22.4", "@babel/preset-typescript": "^7.21.5", "@playwright/test": "^1.48.2", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/git": "^10.0.1", "@types/chai": "^5.0.1", "@types/chai-as-promised": "7.1.8", "@types/mocha": "^10.0.9", "@typescript-eslint/eslint-plugin": "^5.59.8", "@typescript-eslint/parser": "^5.59.8", "chai": "^4.5.0", "chai-as-promised": "7.1.2", "conventional-changelog-conventionalcommits": "^5.0.0", "electron": "^27.3.11", "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "jsdoc-babel": "^0.5.0", "jsdoc-to-markdown": "^9.1.3", "mocha": "^10.8.2", "playwright-core": "^1.34.3", "prettier": "^2.8.8", "rimraf": "^6.0.1", "semantic-release": "^21.0.2", "ts-node": "^10.9.2", "typescript": "^5.6.3" }, "dependencies": { "@electron/asar": "^3.2.4" }, "prettier": { "singleQuote": true, "semi": false, "tabWidth": 2, "useTabs": false, "endOfLine": "lf" } }