mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
167 lines
4.5 KiB
167 lines
4.5 KiB
{
|
|
"name": "svelte",
|
|
"version": "3.46.1",
|
|
"description": "Cybernetically enhanced web apps",
|
|
"module": "index.mjs",
|
|
"main": "index",
|
|
"files": [
|
|
"types",
|
|
"compiler.*",
|
|
"register.js",
|
|
"index.*",
|
|
"ssr.*",
|
|
"internal",
|
|
"store",
|
|
"animate",
|
|
"transition",
|
|
"easing",
|
|
"motion",
|
|
"svelte",
|
|
"README.md"
|
|
],
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./types/runtime/index.d.ts",
|
|
"browser": {
|
|
"import": "./index.mjs",
|
|
"require": "./index.js"
|
|
},
|
|
"node": {
|
|
"import": "./ssr.mjs",
|
|
"require": "./ssr.js"
|
|
},
|
|
"import": "./index.mjs",
|
|
"require": "./index.js"
|
|
},
|
|
"./compiler": {
|
|
"types": "./types/compiler/index.d.ts",
|
|
"import": "./compiler.mjs",
|
|
"require": "./compiler.js"
|
|
},
|
|
"./animate": {
|
|
"types": "./types/runtime/animate/index.d.ts",
|
|
"import": "./animate/index.mjs",
|
|
"require": "./animate/index.js"
|
|
},
|
|
"./easing": {
|
|
"types": "./types/runtime/easing/index.d.ts",
|
|
"import": "./easing/index.mjs",
|
|
"require": "./easing/index.js"
|
|
},
|
|
"./internal": {
|
|
"types": "./types/runtime/internal/index.d.ts",
|
|
"import": "./internal/index.mjs",
|
|
"require": "./internal/index.js"
|
|
},
|
|
"./motion": {
|
|
"types": "./types/runtime/motion/index.d.ts",
|
|
"import": "./motion/index.mjs",
|
|
"require": "./motion/index.js"
|
|
},
|
|
"./register": {
|
|
"require": "./register.js"
|
|
},
|
|
"./store": {
|
|
"types": "./types/runtime/store/index.d.ts",
|
|
"import": "./store/index.mjs",
|
|
"require": "./store/index.js"
|
|
},
|
|
"./transition": {
|
|
"types": "./types/runtime/transition/index.d.ts",
|
|
"import": "./transition/index.mjs",
|
|
"require": "./transition/index.js"
|
|
},
|
|
"./ssr": {
|
|
"types": "./types/runtime/index.d.ts",
|
|
"import": "./ssr.mjs",
|
|
"require": "./ssr.js"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">= 8"
|
|
},
|
|
"types": "types/runtime/index.d.ts",
|
|
"scripts": {
|
|
"test": "mocha --exit",
|
|
"test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts --exit",
|
|
"quicktest": "mocha",
|
|
"precoverage": "c8 mocha",
|
|
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
|
|
"codecov": "codecov",
|
|
"precodecov": "npm run coverage",
|
|
"build": "rollup -c && npm run tsd",
|
|
"prepare": "npm run build",
|
|
"dev": "rollup -cw",
|
|
"pretest": "npm run build",
|
|
"posttest": "agadoo internal/index.mjs",
|
|
"prepublishOnly": "node check_publish_env.js && npm run lint && npm test",
|
|
"tsd": "tsc -p src/compiler --emitDeclarationOnly && tsc -p src/runtime --emitDeclarationOnly",
|
|
"lint": "eslint \"{src,test}/**/*.{ts,js}\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/sveltejs/svelte.git"
|
|
},
|
|
"keywords": [
|
|
"UI",
|
|
"framework",
|
|
"templates",
|
|
"templating"
|
|
],
|
|
"author": "Rich Harris",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/sveltejs/svelte/issues"
|
|
},
|
|
"homepage": "https://github.com/sveltejs/svelte#README",
|
|
"devDependencies": {
|
|
"@ampproject/remapping": "^0.3.0",
|
|
"@rollup/plugin-commonjs": "^11.0.0",
|
|
"@rollup/plugin-json": "^4.0.1",
|
|
"@rollup/plugin-node-resolve": "^6.0.0",
|
|
"@rollup/plugin-replace": "^2.3.0",
|
|
"@rollup/plugin-sucrase": "^3.1.0",
|
|
"@rollup/plugin-typescript": "^2.0.1",
|
|
"@rollup/plugin-virtual": "^2.0.0",
|
|
"@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.8.0",
|
|
"@types/mocha": "^7.0.0",
|
|
"@types/node": "^8.10.53",
|
|
"@typescript-eslint/eslint-plugin": "^4.31.2",
|
|
"@typescript-eslint/parser": "^4.31.2",
|
|
"acorn": "^8.4.1",
|
|
"agadoo": "^1.1.0",
|
|
"c8": "^5.0.1",
|
|
"code-red": "^0.2.4",
|
|
"codecov": "^3.5.0",
|
|
"css-tree": "^1.1.2",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-svelte3": "^3.2.1",
|
|
"estree-walker": "^3.0.0",
|
|
"is-reference": "^3.0.0",
|
|
"jsdom": "^15.2.1",
|
|
"kleur": "^3.0.3",
|
|
"locate-character": "^2.0.5",
|
|
"magic-string": "^0.25.3",
|
|
"mocha": "^7.0.0",
|
|
"periscopic": "^3.0.4",
|
|
"puppeteer": "^2.0.0",
|
|
"rollup": "^1.27.14",
|
|
"source-map": "^0.7.3",
|
|
"source-map-support": "^0.5.13",
|
|
"sourcemap-codec": "^1.4.8",
|
|
"tiny-glob": "^0.2.6",
|
|
"tslib": "^2.0.3",
|
|
"typescript": "^3.7.5"
|
|
},
|
|
"nyc": {
|
|
"include": [
|
|
"compiler/svelte.js",
|
|
"shared.js"
|
|
],
|
|
"sourceMap": true,
|
|
"instrument": true
|
|
}
|
|
}
|