UNPKG

gitlab-ci-env

Version:

Get built-in environment variables exposed by GitLab CI.

57 lines (56 loc) 1.74 kB
{ "name": "gitlab-ci-env", "version": "13.1.0", "description": "Get built-in environment variables exposed by GitLab CI.", "exports": "./index.js", "types": "./index.d.ts", "scripts": { "build:types": "tsc index.js --declaration --allowJs --emitDeclarationOnly --types node", "hooks:pre-commit": "npm run lint && npm run prettier:check", "hooks:pre-push": "npm audit --audit-level=high && npm test", "lint": "npm run lint:js && npm run lint:md", "lint:js": "eslint .", "lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"", "prettier:check": "prettier --check .", "prettier:fix": "prettier --write .", "test": "jest --ci index.test.js", "test:all": "npm test && npm run test:var", "test:no-coverage": "jest --ci --collectCoverage false index.test.js", "test:var": "jest --ci variables.test.js" }, "repository": { "type": "git", "url": "https://gitlab.com/gitlab-ci-utils/gitlab-ci-env.git" }, "keywords": [ "gitlab", "ci", "continuous integration", "environment", "variable" ], "author": "Aaron Goldenthal <npm@aarongoldenthal.com>", "license": "MIT", "engines": { "node": "^22.11.0 || ^24.11.0 || >=26" }, "files": [ "./index.js", "./index.d.ts" ], "bugs": { "url": "https://gitlab.com/gitlab-ci-utils/gitlab-ci-env/issues" }, "homepage": "https://gitlab.com/gitlab-ci-utils/gitlab-ci-env", "devDependencies": { "@aarongoldenthal/eslint-config-standard": "^46.0.3", "@types/node": "^24.13.2", "dotenv": "^17.4.2", "eslint": "^10.5.0", "jest": "^30.4.2", "jest-junit": "^17.0.0", "markdownlint-cli2": "^0.22.1", "prettier": "^3.8.4", "typescript": "^6.0.3" } }