This repository has been archived by the owner on Dec 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
95 lines (95 loc) · 2.5 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
{
"name": "@farfetch/react-context-responsive",
"version": "1.5.0",
"description": "A responsive API using React's Context API",
"license": "MIT",
"keywords": [
"react",
"responsive",
"context",
"css",
"viewport",
"mobile",
"media queries",
"media query",
"matchMedia",
"component"
],
"main": "./lib/index.js",
"module": "./es/index.js",
"source": "./src/index.js",
"files": [
"lib",
"es",
"index.d.ts"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/Farfetch/react-context-responsive.git"
},
"scripts": {
"test": "jest",
"lint": "eslint src/**/*.js && eslint tests/**/*.js",
"clean": "rimraf lib && rimraf es",
"build": "npm run clean && npm run build:cjs && npm run build:es",
"build:cjs": "babel src --out-dir lib --env-name cjs",
"build:es": "babel src --out-dir es --env-name es"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"(src/**/|tests/**/|webpack)*.js": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"css-mediaquery": "^0.1.2",
"prop-types": "^15.6.1"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@commitlint/config-conventional": "^9.0.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@testing-library/jest-dom": "^5.8.0",
"@testing-library/react": "^10.0.4",
"@types/react": "^16.9.56",
"@types/react-dom": "^16.9.9",
"babel-eslint": "^10.1.0",
"babel-plugin-add-module-exports": "^1.0.2",
"commitlint": "^8.0.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-sort-imports-es6-autofix": "^0.5.0",
"husky": "^2.4.0",
"jest": "^24.8.0",
"jest-watch-typeahead": "^0.6.0",
"lint-staged": "^9.2.5",
"prettier": "^2.0.5",
"react": "^16.9.0",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.9.0",
"react-test-renderer": "^15.6.2",
"rimraf": "^3.0.2",
"semantic-release": "^17.1.1",
"typescript": "^4.0.5"
}
}