UNPKG

gplint

Version:

A Gherkin linter/validator written in Javascript.

103 lines (102 loc) 2.69 kB
{ "name": "gplint", "version": "2.3.0", "description": "A Gherkin linter/validator written in Javascript.", "author": "Luis Zurro", "homepage": "https://gplint.github.io", "repository": { "type": "git", "url": "https://github.com/gplint/gplint" }, "bugs": { "url": "https://github.com/gplint/gplint/issues" }, "funding": [ { "type": "ko-fi", "url": "https://ko-fi.com/nyaran" }, { "type": "Buy me a coffee", "url": "https://www.buymeacoffee.com/nyaran" } ], "license": "ISC", "keywords": [ "gherkin", "pickle", "cucumber", "cucumberjs", "linter", "lint" ], "type": "module", "exports": "./build/index.js", "bin": { "gplint": "bin/gplint.js" }, "scripts": { "clean": "rimraf ./build", "compile": "tsc", "compile:watch": "npm run compile -- --watch --listFiles", "prebuild": "node -p \"'export const LIB_VERSION = \\'' + require('./package.json').version + '\\';'\" > src/version.ts", "build": "run-s clean compile", "postbuild": "node -p \"'export const LIB_VERSION = \\'0.0.0\\';'\" > src/version.ts", "prepare": "npm run build", "demo": "node ./build/cli/index.js -c ./test-data-wip/.gplintrc test-data-wip/**", "lint": "eslint --max-warnings 0 ./src ./test", "test": "run-s -c -n lint test:unit:cov", "test:unit": "cross-env NODE_ENV=test mocha --recursive", "test:unit:cov": "c8 npm run test:unit" }, "types": "./build/index.d.ts", "dependencies": { "@cucumber/gherkin": "31.0.0", "@cucumber/gherkin-streams": "5.0.1", "chalk": "5.3.0", "glob": "11.0.0", "lodash": "4.17.21", "strip-ansi": "7.1.0", "strip-json-comments": "5.0.1", "text-table": "0.2.0", "ts-node": "^10.9.2", "xml-js": "1.6.11", "yargs": "17.7.2" }, "devDependencies": { "@eslint/js": "9.20.0", "@types/chai": "5.0.1", "@types/eslint__js": "8.42.3", "@types/lodash": "4.17.15", "@types/mocha": "10.0.10", "@types/mock-fs": "4.13.4", "@types/node": "22.13.1", "@types/sinon": "17.0.3", "@types/text-table": "0.2.5", "@types/yargs": "17.0.33", "c8": "10.1.3", "chai": "5.1.2", "cross-env": "7.0.3", "eslint": "9.20.0", "eslint-plugin-chai-friendly": "1.0.1", "eslint-plugin-promise": "7.2.1", "mocha": "11.1.0", "mock-fs": "5.5.0", "npm-run-all": "4.1.5", "rimraf": "6.0.1", "sinon": "19.0.2", "typescript": "5.7.3", "typescript-eslint": "8.23.0" }, "engines": { "node": ">=18.0.0" }, "directories": { "lib": "./src", "test": "./test" }, "files": [ "/build", "/CHANGELOG.md" ] }