-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.63 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
{
"name": "@drawbotics/use-screen-size",
"version": "2.0.1",
"description": "Hook used to get the current screen size for responsive behaviour",
"main": "lib/index.js",
"author": "Nicolaos Moscholios <[email protected]>",
"license": "UNLICENSED",
"scripts": {
"clean": "rimraf lib/",
"build": "NODE_ENV=production babel src --out-dir lib/",
"test:watch": "BABEL_ENV=test jest --watch",
"prepublishOnly": "npm run clean && npm test && npm run build",
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://github.com/Drawbotics/use-screen-size"
},
"publishConfig": {
"access": "public",
"registry": "https://npm.pkg.github.com/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": "eslint --format node_modules/eslint-formatter-pretty --max-warnings=0"
},
"peerDependencies": {
"@drawbotics/drylus-style-vars": "^4",
"react": "^16.8.x"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@drawbotics/drylus-style-vars": "^4.0.0-alpha.4",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"eslint": "^6.4.0",
"eslint-formatter-pretty": "^2.1.1",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"husky": "^3.0.5",
"jest": "^24.9.0",
"lint-staged": "^9.2.5",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0"
}
}