UNPKG

gherkin-ast

Version:

JS model for Gherkin feature files

102 lines (101 loc) 2.46 kB
{ "name": "gherkin-ast", "version": "3.4.2", "description": "JS model for Gherkin feature files", "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": "dotenv-ng --var 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/gherkin-ast.git" }, "keywords": [ "Gherkin", "Feature", "Scenario", "Scenario", "Outline", "Background", "Step", "Examples" ], "author": "GherKing (https://github.com/gherking)", "license": "MIT", "files": [ "**/*.js", "**/*.d.ts", "**/*.js.map" ], "engines": { "node": ">=14.0.0" }, "bugs": { "url": "https://github.com/gherking/gherkin-ast/issues" }, "homepage": "https://github.com/gherking/gherkin-ast#readme", "devDependencies": { "@types/debug": "^4.1.11", "@types/jest": "^29.5.8", "@types/node": "^20.9.0", "@types/uuid": "^9.0.7", "@typescript-eslint/eslint-plugin": "^6.10.0", "@typescript-eslint/parser": "^6.10.0", "copyfiles": "^2.4.1", "dotenv-ng": "^1.1.4", "eslint": "^8.53.0", "jest": "^29.7.0", "jest-junit": "^16.0.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.1", "typedoc": "^0.25.3", "typescript": "^5.2.2" }, "dependencies": { "debug": "^4.3.4", "object-scan": "^17.1.0", "object-set-type": "^2.2.2", "uuid": "^9.0.1" }, "jest": { "reporters": [ "default", "jest-junit" ], "transform": { "^.+\\.ts?$": "ts-jest" }, "testEnvironment": "node", "testMatch": [ "**/tests/**/*.test.ts" ], "testPathIgnorePatterns": [ "/node_modules/", "dist" ], "coverageDirectory": "./coverage", "collectCoverageFrom": [ "./src/**/*.ts" ], "moduleFileExtensions": [ "ts", "js" ], "coverageThreshold": { "global": { "branches": 85, "functions": 85, "lines": 85, "statements": 85 } } } }