forked from k14v/react-i18njs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 2.87 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 2.87 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@k14v/react-i18njs",
"version": "0.0.2",
"description": "React utilities for internationalization",
"main": "index.js",
"scripts": {
"test": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text ava",
"test:watch": "cross-env NODE_ENV=test ava --watch",
"postbuild": "./scripts/nlink lib",
"build": "babel src --out-dir lib --ignore **/*.spec.js",
"prepublishOnly": "npm run build",
"prepack": "npm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/k14v/react-i18njs.git"
},
"homepage": "https://github.com/k14v/react-i18njs#readme",
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run lint && npm test"
}
},
"keywords": [
"react",
"i18n",
"l10n",
"context",
"hooks"
],
"author": {
"name": "k14v",
"url": "https://github.com/k14v"
},
"contributors": [
{
"name": "Rubeniskov",
"email": "me@rubeniskov.com",
"url": "https://rubeniskov.com"
},
{
"name": "Kelvur",
"url": "https://github.com/Kelvur"
}
],
"license": "MIT",
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"ie": "11"
},
"useBuiltIns": "usage"
}
],
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-export-namespace-from"
]
},
"ava": {
"files": [
"src/**/*.spec.js"
],
"require": [
"@babel/register",
"./test/shims"
]
},
"nyc": {
"exclude": [
"src/**/index.js",
"src/**/*.spec.js",
"test"
]
},
"dependencies": {
"hoist-non-react-statics": "^3.3.0",
"memoize-one": "^5.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@k14v/i18njs": "0.0.8",
"ava": "^1.2.1",
"babel-eslint": "^10.0.1",
"browser-env": "^3.2.5",
"cross-env": "^5.2.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.9.1",
"eslint": "^5.13.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"nyc": "^13.2.0",
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"sinon": "^7.2.3"
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4"
}
}