contentful-migration

v4.17.3
Migration tooling for contentful
contentful content model content type migration migrations migrate

cm

git-cz

lint

eslint 'examples/**/*.js' 'test/**/*.js' 'src/**/*.js' && tslint --project tsconfig-dev.json --config tslint.json -e '**/*.js'

test

NOCK_RECORD=0 npm run build && npm run test:unit && npm run test:integration && npm run test:e2e && npm run lint && npm run test:typescript-declaration

build

npm run clean && tsc -p tsconfig.json

clean

rimraf built

prepare

npm run build && husky install

lint:fix

prettier --write 'src/**/*.{ts,tsx,js,jsx}' 'test/**/*.{ts,tsx,js,jsx}' && eslint --fix 'examples/**/*.js' 'test/**/*.js' 'src/**/*.js' && tslint --fix --project tsconfig-dev.json --config tslint.json -e '**/*.js'

posttest

node test/teardown.js

test:e2e

NODE_ENV=test mocha 'test/end-to-end/**/*.spec.js'

build-dev

npm run clean && tsc -p tsconfig-dev.json

test:unit

NODE_ENV=test mocha --require test/setup-unit.js --recursive 'test/unit/**/**/*.spec.{js,ts}'

test:watch

npm run test:unit -- --watch

test:e2e:debug

NODE_ENV=test mocha debug 'test/end-to-end/**/*.spec.js'

test:unit:debug

NODE_ENV=test mocha debug --require test/setup-unit.js --recursive 'test/unit/**/**/*.spec.{js,ts}'

semantic-release

semantic-release

test:integration

NODE_ENV=test mocha --require test/integration/setup.js 'test/integration/**/*.spec.js'

travis-deploy-once

travis-deploy-once

test:integration:debug

NODE_ENV=test mocha debug --require test/integration/setup.js 'test/integration/**/*.spec.js'

test:typescript-declaration

tsc --strict --noEmit index.d.ts

Metadata

  • MIT
  • >=8.0.0
  • Contentful GmbH
  • released 10/24/2023

Downloads