This repository has been archived by the owner on Dec 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.98 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
99
{
"name": "use-element-query",
"description": "These React hooks make it easy for you to match with your media queries: be it the whole viewport or a container element",
"version": "1.1.0",
"author": "Vesa Piittinen <vesa.piittinen@gmail.com>",
"bugs": {
"url": "https://github.com/merri/use-element-query/issues"
},
"devDependencies": {
"@researchgate/babel-preset-rg": "1.1.0",
"@researchgate/eslint-config-rg-react": "^2.0.0",
"@storybook/addon-actions": "^3.2.16",
"@storybook/addon-knobs": "^3.4.4",
"@storybook/addon-options": "^3.2.16",
"@storybook/react": "^3.2.16",
"babel-cli": "^6.24.1",
"babel-eslint": "^8.0.2",
"babel-jest": "^21.0.0",
"babel-polyfill": "^6.26.0",
"conventional-github-releaser": "^2.0.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.4",
"eslint": "^4.11.0",
"eslint-config-prettier": "^2.8.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.3.0",
"eslint-plugin-react": "^7.5.1",
"husky": "^0.14.3",
"jest": "^21.0.0",
"lint-staged": "^6.0.0",
"prettier": "^1.8.2",
"raf": "^3.4.0",
"raw-loader": "^1.0.0-beta.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.12.0",
"rimraf": "^2.6.1",
"standard-version": "^4.2.0",
"storybook-readme": "^3.1.1",
"style-loader": "^0.19.0",
"validate-commit-msg": "^2.14.0"
},
"files": [
"lib"
],
"homepage": "https://github.com/merri/use-element-query#readme",
"keywords": [
"react",
"react hooks",
"hooks",
"container query",
"element query",
"matchMedia",
"responsive"
],
"license": "MIT",
"lint-staged": {
"{src,docs/docs}/**/*.js": [
"eslint --fix",
"git add"
]
},
"main": "lib/js/index.js",
"module": "lib/es/index.js",
"peerDependencies": {
"react": ">=16.8"
},
"repository": {
"type": "git",
"url": "https://github.com/merri/use-element-query.git"
},
"jest": {
"rootDir": "src",
"testMatch": [
"**/__tests__/**/*.spec.js"
],
"setupFiles": [
"raf/polyfill"
]
},
"scripts": {
"build": "yarn build:js && yarn build:es",
"build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore __tests__ --copy-files",
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files",
"build:storybook": "build-storybook --output-dir docs",
"clear": "rimraf ./lib",
"commitmsg": "validate-commit-msg",
"coverage": "yarn test -- --coverage",
"create-github-release": "conventional-github-releaser -p angular",
"format": "eslint --fix {src,docs/docs}/**/*.js",
"lint": "eslint {src,docs/docs}/.",
"precommit": "yarn lint-staged && yarn test",
"prepare": "yarn clear && yarn build",
"prepublishOnly": "yarn test",
"release": "standard-version",
"storybook": "start-storybook -p 9001 -c .storybook",
"test": "jest"
}
}