-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.8 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
{
"name": "@wezom/locale-handler",
"version": "1.0.6",
"description": "Locale handler for middleware with redirects",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rollup --config rollup.config.mjs",
"prebuild": "del-cli dist",
"postbuild": "del-cli dist/**/__specs__",
"test": "vitest run",
"test-with-watch-mode": "vitest",
"test-with-coverage": "vitest run --coverage && istanbul-badges-readme && prettier \"./README.md\" --check --write",
"lint": "eslint \"./src/**/**.ts\" --cache --cache-location ./.cache/eslint/src",
"lint-with-autofix": "pnpm run lint --fix",
"format": "prettier \"./src/**/*.ts\" --write --check",
"local-pr-ready-check": "pnpm run format && pnpm run lint-with-autofix && pnpm run test",
"ci-test": "pnpm run lint && pnpm run test"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@types/negotiator": "^0.6.1",
"@vitest/coverage-istanbul": "^0.34.1",
"@wezom/eslint-config": "^11.0.5",
"@wezom/eslint-config-ts": "^11.0.5",
"del-cli": "^5.0.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"glob": "^10.3.3",
"istanbul-badges-readme": "^1.8.5",
"jsdom": "^22.1.0",
"prettier": "^3.0.0",
"rollup": "^3.27.0",
"typescript": "^5.1.6",
"vitest": "^0.34.1"
},
"dependencies": {
"@formatjs/intl-localematcher": "^0.4.0",
"negotiator": "^0.6.3"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"locale",
"handler",
"middleware",
"redirect",
"nextjs",
"app",
"internationalization"
],
"author": {
"name": "Oleh Dutchenko",
"email": "dutchenko.o.dev@gmai.com"
},
"license": "BSD 3-Clause License"
}