UNPKG

5.66 kBJSONView Raw
1{
2 "name": "contentful-management",
3 "version": "5.26.3",
4 "description": "Client for Contentful's Content Management API",
5 "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
6 "main": "./dist/contentful-management.node.js",
7 "types": "./typings/contentfulManagement.d.ts",
8 "module": "./dist/es-modules/contentful-management.js",
9 "engines": {
10 "node": ">=6"
11 },
12 "repository": {
13 "type": "git",
14 "url": "https://github.com/contentful/contentful-management.js.git"
15 },
16 "author": "Contentful <opensource@contentful.com>",
17 "license": "MIT",
18 "tonicExampleFilename": "tonic-example.js",
19 "scripts": {
20 "clean": "rimraf dist",
21 "build": "npm run clean && npm run build:modules && npm run build:standalone",
22 "build:modules": "BABEL_ENV=modules babel lib -d dist/es-modules/",
23 "build:standalone": "webpack && NODE_ENV=production webpack",
24 "build:standalone:log": "NODE_ENV=production WEBPACK_MODE=log webpack --json --profile --progress > webpack-build-log.json && webpack-bundle-analyzer webpack-build-log.json",
25 "docs:build": "jsdoc -c jsdoc.json",
26 "docs:dev": "npm run build && npm run docs:build",
27 "docs:watch": "nodemon --exec npm run docs:dev -w lib",
28 "docs:publish": "npm run docs:build && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful-management.js contentful-management",
29 "lint": "eslint lib test",
30 "format": "eslint --fix lib test",
31 "pretest": "rimraf coverage && npm run lint",
32 "test": "npm run test:cover && npm run test:integration && npm run test:browser-local && npm run test:size",
33 "test:ci": "./node_modules/contentful-sdk-core/bin/test-ci.sh",
34 "test:cover": "BABEL_ENV=test babel-node ./node_modules/istanbul/lib/cli.js cover ./test/runner | tap-spec",
35 "test:unit": "BABEL_ENV=test babel-node ./test/runner | tap-spec",
36 "test:debug": "BABEL_ENV=test babel-node debug ./test/runner",
37 "test:integration": "BABEL_ENV=test babel-node ./test/integration/integration-tests.js",
38 "test:browser-local": "BABEL_ENV=test karma start karma.conf.local.js",
39 "test:browser-remote": "BABEL_ENV=test karma start karma.conf.saucelabs.js",
40 "test:e2e": "node test/e2e/index.js",
41 "test:simulate-ci": "trevor",
42 "test:size": "bundlesize",
43 "test:prepush": "npm run build && npm run test:unit && npm run test:size",
44 "browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",
45 "presemantic-release": "npm run build",
46 "semantic-release": "semantic-release",
47 "postpublish": "npm run docs:publish && npm run clean",
48 "precommit": "npm run lint",
49 "prepush": "npm run test:prepush",
50 "prepare": "npm run build"
51 },
52 "files": [
53 "dist",
54 "tonic-example.js",
55 "typings"
56 ],
57 "dependencies": {
58 "axios": "^0.19.0",
59 "contentful-sdk-core": "^6.4.0",
60 "lodash": "^4.17.11"
61 },
62 "devDependencies": {
63 "@semantic-release/changelog": "^5.0.1",
64 "babel-cli": "^6.24.1",
65 "babel-core": "^6.26.3",
66 "babel-eslint": "^10.1.0",
67 "babel-loader": "^7.1.5",
68 "babel-minify-webpack-plugin": "^0.3.1",
69 "babel-plugin-inline-replace-variables": "^1.3.1",
70 "babel-plugin-lodash": "^3.3.4",
71 "babel-plugin-rewire": "^1.2.0",
72 "babel-plugin-transform-object-rest-spread": "^6.23.0",
73 "babel-preset-env": "^1.7.0",
74 "blue-tape": "^1.0.0",
75 "bundlesize": "^0.18.0",
76 "codecov": "^3.1.0",
77 "contentful-sdk-jsdoc": "^2.2.0",
78 "core-js": "^2.5.7",
79 "cz-conventional-changelog": "^3.1.0",
80 "delay": "^4.3.0",
81 "eslint": "^6.8.0",
82 "eslint-config-standard": "^14.1.1",
83 "eslint-plugin-import": "^2.14.0",
84 "eslint-plugin-node": "^11.1.0",
85 "eslint-plugin-promise": "^4.2.1",
86 "eslint-plugin-standard": "^4.0.1",
87 "express": "^4.16.4",
88 "husky": "^4.2.3",
89 "in-publish": "^2.0.0",
90 "istanbul": "^1.0.0-alpha.2",
91 "jsdoc": "^3.4.3",
92 "json": "^9.0.3",
93 "karma": "^5.0.1",
94 "karma-babel-preprocessor": "^8.0.1",
95 "karma-chrome-launcher": "^3.1.0",
96 "karma-firefox-launcher": "^1.0.1",
97 "karma-sauce-launcher": "^4.1.2",
98 "karma-tap": "^4.1.4",
99 "karma-webpack": "^4.0.2",
100 "lodash-webpack-plugin": "^0.11.5",
101 "require-all": "^3.0.0",
102 "rimraf": "^3.0.2",
103 "selenium-webdriver": "^3.5.0",
104 "semantic-release": "^17.0.4",
105 "sinon": "^9.0.1",
106 "tap-spec": "^5.0.0",
107 "trevor": "^2.2.0",
108 "webpack": "^4.23.1",
109 "webpack-bundle-analyzer": "^3.3.2",
110 "webpack-cli": "^3.1.2"
111 },
112 "config": {
113 "commitizen": {
114 "path": "./node_modules/cz-conventional-changelog"
115 }
116 },
117 "release": {
118 "plugins": [
119 [
120 "@semantic-release/commit-analyzer",
121 {
122 "releaseRules": [
123 {
124 "type": "build",
125 "scope": "deps",
126 "release": "patch"
127 }
128 ]
129 }
130 ],
131 "@semantic-release/release-notes-generator",
132 "@semantic-release/changelog",
133 "@semantic-release/npm",
134 "@semantic-release/github"
135 ]
136 },
137 "bundlesize": [
138 {
139 "path": "./dist/contentful-management.browser.js",
140 "maxSize": "71Kb"
141 },
142 {
143 "path": "./dist/contentful-management.browser.min.js",
144 "maxSize": "20Kb"
145 },
146 {
147 "path": "./dist/contentful-management.legacy.js",
148 "maxSize": "85Kb"
149 },
150 {
151 "path": "./dist/contentful-management.legacy.min.js",
152 "maxSize": "26Kb"
153 },
154 {
155 "path": "./dist/contentful-management.node.js",
156 "maxSize": "80Kb"
157 },
158 {
159 "path": "./dist/contentful-management.node.min.js",
160 "maxSize": "25Kb"
161 }
162 ]
163}