contentful-sdk-core
Version:
Core modules for the Contentful JS SDKs
131 lines (130 loc) • 3.43 kB
JSON
{
"name": "contentful-sdk-core",
"version": "9.4.4",
"description": "Core modules for the Contentful JS SDKs",
"homepage": "https://www.contentful.com/developers/docs/javascript/",
"type": "module",
"main": "dist/cjs/index.cjs",
"module": "dist/index.js",
"types": "dist/types/index.d.ts",
"browser": {
"process": "process/browser"
},
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/contentful/contentful-sdk-core.git"
},
"author": "Contentful <opensource@contentful.com>",
"license": "MIT",
"scripts": {
"clean": "rimraf coverage && rimraf dist",
"build": "npm run clean && NODE_ENV=production rollup -c",
"lint": "eslint src test --ext '.ts'",
"test": "vitest --run",
"test:watch": "vitest",
"test:cover": "vitest --run --coverage",
"browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",
"prepublishOnly": "npm run build",
"semantic-release": "semantic-release",
"prettier": "prettier --write '**/*.{jsx,js,ts,tsx}'",
"prettier:check": "prettier --check '**/*.{jsx,js,ts,tsx}'"
},
"files": [
"dist"
],
"dependencies": {
"fast-copy": "^3.0.2",
"lodash": "^4.17.23",
"process": "^0.11.10",
"qs": "^6.15.0"
},
"devDependencies": {
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@semantic-release/changelog": "^6.0.3",
"@types/lodash": "^4.17.6",
"@types/node": "^24.10.1",
"@types/qs": "^6.9.10",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"@vitest/coverage-v8": "^2.0.2",
"axios": "^1.13.5",
"axios-mock-adapter": "^1.20.0",
"cz-conventional-changelog": "^3.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"opener": "^1.4.1",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"rollup": "^4.54.0",
"rollup-plugin-sourcemaps2": "^0.5.4",
"semantic-release": "^25.0.2",
"typescript": "^5.4.5",
"vitest": "^2.0.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json}": [
"prettier --write",
"eslint"
],
"*.md": [
"prettier --write"
]
},
"release": {
"branches": [
"master",
"next",
{
"name": "refactor/modern-esm-support",
"channel": "9.x-alpha",
"prerelease": true
},
{
"name": "beta",
"channel": "beta",
"prerelease": true
},
{
"name": "dev",
"channel": "dev",
"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"
}
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.18.0"
}
}