-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
91 lines (91 loc) · 2.46 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
{
"name": "react-render-image",
"version": "3.0.1",
"description": "Render an image in React.",
"keywords": [
"react",
"react-load-image",
"react-image-load",
"image",
"load",
"img",
"render",
"render-prop",
"hook",
"use-image",
"use-image"
],
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"typings": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"repository": "jameslnewell/react-render-image",
"dependencies": {},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@jameslnewell/babel-preset": "^2.1.0",
"@jameslnewell/editor-config": "^1.0.1",
"@jameslnewell/eslint-config": "^0.16.0",
"@jameslnewell/jest-preset": "^2.0.0",
"@jameslnewell/prettier-config": "^1.0.1",
"@jameslnewell/rollup-config": "^1.0.1",
"@jameslnewell/typescript-config": "^3.0.0",
"@testing-library/react": "^11.0.2",
"@testing-library/react-hooks": "^3.4.1",
"@types/jest": "^26.0.13",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"eslint": "^7.9.0",
"gh-pages": "^3.1.0",
"husky": "^4.2.3",
"jest": "^26.4.2",
"parcel-bundler": "^1.12.4",
"prettier": "^2.1.1",
"pretty-quick": "^3.0.2",
"raf": "^3.4.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"rollup": "^2.26.11",
"typescript": "^4.0.2"
},
"scripts": {
"clean": "rm -rf ./dist ./example/dist",
"format": "prettier --write .",
"lint": "eslint --fix",
"type": "tsc",
"build:package": "rollup -c rollup.config.js",
"build:example": "parcel build example/index.html --out-dir example/dist",
"build": "yarn run build:package && yarn run build:example",
"deploy": "gh-pages -d ./example/dist",
"start": "parcel serve example/index.html --out-dir example/dist",
"test": "jest",
"test:watch": "jest --watch",
"prepublishOnly": "yarn run clean && yarn run lint && yarn run type && yarn run build && yarn run test",
"postpublish": "yarn run deploy"
},
"husky": {
"hooks": {
"pre-commit": ["pretty-quick --staged", "eslint --fix"]
}
},
"babel": {
"presets": [
"@jameslnewell/babel-preset"
]
},
"eslintConfig": {
"extends": "@jameslnewell/eslint-config/react"
},
"jest": {
"preset": "@jameslnewell/jest-preset"
},
"prettier": "@jameslnewell/prettier-config",
"license": "MIT"
}