forked from ryanhefner/react-contentful
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.75 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
{
"name": "react-contentful",
"version": "2.0.5",
"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",
"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": "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.8.7",
"@contentful/rich-text-react-renderer": "^13.4.0",
"@types/react": "^16.9.23",
"contentful": "^7.14.0",
"contentful-parsers": "^0.2.11",
"flatted": "^2.0.1",
"hoist-non-react-statics": "^3.3.2",
"invariant": "^2.2.4",
"lomit": "^0.1.1",
"prop-types": "^15.7.2",
"react-hoc-helpers": "^0.1.4",
"react-is": "^16.13.0",
"warning": "^4.0.3"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@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.7",
"@babel/preset-react": "^7.8.3",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^25.1.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.0.9",
"dtslint": "^2.0.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"greenkeeper-lockfile": "^1.15.1",
"gzip-size": "^5.1.1",
"jest": "^25.1.0",
"jest-enzyme": "^7.1.2",
"jsdom": "^16.2.0",
"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": "^1.32.1",
"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",
"typescript": "^3.8.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"
}
}