UNPKG

gpc-replacer

Version:

This GherKing Precompiler is responsible to replace keys in feature files with given values.

98 lines (97 loc) 2.44 kB
{ "name": "gpc-replacer", "version": "1.0.1", "description": "This GherKing Precompiler is responsible to replace keys in feature files with given values.", "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-replacer.git" }, "keywords": [ "gherkin", "gherking", "precompiler", "feature", "file" ], "author": "GherKing (https://github.com/gherking)", "license": "MIT", "bugs": { "url": "https://github.com/gherking/gpc-replacer/issues" }, "homepage": "https://github.com/gherking/gpc-replacer#readme", "files": [ "**/*.js", "**/*.d.ts", "**/*.js.map" ], "engines": { "node": ">=12.0.0" }, "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": "^13.0.0", "rimraf": "^3.0.2", "ts-jest": "^26.4.4", "typedoc": "^0.22.10", "typescript": "^4.1.3" }, "dependencies": { "debug": "^4.3.1", "gherkin-ast": "^3.3.0", "gherking": "^2.1.0" }, "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 } } } }