gitlab-ci-env
Version:
Get built-in environment variables exposed by GitLab CI.
56 lines (55 loc) • 1.7 kB
JSON
{
"name": "gitlab-ci-env",
"version": "11.0.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",
"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": "^20.9.0 || ^22.11.0 || >=24.0.0"
},
"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": "^38.0.1",
"dotenv": "^17.2.0",
"eslint": "^9.31.0",
"jest": "^30.0.4",
"jest-junit": "^16.0.0",
"markdownlint-cli2": "^0.18.1",
"prettier": "^3.6.2",
"typescript": "^5.8.3"
}
}