contentful-migration
v4.9.6 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'
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
npm i [email protected]
Metadata
- MIT
- >=8.0.0
- Contentful GmbH
- released 9/28/2022