UNPKG

cy-mobile-commands

Version:

Mobile testing helper for Cypress

42 lines (41 loc) 1.44 kB
{ "name": "cy-mobile-commands", "version": "0.3.0", "description": "Mobile testing helper for Cypress", "main": "dist/index.js", "files": [ "dist/**/*" ], "scripts": { "build": "echo 'Building...'; tsc -d -t ES6 -m CommonJS --outDir dist/ index.ts", "build:watch": "tsc -d -t ES6 -m CommonJS --outDir dist/ --watch index.ts", "prepare": "npm run -s build", "test": "npm run -s build && echo 6 7 8 | xargs -d' ' -L1 npm run -s cypress:version:run", "cypress:open": "npm run -s build && npm run -s cypress -- open", "cypress:run": "npm run -s build && npm run -s cypress -- run", "cypress:version:run": "fn() { npm run -s cypress:version -- $1; cypress run; }; fn", "cypress:version": "fn() { V=${1:-8}; echo \"Cypress Version $V\"; (npm view cypress version | grep -q \"^$V\\.\") || npm install --no-save cypress@$V && echo Installed.; }; fn", "cypress": "npm run -s cypress:version -- ${CY_VERSION:-8}; cypress" }, "repository": { "type": "git", "url": "git+https://gitlab.com/nTopus/cy-mobile-commands.git" }, "keywords": [ "Cypress", "test", "BDD", "TDD", "mobile", "touch" ], "author": "Aurelio Heckert @ nTopus", "license": "ISC", "bugs": { "url": "https://gitlab.com/nTopus/cy-mobile-commands/issues" }, "homepage": "https://gitlab.com/nTopus/cy-mobile-commands#readme", "devDependencies": { "typescript": "^3.9.5" } }