@techmynder/gitlab-ci-file-lint
Version:
Validate a GitLab pipeline YAML file using the official API.
78 lines (77 loc) • 2.41 kB
JSON
{
"name": "@techmynder/gitlab-ci-file-lint",
"description": "Validate a GitLab pipeline YAML file using the official API.",
"version": "2.0.0",
"author": "techmynder",
"license": "MIT",
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"gitlab",
"gitlab-ci",
".gitlab-ci.yml",
"lint",
"cli"
],
"homepage": "https://gitlab.com/techmynder/engineering/gitlab-ci-file-lint",
"repository": {
"type": "git",
"url": "gitlab:techmynder/engineering/gitlab-ci-file-lint"
},
"bugs": {
"url": "https://gitlab.com/techmynder/engineering/gitlab-ci-file-lint/-/issues"
},
"bin": "./bin/gitlab-ci-file-lint.js",
"source": "src/index.ts",
"exports": {
"require": "./dist/gitlab-ci-file-lint.js",
"default": "./dist/gitlab-ci-file-lint.modern.js"
},
"main": "./dist/gitlab-ci-file-lint.js",
"module": "./dist/gitlab-ci-file-lint.module.js",
"unpkg": "./dist/gitlab-ci-file-lint.umd.js",
"types": "./dist/types.d.ts",
"files": [
"bin",
"dist"
],
"devDependencies": {
"@babel/preset-typescript": "^7.21.0",
"@techmynder/gitlab-ci-file-lint": "^1.0.1",
"@types/jest": "^29.4.0",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"cross-env": "^7.0.3",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"fetch-mock-jest": "^1.5.1",
"jest": "^29.5.0",
"jest-junit": "^15.0.0",
"microbundle": "0.15.1",
"prettier": "^2.8.4",
"rimraf": "^4.4.0"
},
"dependencies": {
"chalk": "^4.1.2",
"dotenv": "^16.0.3",
"node-fetch": "^2.6.9"
},
"scripts": {
"lint": "yarn lint:ci && gitlab-ci-file-lint",
"lint:ci": "eslint 'src/**/' && prettier --check .",
"lint:fix": "eslint --fix 'src/**/' && prettier --write .",
"test": "jest --verbose --coverage --no-cache",
"test:watch": "jest --watch",
"test:ci": "jest --runInBand --ci --coverage --coverageDirectory=coverage --reporters=default --reporters=jest-junit",
"build": "rimraf ./dist && cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --visualize",
"build:watch": "microbundle --watch --tsconfig ./tsconfig.json"
}
}