Skip to content

Instantly share code, notes, and snippets.

@shinokada
Created November 5, 2024 16:15
Show Gist options
  • Save shinokada/7f96aca66b02e16d44938492863a14b4 to your computer and use it in GitHub Desktop.
Save shinokada/7f96aca66b02e16d44938492863a14b4 to your computer and use it in GitHub Desktop.
latest svelte lib/project package.json, remove postcss & tslib
{
"name": "svelte-icons",
"version": "0.0.1",
"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 && npm run test:e2e",
"test:e2e": "playwright test"
},
"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": {
"@changesets/cli": "^2.27.9",
"@playwright/test": "^1.48.2",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/kit": "^2.7.4",
"@sveltejs/package": "^2.3.7",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
"@types/eslint": "^9.6.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.0",
"globals": "^15.12.0",
"highlight.js": "^11.10.0",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"prettier-plugin-tailwindcss": "^0.6.8",
"publint": "^0.2.12",
"runatics": "^0.1.3",
"runes-meta-tags": "^0.4.0",
"runes-webkit": "^0.9.38",
"svelte": "^5.1.9",
"svelte-check": "^4.0.5",
"svelte-lib-helpers": "^0.4.16",
"svelte-rune-highlight": "^0.5.13",
"svelte-shields": "^0.5.1",
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0",
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"dependencies": {
"animate.css": "^4.1.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment