contentful-migration
v0.10.0 contentful content model content type migration migrations migrate
lint
eslint 'examples/**/*.js' 'test/**/*.js' 'src/**/*.js' && tslint --project tsconfig.json --config tslint.json
test
npm run build && npm run test-unit && npm run test-integration && npm run test-e2e && npm run lint
build
npm run clean && tsc -p .
clean
rimraf built
cover
nyc --no-clean -s npm run test-unit && nyc --no-clean -s npm run test-integration && nyc --no-clean -s npm run test-e2e && nyc report
prepare
npm run build
coverage
npm run build && npm run cover && nyc report --reporter=text-lcov > coverage.lcov
test-e2e
NODE_ENV=test mocha 'test/end-to-end/**/*.spec.js'
cover-e2e
nyc npm run test-e2e
test-unit
NODE_ENV=test mocha --compilers ts-node/register --recursive test/unit/lib/
cover-unit
nyc npm run test-unit
test-watch
npm run test-unit -- --watch
coverage-report
npm run coverage && codecov && rm -rf ./nyc_output && rm coverage.lcov
test-integration
NODE_ENV=test mocha --require test/integration/setup.js 'test/integration/**/*.spec.js'
cover-integration
nyc npm run test-integration
npm i [email protected]
Metadata
- MIT
- >=8.0.0
- Contentful GmbH
- released 7/17/2018