UNPKG

@contentstack/management

Version:

The Content Management API is used to manage the content of your Contentstack account

120 lines (119 loc) 4.9 kB
{ "name": "@contentstack/management", "version": "1.27.0", "description": "The Content Management API is used to manage the content of your Contentstack account", "main": "./dist/node/contentstack-management.js", "browser": "./dist/web/contentstack-management.js", "types": "./types/contentstackClient.d.ts", "directories": { "test": "test" }, "repository": { "type": "git", "url": "https://github.com/contentstack/contentstack-management-javascript.git" }, "nyc": { "exclude": [ "**/bulkOperation", "**/items", "**/test" ] }, "scripts": { "clean": "rimraf coverage && rimraf dist", "build": "npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall", "build:es5": "BABEL_ENV=es5 babel lib -d dist/es5", "build:es-modules": "BABEL_ENV=es-modules babel lib -d dist/es-modules", "buildall": "npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript", "buildnode": "webpack --config webpack/webpack.node.js --mode production", "buildreactnative": "webpack --config webpack/webpack.react-native.js --mode production", "buildnativescript": "webpack --config webpack/webpack.nativescript.js --mode production", "buildweb": "webpack --config webpack/webpack.web.js --mode production", "test": "npm run test:api && npm run test:unit", "test:sanity-test": "BABEL_ENV=test nyc --reporter=html mocha --require @babel/register ./test/sanity-check/sanity.js -t 30000 --reporter mochawesome --require babel-polyfill --reporter-options reportDir=mochawesome-report,reportFilename=mochawesome.json", "test:sanity": "npm run test:sanity-test || true", "test:sanity-report": "marge mochawesome-report/mochawesome.json -f sanity-report.html --inline && node sanity-report.mjs", "test:unit": "BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill", "test:unit:report:json": "BABEL_ENV=test nyc --reporter=clover --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter json --reporter-options output=report.json --require babel-polyfill", "test:typescript": "jest --testPathPattern=test/typescript --config ./jest.config.js --coverage", "test:debug": "BABEL_ENV=test mocha debug --require @babel/register ./test", "lint": "eslint lib test", "format": "eslint --fix lib test", "prepare": "npm run build", "pretest": "rimraf coverage && npm run lint", "pre-commit": "npm run lint && husky install && husky && chmod +x .husky/pre-commit && ./.husky/pre-commit", "prepush": "npm run test:unit", "generate:docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --readme README.md --verbose", "husky-check": "npx husky && chmod +x .husky/pre-commit" }, "engines": { "node": ">=8.0.0" }, "author": "Contentstack", "license": "MIT", "dependencies": { "@contentstack/utils": "^1.6.3", "assert": "^2.1.0", "axios": "^1.12.2", "buffer": "^6.0.3", "form-data": "^4.0.5", "husky": "^9.1.7", "lodash": "^4.17.21", "otplib": "^12.0.1", "qs": "^6.14.0", "stream-browserify": "^3.0.0" }, "keywords": [ "contentstack management api", "contentstack", "management api" ], "devDependencies": { "@babel/cli": "^7.28.0", "@babel/core": "^7.28.0", "@babel/eslint-parser": "^7.28.0", "@babel/plugin-transform-runtime": "^7.28.0", "@babel/preset-env": "^7.28.0", "@babel/register": "^7.27.1", "@babel/runtime": "^7.28.2", "@slack/bolt": "^4.4.0", "@types/chai": "^4.3.20", "@types/jest": "^28.1.8", "@types/lodash": "^4.17.20", "@types/mocha": "^8.2.3", "axios-mock-adapter": "^1.22.0", "babel-loader": "^8.4.1", "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-rewire": "^1.2.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", "babel-polyfill": "^6.26.0", "chai": "^4.5.0", "clean-webpack-plugin": "^4.0.0", "docdash": "^1.2.0", "dotenv": "^16.6.1", "eslint": "^8.57.1", "eslint-config-standard": "^13.0.1", "eslint-plugin-import": "^2.32.0", "eslint-plugin-node": "^9.2.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^4.1.0", "jest": "^28.1.3", "jsdoc": "^4.0.4", "mocha": "^11.7.1", "mocha-html-reporter": "^0.0.1", "mochawesome": "^7.1.3", "multiparty": "^4.2.3", "nock": "^10.0.6", "nyc": "^15.1.0", "os-browserify": "^0.3.0", "rimraf": "^6.0.1", "sinon": "^7.5.0", "string-replace-loader": "^3.1.0", "ts-jest": "^28.0.8", "typescript": "^4.9.5", "webpack": "^5.101.0", "webpack-cli": "^6.0.1", "webpack-merge": "6.0.1" }, "homepage": "https://www.contentstack.com" }