-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.28 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
{
"name": "@aboutbits/zod-locales-formatjs",
"version": "1.0.2",
"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": {
"registry": "https://npm.pkg.github.com",
"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": ">=18"
},
"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",
"lint:fix": "npm run lint -- --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": "^3",
"zod": "^3"
},
"devDependencies": {
"@aboutbits/eslint-config": "^5.1.0",
"@formatjs/cli": "^6.7.2",
"@types/jest": "^30.0.0",
"@types/node": "^22",
"babel-jest": "^30.0.4",
"eslint": "^9.39.0",
"jest": "^30.0.4",
"json-diff": "^1.0.6",
"prettier": "^3.6.2",
"react-intl": "^7.1.11",
"typescript": "^5.6.3"
},
"peerDependencies": {
"react-intl": "^7.0.0"
},
"peerDependenciesMeta": {
"react-intl": {
"optional": true
}
}
}