141 lines
3.8 KiB
JSON
141 lines
3.8 KiB
JSON
{
|
|
"name": "svelte",
|
|
"version": "4.2.2",
|
|
"description": "Cybernetically enhanced web apps",
|
|
"type": "module",
|
|
"module": "src/runtime/index.js",
|
|
"main": "src/runtime/index.js",
|
|
"files": [
|
|
"src",
|
|
"!src/**/tsconfig.json",
|
|
"types",
|
|
"compiler.*",
|
|
"register.js",
|
|
"index.d.ts",
|
|
"store.d.ts",
|
|
"animate.d.ts",
|
|
"transition.d.ts",
|
|
"easing.d.ts",
|
|
"motion.d.ts",
|
|
"action.d.ts",
|
|
"elements.d.ts",
|
|
"svelte-html.d.ts",
|
|
"README.md"
|
|
],
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"browser": {
|
|
"default": "./src/runtime/index.js"
|
|
},
|
|
"default": "./src/runtime/ssr.js"
|
|
},
|
|
"./compiler": {
|
|
"types": "./types/index.d.ts",
|
|
"require": "./compiler.cjs",
|
|
"default": "./src/compiler/index.js"
|
|
},
|
|
"./action": {
|
|
"types": "./types/index.d.ts"
|
|
},
|
|
"./animate": {
|
|
"types": "./types/index.d.ts",
|
|
"default": "./src/runtime/animate/index.js"
|
|
},
|
|
"./easing": {
|
|
"types": "./types/index.d.ts",
|
|
"default": "./src/runtime/easing/index.js"
|
|
},
|
|
"./internal": {
|
|
"default": "./src/runtime/internal/index.js"
|
|
},
|
|
"./motion": {
|
|
"types": "./types/index.d.ts",
|
|
"default": "./src/runtime/motion/index.js"
|
|
},
|
|
"./store": {
|
|
"types": "./types/index.d.ts",
|
|
"default": "./src/runtime/store/index.js"
|
|
},
|
|
"./internal/disclose-version": {
|
|
"default": "./src/runtime/internal/disclose-version/index.js"
|
|
},
|
|
"./transition": {
|
|
"types": "./types/index.d.ts",
|
|
"default": "./src/runtime/transition/index.js"
|
|
},
|
|
"./elements": {
|
|
"types": "./elements.d.ts"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"types": "types/index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/sveltejs/svelte.git",
|
|
"directory": "packages/svelte"
|
|
},
|
|
"keywords": [
|
|
"UI",
|
|
"framework",
|
|
"templates",
|
|
"templating"
|
|
],
|
|
"author": "Rich Harris",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/sveltejs/svelte/issues"
|
|
},
|
|
"homepage": "https://svelte.dev",
|
|
"dependencies": {
|
|
"@ampproject/remapping": "^2.2.1",
|
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
"@jridgewell/trace-mapping": "^0.3.18",
|
|
"acorn": "^8.9.0",
|
|
"aria-query": "^5.3.0",
|
|
"axobject-query": "^3.2.1",
|
|
"code-red": "^1.0.3",
|
|
"css-tree": "^2.3.1",
|
|
"estree-walker": "^3.0.3",
|
|
"is-reference": "^3.0.1",
|
|
"locate-character": "^3.0.0",
|
|
"magic-string": "^0.30.4",
|
|
"periscopic": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.35.1",
|
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
"@rollup/plugin-json": "^6.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
"@sveltejs/eslint-config": "^6.0.4",
|
|
"@types/aria-query": "^5.0.1",
|
|
"@types/estree": "^1.0.1",
|
|
"@types/node": "^14.18.51",
|
|
"agadoo": "^3.0.0",
|
|
"dts-buddy": "^0.1.7",
|
|
"esbuild": "^0.18.11",
|
|
"eslint-plugin-lube": "^0.1.7",
|
|
"happy-dom": "^9.20.3",
|
|
"jsdom": "22.0.0",
|
|
"kleur": "^4.1.5",
|
|
"rollup": "^3.26.2",
|
|
"source-map": "^0.7.4",
|
|
"tiny-glob": "^0.2.9",
|
|
"typescript": "^5.1.3",
|
|
"vitest": "^0.33.0"
|
|
},
|
|
"scripts": {
|
|
"format": "prettier . --cache --plugin-search-dir=. --write",
|
|
"check": "tsc --noEmit",
|
|
"test": "vitest run && echo \"manually check that there are no type errors in test/types by opening the files in there\"",
|
|
"build": "rollup -c && pnpm types",
|
|
"generate:version": "node ./scripts/generate-version.js",
|
|
"dev": "rollup -cw",
|
|
"posttest": "agadoo src/internal/index.js",
|
|
"types": "node ./scripts/generate-dts.js",
|
|
"lint": "prettier . --cache --plugin-search-dir=. --check && eslint \"{scripts,src,test}/**/*.js\" --cache --fix"
|
|
}
|
|
} |