UNPKG

gpc-step-groups

Version:

The StepGroups precompiler is responsible for correcting the gherkin keywords of steps to make the tests more readable.

90 lines 2.36 kB
{ "name": "gpc-step-groups", "version": "1.0.0", "description": "The StepGroups precompiler is responsible for correcting the gherkin keywords of steps to make the tests more readable.", "main": "index.js", "types": "index.d.ts", "scripts": { "build": "npm run buildUpdate && npm test && npm run typedoc", "buildUpdate": "npm run clean && npm run compile && npm run copyToDist", "copyToDist": "copyfiles -f *.txt *.md package.json dist", "typedoc": "typedoc --out ./docs ./src && touch ./docs/.nojekyll", "clean": "rimraf ./dist ./docs ./reports ./coverage", "test": "cross-env JEST_JUNIT_OUTPUT_DIR=./reports jest --coverage", "lint": "eslint . --ext .ts --fix", "compile": "tsc && npm run lint" }, "repository": { "type": "git", "url": "git+https://github.com/gherking/gpc-step-groups.git" }, "devDependencies": { "@types/debug": "^4.1.5", "@types/jest": "^26.0.20", "@types/node": "^14.14.21", "@typescript-eslint/eslint-plugin": "^4.14.1", "@typescript-eslint/parser": "^4.14.1", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "eslint": "^7.19.0", "jest": "^26.6.3", "jest-junit": "^12.0.0", "rimraf": "^3.0.2", "ts-jest": "^26.4.4", "typedoc": "^0.20.16", "typescript": "^4.1.3" }, "engines": { "node": ">=12.0.0" }, "dependencies": { "debug": "^4.3.1", "gherkin-ast": "^3.2.1", "gherking": "^2.0.0" }, "keywords": [ "Gherking", "Gherking", "Cucumber" ], "author": "The GherKing team", "license": "MIT", "bugs": { "url": "https://github.com/gherking/gpc-step-groups/issues" }, "homepage": "https://github.com/gherking/gpc-step-groups#readme", "jest": { "reporters": [ "default", "jest-junit" ], "transform": { "^.+\\.ts?$": "ts-jest" }, "testEnvironment": "node", "testMatch": [ "**/tests/**/*.test.ts" ], "testPathIgnorePatterns": [ "/node_modules/", "dist" ], "collectCoverage": true, "coverageDirectory": "./coverage", "collectCoverageFrom": [ "./src/**/*.ts" ], "moduleFileExtensions": [ "ts", "js" ], "coverageThreshold": { "global": { "branches": 95, "functions": 85, "lines": 85, "statements": 85 } } } }