0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-24 00:07:30 +01:00
svelte/package.json
Simon H 2f5e371046
chore: run tsc properly (#8884)
Runs type check as part of the CI. This needs a new path alias in the tsconfig so that TS resolves the svelte import in the ambient file directly to the correct d.ts file and doesn't load Svelte through the node_modules, at which point it would load the generated ambient type definitions and throw a duplicate definitions error.

Also removes a tgz that was accidentally added
2023-07-03 14:23:34 +02:00

35 lines
1.1 KiB
JSON

{
"name": "svelte-monorepo",
"version": "0.0.1",
"description": "monorepo for svelte and friends",
"private": true,
"type": "module",
"scripts": {
"test": "pnpm test -r --filter=./packages/*",
"build": "pnpm -r --filter=./packages/* build",
"build:sites": "pnpm -r --filter=./sites/* build",
"check": "cd packages/svelte && pnpm build && cd ../../ && pnpm -r check",
"lint": "cd packages/svelte && pnpm build && cd ../../ && pnpm -r lint",
"format": "pnpm -r format",
"changeset:version": "changeset version && pnpm -r generate:version && git add --all",
"changeset:publish": "changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sveltejs/svelte.git"
},
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"eslint": "^8.43.0",
"eslint-plugin-svelte": "^2.31.0",
"eslint-plugin-unicorn": "^47.0.0",
"playwright": "^1.35.1",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1"
},
"packageManager": "pnpm@8.6.3"
}