Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 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
{
"name": "@localazy/languages",
"version": "2.1.0",
"description": "Available Localazy Languages",
"keywords": [
"typescript",
"localazy",
"languages"
],
"homepage": "https://github.com/localazy/languages.git#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/localazy/languages.git"
},
"license": "MIT",
"author": {
"name": "Localazy",
"email": "team@localazy.com",
"url": "https://localazy.com"
},
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/languages.d.ts",
"default": "./dist/languages.js"
},
"require": {
"types": "./dist/languages.d.ts",
"default": "./dist/languages.js"
}
},
"./data/*": "./dist/data/*.json",
"./data/translations/*": "./dist/data/translations/*.json"
},
"main": "./dist/languages.js",
"module": "./dist/languages.js",
"types": "./dist/languages.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "npm run main-ts:build && npm run pre-build-scripts && vite build --mode production && npm run post-build-scripts",
"check": "npm run prettier && npm run lint && npm run typecheck && npm run build",
"check:fix": "npm run prettier:fix && npm run lint:fix",
"lint": "eslint --cache --cache-location .cache/eslint .",
"lint:fix": "eslint --fix .",
"main-ts:build": "reexport src/index.ts",
"post-build-scripts": "./scripts/post-build/index.mjs",
"pre-build-scripts": "./scripts/pre-build/index.mjs",
"prepare": "husky",
"prettier": "prettier --check --cache --cache-location .cache/prettier .",
"prettier:fix": "prettier --write .",
"typecheck": "tsc --noEmit"
},
"prettier": "@localazy/prettier-config",
"devDependencies": {
"@localazy/cli": "^1.7.16",
"@localazy/eslint-config": "^1.0.0-beta.2",
"@localazy/prettier-config": "^1.0.0-beta.1",
"@localazy/tsconfig": "^1.0.0-beta.4",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.13.16",
"dotenv": "^16.4.7",
"eslint": "^9.23.0",
"fs-extra": "^11.1.1",
"husky": "^9.1.7",
"prettier": "3.5.3",
"reexport": "^1.4.1",
"typescript": "^5.8.2",
"vite": "^6.2.4",
"vite-plugin-dts": "^4.5.3"
},
"engines": {
"node": ">=16",
"npm": ">=8.5"
}
}