forked from contentful/contentful.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
179 lines (179 loc) · 6.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "@atoms-studio/contentful",
"description": "Client for Contentful's Content Delivery API",
"version": "0.0.0-determined-by-semantic-release",
"homepage": "https://www.contentful.com/developers/documentation/content-delivery-api/",
"main": "./dist/contentful.node.js",
"module": "./dist/contentful.mjs",
"jsnext:main": "./dist/es-modules/contentful.js",
"repository": {
"type": "git",
"url": "https://github.com/contentful/contentful.js.git"
},
"author": "Contentful <[email protected]>",
"license": "MIT",
"scripts": {
"clean": "rimraf dist",
"build2": "npm run clean && rollup -c",
"build": "npm run clean && npm run build:modules && npm run build:standalone",
"build:modules": "rollup -c",
"build:standalone": "NODE_ENV=development webpack && NODE_ENV=production webpack",
"build:standalone:log": "NODE_ENV=production WEBPACK_MODE=log webpack --json --profile --progress > webpack-build-log.json && webpack-bundle-analyzer webpack-build-log.json",
"postbuild": "npm run check:browser && npm run check:legacy && npm run check:node",
"check:legacy": "es-check es5 ./dist/contentful.legacy.js ./dist/contentful.legacy.min.js",
"check:browser": "es-check es2017 ./dist/contentful.browser.js ./dist/contentful.browser.min.js",
"check:node": "es-check es2017 ./dist/contentful.node.js ./dist/contentful.node.min.js",
"check:modules": "es-check es6 --module ./dist/contentful.mjs",
"docs:build": "jsdoc -c jsdoc.json",
"docs:dev": "npm run build && npm run docs:build",
"docs:watch": "nodemon --exec npm run docs:dev -w lib",
"docs:publish": "npm run docs:build && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful.js contentful",
"lint": "eslint lib test",
"pretest": "rimraf coverage && npm run lint",
"test": "npm run test:cover && npm run test:integration && npm run test:browser-local && npm run test:size",
"test:ci": "npm run build && ./node_modules/contentful-sdk-core/bin/test-ci.sh",
"test:cover": "BABEL_ENV=test node ./node_modules/istanbul/lib/cli.js cover ./test/runner | tap-spec",
"test:unit": "BABEL_ENV=test node ./test/runner | tap-spec",
"test:debug": "BABEL_ENV=test node debug ./test/runner",
"test:integration": "BABEL_ENV=test babel-node ./test/integration/runner.js | tap-spec",
"test:integration-debug": "BABEL_ENV=test babel-node debug ./test/integration/runner.js",
"test:browser-local": "BABEL_ENV=test karma start karma.conf.local.js",
"test:browser-remote": "BABEL_ENV=test karma start karma.conf.saucelabs.js",
"test:e2e": "node test/e2e/index.js",
"test:simulate-ci": "trevor",
"test:size": "bundlesize",
"test:prepush": "npm run build && npm run test:unit && npm run test:size",
"browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",
"prepublishOnly": "npm run build",
"postpublish": "npm run docs:publish && npm run clean",
"semantic-release": "semantic-release",
"devdep:build": "pushd ../contentful-sdk-core && npm run build && popd",
"devdep:clean": "pushd ../contentful-sdk-core && npm run clean && popd",
"devdep:install": "npm run devdep:build && rm -rf node_modules/contentful-sdk-core && npm install ../contentful-sdk-core && npm run devdep:clean",
"devdep:uninstall": "npm run devdep:clean && rimraf node_modules/contentful-sdk-core",
"precommit": "npm run lint",
"prepush": "npm run test:prepush"
},
"types": "./index.d.ts",
"files": [
"index.js",
"version.js",
"index.d.ts",
"dist"
],
"dependencies": {
"axios": "^0.21.1",
"contentful-resolve-response": "^1.3.0",
"contentful-sdk-core": "^6.5.0",
"fast-copy": "^2.1.0",
"json-stringify-safe": "^5.0.1"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/node": "^7.6.2",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.13.5",
"@babel/preset-env": "^7.6.2",
"@babel/register": "^7.6.2",
"@babel/runtime-corejs3": "^7.13.4",
"@contentful/browserslist-config": "^2.0.0",
"@semantic-release/changelog": "^5.0.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-inline-replace-variables": "^1.3.1",
"babel-plugin-rewire": "^1.0.0",
"blue-tape": "^1.0.0",
"bundlesize": "^0.18.0",
"contentful-sdk-jsdoc": "^2.2.0",
"core-js": "^3.2.1",
"cz-conventional-changelog": "^3.0.2",
"es-check": "^5.1.0",
"eslint": "^7.2.0",
"eslint-config-standard": "^16.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"express": "^4.15.4",
"husky": "^4.3.8",
"in-publish": "^2.0.0",
"istanbul": "^1.0.0-alpha.2",
"jsdoc": "^3.4.0",
"json": "^11.0.0",
"karma": "^6.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.0.0",
"karma-sauce-launcher": "^4.1.2",
"karma-tap": "^4.1.3",
"karma-webpack": "^4.0.2",
"mkdirp": "^1.0.3",
"nodemon": "^2.0.2",
"regenerator-runtime": "^0.13.7",
"require-all": "^3.0.0",
"rimraf": "^3.0.0",
"rollup": "^2.65.0",
"selenium-webdriver": "^4.0.0-alpha.5",
"semantic-release": "^17.0.4",
"sinon": "^11.0.0",
"tap-spec": "^5.0.0",
"trevor": "^2.2.0",
"webpack": "^4.0.0",
"webpack-bundle-analyzer": "^4.1.0",
"webpack-cli": "^4.1.0"
},
"engines": {
"node": ">=12"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"bundlesize": [
{
"path": "./dist/contentful.browser.js",
"maxSize": "40Kb"
},
{
"path": "./dist/contentful.browser.min.js",
"maxSize": "16Kb"
},
{
"path": "./dist/contentful.legacy.js",
"maxSize": "90Kb"
},
{
"path": "./dist/contentful.legacy.min.js",
"maxSize": "35Kb"
},
{
"path": "./dist/contentful.node.js",
"maxSize": "55Kb"
},
{
"path": "./dist/contentful.node.min.js",
"maxSize": "25Kb"
}
],
"release": {
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "build",
"scope": "deps",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/changelog",
"@semantic-release/github"
]
}
}