aboutsummaryrefslogtreecommitdiffstats
path: root/src/packages/svelte/package.json
diff options
context:
space:
mode:
authorMatthew Strapp <matt@mattstrapp.net>2024-10-30 16:53:20 -0500
committerGitHub <noreply@github.com>2024-10-30 16:53:20 -0500
commitc544dffb148f08518600ea6b7096450e978304ff (patch)
tree14c19442520239cdb8ae387990d1f371c57950c5 /src/packages/svelte/package.json
parentversion bump the gemfile lock too (diff)
downloadlocusts-c544dffb148f08518600ea6b7096450e978304ff.tar
locusts-c544dffb148f08518600ea6b7096450e978304ff.tar.gz
locusts-c544dffb148f08518600ea6b7096450e978304ff.tar.bz2
locusts-c544dffb148f08518600ea6b7096450e978304ff.tar.lz
locusts-c544dffb148f08518600ea6b7096450e978304ff.tar.xz
locusts-c544dffb148f08518600ea6b7096450e978304ff.tar.zst
locusts-c544dffb148f08518600ea6b7096450e978304ff.zip
feat: Svelte (#34)
* feat: Svelte Signed-off-by: Matt Strapp <matt@mattstrapp.net> * oopsie Signed-off-by: Matt Strapp <matt@mattstrapp.net> * add docs Signed-off-by: Matt Strapp <matt@mattstrapp.net> * dev dependency Signed-off-by: Matt Strapp <matt@mattstrapp.net> * Lint Signed-off-by: Matt Strapp <matt@mattstrapp.net> * CI: Check formatting Signed-off-by: Matt Strapp <matt@mattstrapp.net> * Add line ending thingy Signed-off-by: Matt Strapp <matt@mattstrapp.net> * Update prettier and typescript versions in package.json Signed-off-by: Matt Strapp <matt@mattstrapp.net> --------- Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--src/packages/svelte/package.json77
1 files changed, 77 insertions, 0 deletions
diff --git a/src/packages/svelte/package.json b/src/packages/svelte/package.json
new file mode 100644
index 0000000..863f062
--- /dev/null
+++ b/src/packages/svelte/package.json
@@ -0,0 +1,77 @@
+{
+ "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",
+ "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 .",
+ "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.0.0",
+ "@sveltejs/package": "^2.0.0",
+ "@sveltejs/vite-plugin-svelte": "^4.0.0",
+ "@types/eslint": "^9.6.0",
+ "eslint": "^9.7.0",
+ "eslint-config-prettier": "^9.1.0",
+ "eslint-plugin-svelte": "^2.36.0",
+ "globals": "^15.0.0",
+ "prettier": "^3.3.2",
+ "prettier-plugin-svelte": "^3.2.6",
+ "publint": "^0.2.0",
+ "svelte": "^5.0.0",
+ "svelte-check": "^4.0.0",
+ "typescript": "^5.6.3",
+ "typescript-eslint": "^8.0.0",
+ "vite": "^5.0.11",
+ "vitest": "^2.0.4"
+ },
+ "publishConfig": {
+ "access": "public"
+ }
+} \ No newline at end of file