-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.86 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
{
"name": "env-hoc",
"version": "1.2.7",
"description": "Provides an HOC (higher-order component) for Next.js / After.js and populates the component props and the getInitialProps args object with an env property, which gives access to cookies, ipAddress, language(s) and userAgent on server-side and client-side in a standardized way.",
"main": "lib/index.js",
"scripts": {
"build": "webpack",
"test": "jest",
"lint": "eslint lib",
"coverage": "jest --coverage",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"author": "Armin Šupuk",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/supukarmin/env-hoc.git"
},
"keywords": [
"hoc",
"higher-order-component",
"next.js",
"nextjs",
"next",
"after.js",
"after",
"afterjs",
"ip-address",
"ipaddress",
"ip",
"user-agent",
"useragent",
"languages",
"navigator",
"cookies",
"cookie",
"universal",
"server",
"client"
],
"dependencies": {
"cookie": "^0.3.1",
"format-bcp-47": "^1.0.0",
"navigator-languages": "^1.0.0",
"request-ip": "2.0.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"coveralls": "^3.0.0",
"eslint": "^4.19.1",
"eslint-plugin-compat": "^2.2.0",
"jest": "^22.4.3",
"mock-express-request": "^0.2.2",
"react": "^16.3.2",
"webpack": "^3.10.0",
"webpack-node-externals": "^1.7.2"
},
"peerDependencies": {
"react": "*",
"next": "*"
}
}