-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
98 lines (98 loc) · 2.37 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
{
"name": "react-media-match",
"version": "1.14.4",
"description": "React made responsible",
"author": "Marina Korzunova<[email protected]>",
"license": "MIT",
"engines": {
"node": ">=10"
},
"types": "dist/es5/index.d.ts",
"files": [
"dist",
"targets"
],
"keywords": [
"react",
"media",
"responsible",
"adaptive",
"media-query"
],
"repository": "https://github.com/thearnica/react-media-match",
"dependencies": {
"tslib": "^1.9.3",
"prop-types": "^15.6.1"
},
"size-limit": [
{
"path": "dist/es2015/index.js",
"limit": "2.5 KB"
}
],
"sideEffects": false,
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@theuiteam/lib-builder": "^0.1.4",
"@size-limit/preset-small-lib": "^2.1.6",
"@types/node": "^14.0.5",
"@types/prop-types": "^15.7.1",
"@types/react": "^18.0.0",
"@types/react-test-renderer": "^16.8.1",
"codecov": "^3.0.2",
"enzyme": "^3.3.0",
"react-test-renderer": "^16.8.6"
},
"main": "dist/es5/index.js",
"jsnext:main": "dist/es2015/index.js",
"module": "dist/es2015/index.js",
"module:es2019": "dist/es2019/index.js",
"scripts": {
"dev": "lib-builder dev",
"test": "jest",
"test:ci": "jest --runInBand --coverage",
"build": "lib-builder build && yarn size:report",
"release": "yarn build && yarn test",
"size": "npx size-limit",
"size:report": "npx size-limit --json > .size.json",
"lint": "lib-builder lint",
"format": "lib-builder format",
"update": "lib-builder update",
"docz:dev": "docz dev",
"docz:build": "docz build",
"prepublish-only": "yarn build && yarn changelog",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{js,css,json,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
}