/
package.json
87 lines (87 loc) · 1.99 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
{
"version": "0.0.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"repository": {
"url": "https://github.com/Jeanza94/jz-product-card",
"type": "git"
},
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"test:watch": "tsdx test --watch",
"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"
},
"name": "jz-product-card",
"author": "Jean Zapata",
"module": "dist/jz-product-card.esm.js",
"size-limit": [
{
"path": "dist/jz-product-card.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/jz-product-card.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@types/react-test-renderer": "^18.0.0",
"@babel/preset-env": "^7.19.0",
"@babel/preset-react": "^7.18.6",
"@rollup/plugin-image": "^2.1.1",
"@size-limit/preset-small-lib": "^8.0.1",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"babel-jest": "^29.0.2",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.0.2",
"postcss": "^8.4.16",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup-plugin-postcss": "^4.0.2",
"size-limit": "^8.0.1",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.8.2"
},
"keywords": [
"product",
"card"
],
"dependencies": {},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy",
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
}
}
}