-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.04 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 3.04 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
{
"name": "@localazy/api-client",
"version": "2.1.22",
"description": "Official Node.js client for the Localazy API, providing a simple and type-safe way to integrate localization features into your JavaScript and TypeScript projects.",
"keywords": [
"Localazy",
"Localazy API",
"TypeScript",
"i18n",
"l10n",
"t10n"
],
"homepage": "https://github.com/localazy/api-client#readme",
"bugs": {
"url": "https://github.com/localazy/api-client/issues"
},
"license": "MIT",
"author": "Localazy <team@localazy.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/localazy/api-client"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/node/localazy-api-client.cjs",
"module": "./dist/localazy-api-client.js",
"types": "./dist/index.d.ts",
"unpkg": "./dist/browser/localazy-api-client.umd.min.js",
"jsdelivr": "./dist/browser/localazy-api-client.umd.min.js",
"exports": {
".": {
"types": {
"default": "./dist/index.d.ts"
},
"browser": {
"import": "./dist/localazy-api-client.min.js",
"default": "./dist/browser/localazy-api-client.umd.min.js"
},
"default": {
"import": "./dist/localazy-api-client.js",
"default": "./dist/node/localazy-api-client.cjs"
}
}
},
"scripts": {
"build": "rimraf dist && pnpm run main-ts:build && vite build",
"bundle:visualize": "vite-bundle-visualizer",
"check": "pnpm run format && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm run test",
"check:fix": "pnpm run format:fix && pnpm run lint:fix",
"dev": "vite & pnpm run main-ts:watch",
"format": "oxfmt --check",
"format:fix": "oxfmt",
"lint": "oxlint --type-aware",
"lint:fix": "oxlint --type-aware --fix",
"main-ts:build": "reexport src/main.ts",
"main-ts:watch": "reexport --watch src/main.ts",
"prepare": "husky",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:matrix": "./scripts/node-test-matrix.sh",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"typecheck": "tsc --build"
},
"dependencies": {
"@localazy/languages": "^0.1.11",
"es-toolkit": "^1.46.1"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.58.7",
"@rollup/plugin-terser": "^1.0.0",
"@tsconfig/node24": "^24.0.4",
"@types/isomorphic-fetch": "^0.0.39",
"@types/node": "^22.19.17",
"@vitest/coverage-v8": "^4.1.6",
"@vitest/ui": "^4.1.6",
"fetch-mock": "^12.6.0",
"husky": "^9.1.7",
"isomorphic-fetch": "^3.0.0",
"oxfmt": "^0.49.0",
"oxlint": "^1.64.0",
"oxlint-tsgolint": "^0.22.1",
"reexport": "^1.4.1",
"rimraf": "^6.1.3",
"typescript": "^6.0.3",
"unplugin-dts": "^1.0.0",
"unplugin-replace": "^0.9.0",
"vite": "^8.0.13",
"vite-bundle-visualizer": "^1.2.1",
"vite-plugin-node-polyfills": "^0.2.0",
"vitest": "^4.1.6"
},
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@11.1.2"
}