-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
114 lines (114 loc) · 2.54 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
{
"version": "0.1.5",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"keywords": [
"react",
"image",
"placeholder",
"loading"
],
"repository": {
"type": "git",
"url": "https://github.com/shubham-sns/react-img-placeholder.git"
},
"homepage": "https://github.com/shubham-sns/react-img-placeholder",
"name": "react-img-placeholder",
"author": "Shubham Sananse",
"module": "dist/react-img-placeholder.esm.js",
"size-limit": [
{
"path": "dist/react-img-placeholder.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-img-placeholder.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/preset-react": "^7.14.5",
"@size-limit/preset-small-lib": "^4.12.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^13.1.9",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/testing-library__jest-dom": "^5.14.0",
"eslint-plugin-jest-dom": "^3.9.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^4.6.0",
"husky": "^6.0.0",
"jest-environment-jsdom-sixteen": "^2.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^4.12.0",
"tsdx": "^0.14.1",
"tslib": "^2.2.0",
"typescript": "^4.3.2"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"modulePaths": [
"<rootDir>/src"
],
"testEnvironment": "jest-environment-jsdom-sixteen"
},
"extends": [
"plugin:jest-dom/recommended",
"plugin:react-hooks/recommended",
"plugin:testing-library/recommended",
"plugin:testing-library/react"
],
"plugins": [
"react-hooks",
"jest-dom",
"testing-library"
],
"overrides": [
{
"env": {
"node": true,
"commonjs": true,
"browser": true,
"jest": true
}
}
]
}