-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
137 lines (137 loc) · 4.16 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
{
"name": "react-contentful",
"version": "2.0.31",
"description": "React library for interacting with and rendering Contenful data.",
"repository": "ryanhefner/react-contentful",
"keywords": [
"react",
"contentful",
"contentful-api",
"react-components",
"react-hoc",
"react-hook",
"api"
],
"author": "Ryan Hefner <[email protected]> (https://www.ryanhefner.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ryanhefner/react-contentful/issues"
},
"homepage": "https://github.com/ryanhefner/react-contentful#readme",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ryanhefner"
},
{
"type": "patreon",
"url": "https://www.patreon.com/ryanhefner"
},
{
"type": "opencollective",
"url": "https://opencollective.com/ryanhefner"
}
],
"files": [
"es",
"parsers",
"src",
"types",
"umd",
"ContentfulCache.js",
"ContentfulClient.js",
"ContentfulContext.js",
"ContentfulProvider.js",
"index.js",
"helpers.js",
"Query.js",
"useContentful.js",
"withContentful.js"
],
"directories": {
"lib": "/src"
},
"main": "index.js",
"module": "es/index.js",
"jsnext:main": "src/index.js",
"types": "types",
"scripts": {
"clean": "rm -f index.js && rm -f helpers.js && rm -f ContentfulCache.js && rm -f ContentfulClient.js && rm -f ContentfulContext.js && rm -f ContentfulProvider.js && rm -f Query.js && rm -f useContentful.js && rm -f withContentful.js && rm -rf parsers && rm -rf es && rm -rf umd",
"prebuild": "npm run clean",
"build": "node ./tools/build.js",
"watch": "babel ./src -d . --ignore __mocks__,__tests__,**/*.test.js --watch",
"prepare": "npm run build",
"prepublishOnly": "node ./tools/build.js",
"push-release": "git push origin master && git push --tags",
"dtslint": "dtslint types",
"test": "snyk test && jest --findRelatedTests src/ContentfulClient.js src/ContentfulProvider.js src/helpers.js src/Query.js src/useContentful.js src/withContentful.js",
"test:ci": "jest --findRelatedTests src/ContentfulClient.js src/ContentfulProvider.js src/helpers.js src/Query.js src/useContentful.js src/withContentful.js"
},
"peerDependencies": {
"react": ">=16.3",
"react-dom": ">=16.3"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@types/react": "^16.14.2",
"contentful": "^8.0.3",
"contentful-parsers": "^1.2.17",
"flatted": "^3.1.0",
"hoist-non-react-statics": "^3.3.2",
"invariant": "^2.2.4",
"prop-types": "^15.7.2",
"react-hoc-helpers": "^0.1.19",
"react-is": "^16.13.1",
"warning": "^4.0.3"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.6.0",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-polyfill": "^6.26.0",
"coveralls": "^3.1.0",
"dtslint": "^4.0.4",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"greenkeeper-lockfile": "^1.15.1",
"gzip-size": "^5.1.1",
"jest": "^26.6.0",
"jest-enzyme": "^7.1.2",
"jsdom": "^16.4.0",
"pretty-bytes": "^5.4.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"regenerator-runtime": "^0.13.7",
"rollup": "^2.32.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"snyk": "^1.419.0",
"typescript": "^4.0.3"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/*.test.js"
],
"setupFiles": [
"<rootDir>/tools/jest-setup.js"
],
"setupFilesAfterEnv": [
"./node_modules/jest-enzyme/lib/index.js"
],
"testURL": "http://localhost"
}
}