-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
executable file
·90 lines (90 loc) · 2.88 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
{
"name": "imagekitio-react",
"version": "4.2.0",
"description": "React SDK for ImageKit.io which implements client-side upload and URL generation for use inside a react application.",
"scripts": {
"build:js": "rollup -c",
"build:types": "tsc --emitDeclarationOnly",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"build": "rm -rf dist*; npm run build:types && npm run build:js",
"test": "jest",
"test:ci": "jest --coverage && codecov",
"test:cov": "jest --coverage",
"test:e2e": "cypress open",
"test:watch": "jest --watch",
"serve:test-app": "export SKIP_PREFLIGHT_CHECK=true;npx [email protected] -s tests/test-app/build -p 4000 & cd tests/test-app/server && node server"
},
"repository": {
"type": "git",
"url": "https://github.com/imagekit-developer/imagekit-react"
},
"main": "dist/imagekitio-react.js",
"module": "dist/imagekitio-react.esm.js",
"browser": "dist/imagekitio-react.umd.js",
"browser:min": "dist/imagekitio-react.umd.min.js",
"types": "dist/types/index.d.ts",
"files": [
"dist",
"src"
],
"jest": {
"verbose": true,
"setupFilesAfterEnv": [
"<rootDir>/tests/jest/setupTests.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/tests/jest/mocks"
],
"modulePathIgnorePatterns": [
"<rootDir>/tests/cypress/"
]
},
"author": "ImageKit",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-export-default-from": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.7.4",
"@babel/runtime": "^7.7.6",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.0.17",
"babel-loader": "^8.0.6",
"babel-plugin-transform-class-properties": "^6.24.1",
"codecov": "^3.8.0",
"cypress": "^10.4.0",
"cypress-file-upload": "^5.0.8",
"cypress-log-to-output": "^1.1.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"jest": "^26.5.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"require-context.macro": "^1.2.2",
"rollup": "^2.28.2",
"rollup-plugin-extensions": "^0.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.3",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^9.2.0",
"typescript": "^4.8.2"
},
"dependencies": {
"imagekit-javascript": "^3.0.2",
"prop-types": "^15.7.2"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0"
}
}