aboutsummaryrefslogtreecommitdiffstats
path: root/src/packages/svelte/package.json
blob: 016d2a81425944063a101ab61e78d12fc571a13b (plain) (blame)
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
{
	"name": "@locusts/svelte",
	"description": "A svelte component that introduces locusts into your website.",
	"version": "0.0.0",
	"author": "Matt Strapp <matt+locusts@mattstrapp.net> (https://mattstrapp.net)",
	"bugs": "https://github.com/locusts-r-us/locusts/issues",
	"scripts": {
		"dev": "vite dev",
		"build": "vite build && npm run package",
		"clean": "rm -rf dist && rm -rf node_modules",
		"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",
		"format": "prettier --write .",
		"lint": "prettier --check . && eslint --fix .",
		"test:unit": "vitest",
		"test": "npm run test:unit -- --run"
	},
	"keywords": [
		"svelte",
		"component",
		"why",
		"joke"
	],
	"repository": {
		"type": "git",
		"url": "git+https://github.com/locusts-r-us/locusts.git",
		"directory": "packages/svelte"
	},
	"license": "0BSD",
	"files": [
		"dist",
		"!dist/**/*.test.*",
		"!dist/**/*.spec.*"
	],
	"sideEffects": [
		"**/*.css"
	],
	"svelte": "./dist/index.js",
	"types": "./dist/index.d.ts",
	"type": "module",
	"exports": {
		".": {
			"types": "./dist/index.d.ts",
			"svelte": "./dist/index.js"
		}
	},
	"peerDependencies": {
		"svelte": "^5.0.0"
	},
	"devDependencies": {
		"@repo/eslint-config": "workspace:*",
		"@repo/typescript-config": "workspace:*",
		"@sveltejs/adapter-auto": "^3.0.0",
		"@sveltejs/kit": "^2.8.1",
		"@sveltejs/package": "^2.0.0",
		"@sveltejs/vite-plugin-svelte": "^4.0.1",
		"eslint-config-prettier": "^9.1.0",
		"eslint-plugin-svelte": "^2.36.0",
		"prettier-plugin-svelte": "^3.3.1",
		"publint": "^0.2.0",
		"svelte": "^5.2.7",
		"svelte-check": "^4.0.9",
		"typescript": "^5.6.3",
		"typescript-eslint": "^8.15.0",
		"vite": "^5.4.11",
		"vitest": "^2.1.5"
	},
	"publishConfig": {
		"access": "public"
	}
}