-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 2.47 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
{
"name": "svelte-compare-image",
"version": "3.0.0",
"author": "Brian Mitchell",
"license": "MIT",
"description": "A Svelte component to compare two images with a slider to reveal one over the other",
"keywords": [
"svelte",
"compare",
"image",
"slider"
],
"homepage": "https://projects.brianm.me/svelte-compare-image/",
"repository": {
"type": "git",
"url": "https://github.com/BrianMitchL/svelte-compare-image.git"
},
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "vitest",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"prettier-staged": "pretty-quick --staged"
},
"exports": {
"./package.json": "./package.json",
"./CompareImage.svelte": {
"types": "./dist/CompareImage.svelte.d.ts",
"svelte": "./dist/CompareImage.svelte"
},
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"peerDependencies": {
"svelte": "^4.0.0"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.6",
"@sveltejs/package": "^2.3.1",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/svelte": "^4.1.0",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-svelte": "^2.37.0",
"eslint-plugin-testing-library": "^6.2.2",
"jsdom": "^24.0.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"pretty-quick": "^4.0.0",
"publint": "^0.2.7",
"simple-git-hooks": "^2.11.1",
"svelte": "^4.2.15",
"svelte-check": "^3.6.9",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.9",
"vitest": "^1.5.0"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"simple-git-hooks": {
"pre-commit": "npm run prettier-staged"
},
"engines": {
"node": "^18.18.0 || >=20.0.0"
}
}