-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.03 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
{
"version": "1.0.0-rc",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"repository": {
"url": "https://github.com/jdanign/jd-product-card",
"type": "git"
},
"homepage": "",
"engines": {
"node": ">=10"
},
"keywords": [
"product",
"card",
"Dani García"
],
"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": "jd-product-card-react",
"author": "Dani",
"module": "dist/jd-product-card.esm.js",
"size-limit": [
{
"path": "dist/jd-product-card.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/jd-product-card.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@rollup/plugin-image": "^3.0.3",
"@size-limit/preset-small-lib": "^11.1.2",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react-test-renderer": "^18.0.7",
"babel-jest": "^29.7.0",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup-plugin-postcss": "^4.0.2",
"size-limit": "^11.1.2",
"tsdx": "^0.14.1",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
},
"dependencies": {
"postcss": "^8.4.38"
},
"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"
}
}
}