contentful-cli

v1.12.36
Contentful CLI tool

lint

eslint bin lib test

test

npm run test:coverage

audit

resolve-audit

prepush

jest --changedSince master test/unit/**

prettier

prettier --config .prettierrc "./*.js" "{./lib,./test,./docs,.}/**/*.{js,json,md}"

test:e2e

cross-env jest --testPathPattern=test/e2e --verbose

precommit

npm run prettier:write && lint-staged

test:jest

jest test/integration/cmds/**

test:unit

jest --runInBand test/unit/** --verbose

build:package

npm run build:standalone && script/package

test:coverage

nyc npm run test:unit

prettier:debug

npm run prettier -- --debug-check

prettier:write

npm run prettier -- --write

test:unit:watch

jest test/unit/** --verbose --watch

build:standalone

pkg --targets node12-macos-x64,node12-linux-x64,node12-win-x64 --out-dir build .

semantic-release

semantic-release

test:integration

NODE_ENV=test concurrently "npm:run-talkback-proxy" "npm:test:jest" --success first --kill-others

test:simulate-ci

trevor

run-talkback-proxy

node test/proxy.js

test:html-coverage

nyc --reporter=html npm run test:unit

pretest:integration

node test/integration/scripts/pre-test.js

test:integration:ci

NODE_ENV=test concurrently "npm:run-talkback-proxy" "npm:test:jest -- --runInBand" --success first --kill-others

posttest:integration

node test/integration/scripts/post-test.js

pretest:integration:ci

npm run pretest:integration

posttest:integration:ci

npm run posttest:integration

test:integration:update

NODE_ENV=test concurrently "npm:run-talkback-proxy" "npm:test:jest -- --updateSnapshot --runInBand" --success first --kill-others

pretest:integration:update

npm run pretest:integration

posttest:integration:update

npm run posttest:integration

Metadata

  • MIT
  • >=8
  • Contentful
  • released 5/19/2022

Downloads