-
-
Notifications
You must be signed in to change notification settings - Fork 298
/
package.json
92 lines (92 loc) · 2.71 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
{
"name": "react-responsive",
"description": "Media queries in react for responsive design",
"version": "10.0.0",
"homepage": "http://github.com/yocontra/react-responsive",
"repository": {
"type": "git",
"url": "git://github.com/yocontra/react-responsive.git"
},
"author": "Contra <yo@contra.io> (https://contra.io)",
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src"
],
"keywords": [
"css",
"react-component",
"viewport",
"react",
"mobile",
"media queries",
"respond",
"media query",
"matchMedia",
"responsive",
"component"
],
"dependencies": {
"hyphenate-style-name": "^1.0.0",
"matchmediaquery": "^0.4.2",
"prop-types": "^15.6.1",
"shallow-equal": "^3.1.0"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@types/chai": "^4.3.1",
"@types/hyphenate-style-name": "^1.0.0",
"@types/jsdom": "^21.0.0",
"@types/match-media-mock": "^0.1.5",
"@types/matchmediaquery": "^0.3.0",
"@types/mocha": "^10.0.0",
"@types/react": "^18.0.4",
"@types/react-dom": "^18.0.0",
"@types/sinon": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"chai": "^5.0.0",
"cross-env": "^7.0.0",
"eslint": "^8.13.0",
"eslint-plugin-compat": "^4.0.2",
"gh-pages": "^6.0.0",
"jsdom": "^24.0.0",
"match-media-mock": "^0.1.1",
"mocha": "^10.0.0",
"prettier": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup": "^4.0.0",
"rollup-plugin-node-externals": "^7.0.0",
"should": "^13.2.1",
"sinon": "^17.0.0",
"tslib": "^2.6.2",
"tsx": "^4.7.1",
"typedoc": "^0.25.12",
"typescript": "^5.4.2"
},
"scripts": {
"preversion": "npm run clean && npm run build",
"postpublish": "npm run tag && npm run docs",
"prebuild": "npm run clean",
"build:types": "tsc --outDir ./dist/types --declaration --emitDeclarationOnly",
"build:lib": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"build": "npm run build:lib && npm run build:types",
"build:watch": "npm run build -- --watch",
"clean": "rimraf dist",
"tag": "git tag -a \"v$npm_package_version\" -m \"tag version $npm_package_version\" && git push origin master --tags",
"lint": "eslint --ext=ts,tsx . src test --fix && prettier . src test --write",
"test": "npx mocha -R spec ./test/setup.js test/*_test.{ts,tsx}",
"docs": "typedoc src/index.ts && gh-pages -d docs"
},
"engines": {
"node": ">=14"
}
}