contentful-migration
v4.25.0 contentful content model content type migration migrations migrate
clean
rimraf built
build
npm run clean && tsc -p tsconfig.json
build-dev
npm run clean && tsc -p tsconfig-dev.json
prepare
npm run build && husky install
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
test:watch
npm run test:unit -- --watch
test:unit
NODE_ENV=test mocha --require test/setup-unit.js --recursive 'test/unit/**/**/*.spec.{js,ts}'
test:integration
NODE_ENV=test mocha --require test/integration/setup.js 'test/integration/**/*.spec.js'
posttest
node test/teardown.js
test:e2e
NODE_ENV=test mocha 'test/end-to-end/**/*.spec.js'
test:typescript-declaration
tsc --strict --noEmit index.d.ts
lint
eslint 'examples/**/*.js' 'test/**/*.js' 'src/**/*.js' && tslint --project tsconfig-dev.json --config tslint.json -e '**/*.js'
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'
semantic-release
semantic-release
travis-deploy-once
travis-deploy-once
test:unit:debug
NODE_ENV=test mocha debug --require test/setup-unit.js --recursive 'test/unit/**/**/*.spec.{js,ts}'
test:integration:debug
NODE_ENV=test mocha debug --require test/integration/setup.js 'test/integration/**/*.spec.js'
test:e2e:debug
NODE_ENV=test mocha debug 'test/end-to-end/**/*.spec.js'
cm
git-cz
npm i contentful-migration
Metadata
- MIT
- >=8.0.0
- Contentful GmbH
- released 10/4/2024