UNPKG

3.28 kBJSONView Raw
1{
2 "name": "contentful-sdk-core",
3 "version": "9.0.0",
4 "description": "Core modules for the Contentful JS SDKs",
5 "homepage": "https://www.contentful.com/developers/docs/javascript/",
6 "type": "module",
7 "main": "dist/index.js",
8 "types": "dist/types/index.d.ts",
9 "browser": {
10 "process": "process/browser"
11 },
12 "engines": {
13 "node": ">=18"
14 },
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/contentful/contentful-sdk-core.git"
18 },
19 "author": "Contentful <opensource@contentful.com>",
20 "license": "MIT",
21 "scripts": {
22 "clean": "rimraf coverage && rimraf dist",
23 "build": "npm run clean && tsc --outDir dist",
24 "lint": "eslint src test --ext '.ts'",
25 "pretest": "npm run lint",
26 "test": "vitest --run",
27 "test:watch": "vitest",
28 "test:cover": "vitest --run --coverage",
29 "browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",
30 "prepublishOnly": "npm run build",
31 "semantic-release": "semantic-release",
32 "prettier": "prettier --write '**/*.{jsx,js,ts,tsx}'",
33 "prettier:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
34 "prepare": "husky"
35 },
36 "files": [
37 "dist"
38 ],
39 "dependencies": {
40 "fast-copy": "^3.0.2",
41 "lodash": "^4.17.21",
42 "p-throttle": "^6.1.0",
43 "process": "^0.11.10",
44 "qs": "^6.12.3"
45 },
46 "devDependencies": {
47 "@semantic-release/changelog": "^6.0.3",
48 "@semantic-release/commit-analyzer": "^13.0.0",
49 "@semantic-release/github": "^10.0.6",
50 "@semantic-release/npm": "^12.0.1",
51 "@semantic-release/release-notes-generator": "^14.0.0",
52 "@types/lodash": "^4.17.6",
53 "@types/qs": "^6.9.10",
54 "@typescript-eslint/eslint-plugin": "^5.11.0",
55 "@typescript-eslint/parser": "^5.11.0",
56 "@vitest/coverage-v8": "^2.0.2",
57 "axios": "^1.7.2",
58 "axios-mock-adapter": "^1.20.0",
59 "cz-conventional-changelog": "^3.1.0",
60 "eslint": "^8.57.0",
61 "eslint-config-prettier": "^9.1.0",
62 "eslint-config-standard": "^17.0.0",
63 "eslint-plugin-standard": "^5.0.0",
64 "husky": "^9.0.11",
65 "lint-staged": "^14.0.1",
66 "opener": "^1.4.1",
67 "prettier": "^3.3.2",
68 "rimraf": "^5.0.7",
69 "semantic-release": "^21.0.5",
70 "typescript": "^5.4.5",
71 "vitest": "^2.0.2"
72 },
73 "lint-staged": {
74 "*.{js,jsx,ts,tsx}": [
75 "prettier --write",
76 "eslint"
77 ],
78 "*.md": [
79 "prettier --write"
80 ]
81 },
82 "husky": {
83 "hooks": {
84 "pre-commit": "lint-staged"
85 }
86 },
87 "release": {
88 "branches": [
89 "master",
90 "next",
91 {
92 "name": "refactor/modern-esm-support",
93 "channel": "9.x-alpha",
94 "prerelease": true
95 }
96 ],
97 "plugins": [
98 [
99 "@semantic-release/commit-analyzer",
100 {
101 "releaseRules": [
102 {
103 "type": "build",
104 "scope": "deps",
105 "release": "patch"
106 }
107 ]
108 }
109 ],
110 "@semantic-release/release-notes-generator",
111 "@semantic-release/npm",
112 "@semantic-release/changelog",
113 "@semantic-release/github"
114 ]
115 },
116 "config": {
117 "commitizen": {
118 "path": "./node_modules/cz-conventional-changelog"
119 }
120 },
121 "optionalDependencies": {
122 "@rollup/rollup-linux-x64-gnu": "^4.18.0"
123 }
124}