-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.6 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
{
"name": "@aboutbits/zod-locales-formatjs",
"version": "0.1.0",
"description": "Custom Zod locales for FormatJS",
"author": "AboutBits",
"license": "MIT",
"homepage": "https://github.com/aboutbits/zod-locales-formatjs",
"repository": {
"type": "git",
"url": "git+https://github.com/aboutbits/zod-locales-formatjs.git"
},
"bugs": {
"url": "https://github.com/aboutbits/zod-locales-formatjs/issues"
},
"keywords": [
"zod",
"formatjs",
"react-inl",
"internationalization",
"language",
"languages"
],
"private": false,
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/cjs/index.d.ts",
"files": [
"dist/",
"react-intl/"
],
"engines": {
"npm": ">=8",
"node": ">=16"
},
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --project tsconfig.build.cjs.json",
"build:esm": "tsc --project tsconfig.build.esm.json",
"translations:extract": "formatjs extract 'src/**/*.{js,ts}' --out-file translations-template.json --format simple",
"translations:diff": "echo 'de:' && json-diff --keys-only src/translations/de.json translations-template.json && echo 'it:' && json-diff --keys-only src/translations/it.json translations-template.json",
"lint": "eslint --cache --ext js,ts,tsx,json .",
"lint:fix": "npm run lint -- --cache --fix",
"typecheck": "tsc --noEmit",
"test": "jest --config jest.config.js --passWithNoTests",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
"version": "npm run test && npm run lint && git add -A src",
"postversion": "git push && git push --tags"
},
"dependencies": {
"@formatjs/intl": "^2.6.5",
"zod": "^3.22.4"
},
"devDependencies": {
"@formatjs/cli": "^6.2.8",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.26",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-formatjs": "^4.12.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"json-diff": "^1.0.6",
"prettier": "^3.2.5",
"react-intl": "^6.6.3",
"typescript": "^5.4.3"
},
"peerDependencies": {
"react-intl": "^6.2.8"
},
"peerDependenciesMeta": {
"react-intl": {
"optional": true
}
}
}