-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 2.06 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
{
"name": "sveltekit-localize-url",
"description": "SvelteKit library that handles URL localization and routing.",
"version": "0.1.2",
"author": "Rinart73",
"license": "MIT",
"homepage": "https://github.com/rinart73/sveltekit-localize-url",
"repository": {
"type": "git",
"url": "https://github.com/rinart73/sveltekit-localize-url"
},
"scripts": {
"dev": "run-p dev:vite typesafe-i18n",
"dev:vite": "vite dev",
"build": "vite build && npm run package",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"test": "npm run npm run test:unit && test:integration",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write .",
"format:i18n": "prettier --plugin-search-dir=. --write ./src/i18n",
"test:integration": "playwright test",
"test:unit": "vitest --coverage",
"typesafe-i18n": "typesafe-i18n"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"peerDependencies": {
"svelte": "^4.0.0"
},
"devDependencies": {
"@playwright/test": "^1.35.1",
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/kit": "^1.22.1",
"@sveltejs/package": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vitest/coverage-v8": "^0.33.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-svelte": "^2.32.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"publint": "^0.1.16",
"sass": "^1.63.6",
"svelte": "^4.0.5",
"svelte-check": "^3.4.5",
"tslib": "^2.6.0",
"typescript": "^5.1.6",
"vite": "^4.4.2",
"vitest": "^0.32.4",
"typesafe-i18n": "^5.24.3"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module"
}