-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
117 lines (117 loc) · 3.3 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
{
"name": "next-contentful",
"version": "0.5.0",
"description": "React library for integrating react-contentful into the server-side rendering of your Next.js app.",
"repository": "ryanhefner/next-contentful",
"keywords": [
"react",
"next",
"contentful",
"react-contentful",
"react-hoc",
"server-side rendering",
"ssr",
"rendering",
"server-side",
"nextjs",
"reactjs"
],
"author": "Ryan Hefner <hi@ryanhefner.com> (https://www.ryanhefner.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ryanhefner/next-contentful/issues"
},
"homepage": "https://github.com/ryanhefner/next-contentful#readme",
"files": [
"es",
"src",
"types",
"hoc-utils.js",
"index.js",
"initContentful.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 initContentful.js && rm -f withContentful.js && 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": "jest --findRelatedTests src/index.js"
},
"peerDependencies": {
"next": "^10.0.5",
"react": ">=16.3",
"react-dom": ">=16.3"
},
"dependencies": {
"@babel/runtime": "^7.8.4",
"@types/react": "^16.9.23",
"flatted": "^3.1.1",
"next-utils": "^0.1.3",
"prop-types": "^15.6.2",
"react-contentful": "^2.0.4",
"react-hoc-helpers": "^0.1.4"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.6",
"@babel/preset-react": "^7.8.3",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-polyfill": "^6.26.0",
"coveralls": "^3.0.9",
"dtslint": "^4.0.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"greenkeeper-lockfile": "^1.15.1",
"gzip-size": "^6.0.0",
"jest": "^26.6.3",
"jest-enzyme": "^7.1.2",
"jsdom": "^16.2.0",
"next": "10.0.5",
"pretty-bytes": "^5.3.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-test-renderer": "^16.13.0",
"regenerator-runtime": "^0.13.3",
"rollup": "^2.38.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-uglify": "^6.0.4",
"rollup-watch": "^4.3.1",
"typescript": "^4.1.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"
}
}