-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
157 lines (157 loc) · 3.83 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@adonisjs/i18n",
"description": "Internationalization for AdonisJS apps",
"version": "2.2.0",
"engines": {
"node": ">=18.16.0"
},
"main": "build/index.js",
"type": "module",
"files": [
"build",
"!build/bin",
"!build/tests"
],
"exports": {
".": "./build/index.js",
"./factories": "./build/factories/main.js",
"./services/main": "./build/services/i18n.js",
"./i18n_provider": "./build/providers/i18n_provider.js",
"./plugins/edge": "./build/src/plugins/edge.js",
"./types": "./build/src/types.js"
},
"scripts": {
"pretest": "npm run lint",
"test": "c8 npm run quick:test",
"clean": "del-cli build",
"typecheck": "tsc --noEmit",
"copy:templates": "copyfiles --up=1 \"stubs/**/*.stub\" build",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"postcompile": "npm run copy:templates",
"build": "npm run compile",
"prepublishOnly": "npm run build",
"lint": "eslint .",
"format": "prettier --write .",
"release": "release-it",
"version": "npm run build",
"quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts"
},
"devDependencies": {
"@adonisjs/assembler": "^7.8.2",
"@adonisjs/core": "^6.16.0",
"@adonisjs/eslint-config": "^2.0.0-beta.7",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@japa/assert": "^3.0.0",
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.4",
"@release-it/conventional-changelog": "^9.0.3",
"@swc/core": "^1.10.1",
"@types/luxon": "^3.4.2",
"@types/negotiator": "^0.6.3",
"@types/node": "^22.10.1",
"@vinejs/vine": "^3.0.0",
"c8": "^10.1.2",
"copyfiles": "^2.4.1",
"del-cli": "^6.0.0",
"edge.js": "^6.2.0",
"eslint": "^9.16.0",
"prettier": "^3.4.2",
"release-it": "^17.10.0",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"dependencies": {
"@poppinss/intl-formatter": "^3.0.3",
"@poppinss/utils": "^6.8.3",
"intl-messageformat": "^10.7.10",
"luxon": "^3.5.0",
"negotiator": "^1.0.0",
"yaml": "^2.6.1"
},
"peerDependencies": {
"@adonisjs/core": "^6.6.0",
"@vinejs/vine": "^2.0.0 || ^3.0.0",
"edge.js": "^6.0.2"
},
"peerDependenciesMeta": {
"edge.js": {
"optional": true
},
"@vinejs/vine": {
"optional": true
}
},
"author": "virk,adonisjs",
"license": "MIT",
"homepage": "https://github.com/adonisjs/i18n#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/adonisjs/i18n.git"
},
"bugs": {
"url": "https://github.com/adonisjs/i18n/issues"
},
"keywords": [
"intl",
"localization",
"translation",
"i18n"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"tsup": {
"entry": [
"./index.ts",
"./services/i18n.ts",
"./factories/main.ts",
"./providers/i18n_provider.ts",
"./src/types.ts",
"./src/plugins/edge.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": false,
"sourcemap": true,
"target": "esnext"
},
"release-it": {
"git": {
"requireCleanWorkingDir": true,
"requireUpstream": true,
"commitMessage": "chore(release): ${version}",
"tagAnnotation": "v${version}",
"push": true,
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true,
"skipChecks": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
}
}
}
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**"
]
},
"prettier": "@adonisjs/prettier-config"
}