-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
91 lines (91 loc) · 2.66 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
{
"name": "react-polyglot-hooks",
"version": "0.5.0",
"description": "Hooks for using Polyglot.js with React.",
"keywords": [
"react",
"react-hooks",
"hooks",
"airbnb",
"polyglot",
"i18n",
"internationalization",
"internationalisation",
"translate",
"translation"
],
"author": "Michael Mok",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pmmmwh/react-polyglot-hooks.git"
},
"bugs": {
"url": "https://github.com/pmmmwh/react-polyglot-hooks/issues"
},
"homepage": "https://github.com/pmmmwh/react-polyglot-hooks#readme",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"lint": "eslint --report-unused-disable-directives \"**/*.{js,mjs,jsx,ts,tsx}\"",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"**/*.{js,mjs,jsx,ts,tsx,json,md,yml}\"",
"format:check": "prettier --check \"**/*.{js,mjs,jsx,ts,tsx,json,md,yml}\"",
"prebuild": "rimraf dist",
"prepare": "husky",
"release": "yarn build && standard-version",
"test": "node scripts/test.mjs",
"type-check": "tsc --noEmit --pretty"
},
"dependencies": {
"node-polyglot": "^2.4.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@jest/globals": "^29.5.0",
"@testing-library/jest-dom": "^6.1.2",
"@testing-library/react": "^15.0.2",
"@types/node": "^20.1.0",
"@types/node-polyglot": "^2.4.1",
"@types/react": "^18.0.1",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"babel-jest": "^29.0.2",
"eslint": "^8.36.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-simple-import-sort": "^12.0.0",
"husky": "^9.0.11",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.2",
"jest-watch-typeahead": "^2.0.0",
"lint-staged": "^15.0.1",
"prettier": "^3.0.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^5.0.0",
"standard-version": "^9.0.0",
"typescript": "5.5.3"
},
"peerDependencies": {
"react": "^16.8.0 || 17.x || 18.x",
"react-dom": "^16.8.0 || 17.x || 18.x"
},
"engines": {
"node": ">=12.18"
},
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
"sideEffects": false
}