contentful-cli

v0.14.1
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

npm run test:unit

test:e2e

npm run test:e2e:setup && npm run test:e2e:run && npm run config:restore

precommit

npm run lint

test:unit

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

test:e2e:run

BABEL_ENV=test ava test/integration/cmds/** --verbose

build:package

npm run build:standalone && script/package

test:coverage

BABEL_ENV=test nyc npm run test:unit

config:restore

test/integration/scripts/post-test.sh

test:e2e:fresh

npm run test:e2e:setup && npm run test:e2e:update && npm run config:restore

test:e2e:setup

test/integration/scripts/pre-test.sh

test:e2e:watch

BABEL_ENV=test ava test/integration/cmds/** --verbose --watch

test:e2e:update

BABEL_ENV=test ava test/integration/cmds/** --verbose --update-snapshots

test:unit:watch

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

build:standalone

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

test:simulate-ci

trevor

test:html-coverage

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

Metadata

  • MIT
  • >=8
  • Contentful
  • released 5/29/2018

Downloads