UNPKG

contentful-migration

Version:
170 lines (169 loc) 5.11 kB
{ "name": "contentful-migration", "version": "4.28.6", "description": "Migration tooling for contentful", "author": "Contentful GmbH", "license": "MIT", "main": "built/index", "keywords": [ "contentful", "content model", "content type", "migration", "migrations", "migrate" ], "directories": { "test": "test", "lib": "lib" }, "repository": { "type": "git", "url": "https://github.com/contentful/contentful-migration" }, "scripts": { "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", "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" }, "files": [ "README.md", "index.d.ts", "CHANGELOG.md", "bin", "built", "docs" ], "dependencies": { "@hapi/hoek": "^11.0.4", "axios": "^1.8.4", "bluebird": "^3.7.2", "callsites": "^3.1.0", "cardinal": "^2.1.1", "chalk": "^4.0.0", "contentful-management": "^11.48.1", "didyoumean2": "^7.0.4", "https-proxy-agent": "^5.0.0", "inquirer": "^8.1.2", "joi": "^17.4.0", "kind-of": "^6.0.3", "listr2": "^3.13.5", "lodash": "^4.17.15", "p-throttle": "^4.1.1", "uuid": "^10.0.0", "yargs": "^15.3.1" }, "devDependencies": { "@contentful/eslint-config-backend": "^10.2.1", "@semantic-release/changelog": "^6.0.0", "@types/bluebird": "^3.5.30", "@types/chai": "^4.2.11", "@types/chai-as-promised": "^8.0.2", "@types/hoek": "^4.1.3", "@types/inquirer": "^9.0.4", "@types/joi": "^17.2.3", "@types/lodash": "^4.14.149", "@types/mocha": "^10.0.1", "@types/node": "^22.3.0", "@types/sinon-chai": "^3.2.4", "@types/yargs": "^17.0.28", "chai": "^4.2.0", "chai-as-promised": "^8.0.0", "commitizen": "^4.2.2", "cz-conventional-changelog": "^3.3.0", "dirty-chai": "^2.0.1", "eslint": "^8.28.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-mocha": "^10.0.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-standard": "^5.0.0", "husky": "^7.0.4", "lint-staged": "^13.1.0", "mocha": "^10.2.0", "nixt": "^0.5.1", "nock": "^13.0.0", "prettier": "^3.0.3", "rewire": "^5.0.0", "rimraf": "^5.0.1", "semantic-release": "^22.0.12", "sinon": "^18.0.0", "sinon-chai": "^3.5.0", "source-map-support": "^0.5.16", "strip-ansi": "^6.0.0", "ts-node": "^10.0.0", "tslint": "^6.1.1", "tslint-config-prettier": "^1.18.0", "tslint-config-standard": "^9.0.0", "typescript": "^4.9.4", "zlib": "^1.0.5" }, "bin": { "contentful-migration": "./bin/contentful-migration" }, "engines": { "node": ">=8.0.0" }, "release": { "branches": [ "main", { "name": "beta", "channel": "beta", "prerelease": true } ], "plugins": [ [ "@semantic-release/commit-analyzer", { "releaseRules": [ { "type": "build", "scope": "deps", "release": "patch" } ] } ], "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/github" ] }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "lint-staged": { "*.{js,jsx}": [ "prettier --write", "eslint" ], "*.{ts,tsx}": [ "prettier --write", "tslint" ], "*.md": [ "prettier --write" ] } }