contentful-cli

v3.1.6
Contentful CLI tool

tsc

tsc

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

JEST_SUITE_NAME="Unit Tests" JEST_JUNIT_OUTPUT_NAME="e2e-tests.xml" cross-env jest --testPathPattern=test/e2e --verbose

precommit

npm run prettier:write && lint-staged

test:jest

jest test/integration/cmds/**

test:unit

JEST_SUITE_NAME="Unit Tests" JEST_JUNIT_OUTPUT_NAME="unit-tests.xml" jest --runInBand test/unit/** --verbose

tsc:watch

tsc --watch

postinstall

patch-package

build:package

npm run build:standalone && script/package

test:coverage

nyc npm run test:unit

prepublishOnly

npm run build:package

prettier:debug

npm run prettier -- --debug-check

prettier:write

npm run prettier -- --write

talkback-proxy

node test/proxy.js

test:unit:watch

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

build:standalone

npm run tsc && pkg .

semantic-release

semantic-release

test:integration

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

test:html-coverage

nyc --reporter=html npm run test:unit

test:integration:ci

NODE_ENV=test JEST_SUITE_NAME="Integration Tests" JEST_JUNIT_OUTPUT_NAME="integration-tests.xml" concurrently "npm:talkback-proxy" "npm:test:jest -- --runInBand" --success first --kill-others

test:integration:update

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

Metadata

  • MIT
  • >=18
  • Contentful
  • released 11/1/2023

Downloads