1 | {
|
2 | "name": "react-responsive",
|
3 | "description": "Media queries in react for responsive design",
|
4 | "version": "9.0.0-beta.5",
|
5 | "homepage": "http://github.com/contra/react-responsive",
|
6 | "repository": {
|
7 | "type": "git",
|
8 | "url": "git://github.com/contra/react-responsive.git"
|
9 | },
|
10 | "author": "Contra <yo@contra.io> (https://contra.io)",
|
11 | "license": "MIT",
|
12 | "main": "./dist/react-responsive.js",
|
13 | "types": "./dist/index.d.ts",
|
14 | "sideEffects": false,
|
15 | "files": [
|
16 | "dist",
|
17 | "src"
|
18 | ],
|
19 | "keywords": [
|
20 | "css",
|
21 | "react-component",
|
22 | "viewport",
|
23 | "react",
|
24 | "mobile",
|
25 | "media queries",
|
26 | "respond",
|
27 | "media query",
|
28 | "matchMedia",
|
29 | "responsive",
|
30 | "component"
|
31 | ],
|
32 | "dependencies": {
|
33 | "hyphenate-style-name": "^1.0.0",
|
34 | "matchmediaquery": "^0.3.0",
|
35 | "prop-types": "^15.6.1",
|
36 | "shallow-equal": "^1.2.1"
|
37 | },
|
38 | "peerDependencies": {
|
39 | "react": ">=16.8.0"
|
40 | },
|
41 | "devDependencies": {
|
42 | "@stae/linters": "^1.0.0",
|
43 | "@types/chai": "^4.2.15",
|
44 | "@types/hyphenate-style-name": "^1.0.0",
|
45 | "@types/jsdom": "^16.2.6",
|
46 | "@types/match-media-mock": "^0.1.5",
|
47 | "@types/matchmediaquery": "^0.3.0",
|
48 | "@types/mocha": "^9.0.0",
|
49 | "@types/react": "^17.0.2",
|
50 | "@types/react-dom": "^17.0.1",
|
51 | "@types/sinon": "^10.0.0",
|
52 | "@typescript-eslint/eslint-plugin": "^5.0.0",
|
53 | "@typescript-eslint/parser": "^5.0.0",
|
54 | "chai": "^4.1.2",
|
55 | "cross-env": "^7.0.0",
|
56 | "eslint": "^7.0.0",
|
57 | "gh-pages": "^3.1.0",
|
58 | "jsdom": "^18.0.0",
|
59 | "match-media-mock": "^0.1.1",
|
60 | "mocha": "^9.0.0",
|
61 | "react": "^17.0.0",
|
62 | "react-dom": "^17.0.0",
|
63 | "should": "^13.2.1",
|
64 | "sinon": "^12.0.0",
|
65 | "ts-loader": "^3.0.0",
|
66 | "ts-node": "^10.0.0",
|
67 | "typedoc": "0.21.4",
|
68 | "typescript": "^4.1.5",
|
69 | "webpack": "^3.0.0"
|
70 | },
|
71 | "scripts": {
|
72 | "preversion": "npm run clean && npm run build",
|
73 | "postpublish": "npm run tag && npm run docs",
|
74 | "build:umd": "cross-env BUILD_MODE=umd webpack",
|
75 | "build:umd-min": "cross-env BUILD_MODE=umd-min webpack",
|
76 | "build": "npm run build:umd && npm run build:umd-min",
|
77 | "build:watch": "npm run build -- --watch",
|
78 | "clean": "rimraf dist",
|
79 | "tag": "git tag -a \"v$npm_package_version\" -m \"tag version $npm_package_version\" && git push origin master --tags",
|
80 | "lint": "eslint --ext=ts,tsx src test --fix",
|
81 | "test": "cross-env NODE_PATH=$NODE_PATkH:$PWD/src ts-node ./node_modules/.bin/mocha -R spec --require ./test/setup.js test/*_test.ts",
|
82 | "docs": "typedoc src/index.ts --theme minimal && gh-pages -d docs"
|
83 | },
|
84 | "engines": {
|
85 | "node": ">=0.10"
|
86 | }
|
87 | }
|