-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
108 lines (108 loc) · 2.59 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
100
101
102
103
104
105
106
107
108
{
"name": "react-i18n-jed",
"version": "3.3.5",
"description": "React i18n wrapper for jed, based on gettext",
"author": "App Annie Engineering",
"files": [
"dist",
"index.d.ts"
],
"main": "dist/index.js",
"keywords": [
"react-jed",
"jed",
"gettext",
"i18n",
"internationalization",
"localization"
],
"dependencies": {
"hoist-non-react-statics": "^3.2.1",
"jed": "^1.1.1"
},
"peerDependencies": {
"react": "^16 || ^17 || ^18"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.1",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"coveralls": "^3.0.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.9.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.3.0",
"flow-bin": "^0.94.0",
"flow-copy-source": "^2.0.2",
"flow-typed": "^2.4.0",
"husky": "^1.2.0",
"jest": "^24.5.0",
"jest-enzyme": "^7.0.2",
"jest-serializer-enzyme": "^1.0.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.2",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
"scripts": {
"test": "jest --coverage",
"badtest": "node test.flow.js",
"build": "babel src/ -d dist/ && flow-copy-source -v src/ dist/",
"prepublish": "npm run build",
"publish": "npm run build",
"pretest": "flow-typed install --overwrite && flow && npm run badtest && eslint ."
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{json,md,yml}": [
"prettier --write",
"git add"
]
},
"repository": "appannie/react-i18n-jed",
"license": "MIT",
"jest": {
"setupFiles": [
"<rootDir>/jest.setup.js"
],
"setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js",
"testEnvironment": "jsdom",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"coverageReporters": [
"json",
"lcov",
"text",
"html"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}