@cucumber/ci-environment

v10.0.0
Detect CI Environment from environment variables
cucumber

build:cjs

tsc --build tsconfig.build-cjs.json && shx cp package.cjs.json dist/cjs/package.json

build:esm

tsc --build tsconfig.build-esm.json

build

npm run build:cjs && npm run build:esm

pretest

npm run generate-ci-environments-ts

test

mocha && npm run test:cjs

test:cjs

npm run build:cjs && mocha --no-config dist/cjs/test

prepublishOnly

npm run build

eslint-fix

eslint --ext ts --max-warnings 0 --fix src test

eslint

eslint --ext ts --max-warnings 0 src test

generate-ci-environments-ts

shx cat CiEnvironments.ts.header ../CiEnvironments.json > src/CiEnvironments.ts && eslint --fix src/CiEnvironments.ts
npm i @cucumber/[email protected]

Metadata

  • MIT
  • Whatever
  • Cucumber Limited
  • released 11/16/2023

Downloads