contentful-cli

v0.17.0
Contentful CLI tool

dev

nodemon --exec npm run build -w lib

lint

eslint bin lib test

test

npm run test:coverage

build

npm run clean && babel lib -d dist

clean

rimraf dist

prepush

BABEL_ENV=test jest --changedSince master test/unit/**

test:e2e

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

precommit

lint-staged

test:jest

jest test/integration/cmds/**

test:unit

BABEL_ENV=test jest test/unit/** --verbose

build:package

npm run build:standalone && script/package

test:coverage

BABEL_ENV=test nyc npm run test:unit

test:unit:watch

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

build:standalone

npm run build && pkg --targets node8-macos-x64,node8-linux-x64,node8-win-x64 --out-dir build .

test:integration

BABEL_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

BABEL_ENV=test nyc --reporter=html npm run test:unit

pretest:integration

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

test:integration:ci

BABEL_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

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

pretest:integration:update

npm run pretest:integration

posttest:integration:update

npm run posttest:integration

Metadata

  • MIT
  • >=8
  • Contentful
  • released 11/20/2018

Downloads