forked from yocontra/react-responsive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.64 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
{
"name": "react-responsive",
"description": "Media queries in react for responsive design",
"version": "9.0.0-beta.10",
"homepage": "http://github.com/contra/react-responsive",
"repository": {
"type": "git",
"url": "git://github.com/contra/react-responsive.git"
},
"author": "Contra <[email protected]> (https://contra.io)",
"license": "MIT",
"main": "./dist/react-responsive.js",
"types": "./types/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"types"
],
"keywords": [
"css",
"react-component",
"viewport",
"react",
"mobile",
"media queries",
"respond",
"media query",
"matchMedia",
"responsive",
"component"
],
"dependencies": {
"hyphenate-style-name": "^1.0.0",
"matchmediaquery": "^0.3.0",
"prop-types": "^15.6.1",
"shallow-equal": "^1.2.1"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/hyphenate-style-name": "^1.0.0",
"@types/jsdom": "^16.2.6",
"@types/match-media-mock": "^0.1.5",
"@types/matchmediaquery": "^0.3.0",
"@types/mocha": "^9.0.0",
"@types/react": "^18.0.4",
"@types/react-dom": "^18.0.0",
"@types/sinon": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"chai": "^4.1.2",
"cross-env": "^7.0.0",
"eslint": "^8.13.0",
"eslint-plugin-compat": "^4.0.2",
"gh-pages": "^4.0.0",
"jsdom": "^19.0.0",
"match-media-mock": "^0.1.1",
"mocha": "^10.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"should": "^13.2.1",
"sinon": "^14.0.0",
"ts-loader": "^9.2.8",
"ts-node": "^10.0.0",
"typedoc": "^0.22.15",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
},
"scripts": {
"preversion": "npm run clean && npm run build",
"postpublish": "npm run tag && npm run docs",
"build:umd": "cross-env BUILD_MODE=umd webpack",
"build:umd-min": "cross-env BUILD_MODE=umd-min webpack",
"build:types": "tsc --outDir ./dist --declaration --emitDeclarationOnly",
"build": "npm run build:umd && npm run build:umd-min && 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",
"test": "npx mocha -R spec --require ts-node/register ./test/setup.js ./test/setup.js test/*_test.{ts,tsx}",
"docs": "typedoc src/index.ts && gh-pages -d docs"
},
"engines": {
"node": ">=0.10"
}
}