1 | {
|
2 | "name": "svelte",
|
3 | "version": "3.29.5",
|
4 | "description": "Cybernetically enhanced web apps",
|
5 | "module": "index.mjs",
|
6 | "main": "index",
|
7 | "files": [
|
8 | "types",
|
9 | "compiler.*",
|
10 | "register.js",
|
11 | "index.*",
|
12 | "internal",
|
13 | "store",
|
14 | "animate",
|
15 | "transition",
|
16 | "easing",
|
17 | "motion",
|
18 | "svelte",
|
19 | "README.md"
|
20 | ],
|
21 | "exports": {
|
22 | ".": {
|
23 | "import": "./index.mjs",
|
24 | "require": "./index.js"
|
25 | },
|
26 | "./compiler": {
|
27 | "import": "./compiler.mjs",
|
28 | "require": "./compiler.js"
|
29 | },
|
30 | "./animate": {
|
31 | "import": "./animate/index.mjs",
|
32 | "require": "./animate/index.js"
|
33 | },
|
34 | "./easing": {
|
35 | "import": "./easing/index.mjs",
|
36 | "require": "./easing/index.js"
|
37 | },
|
38 | "./internal": {
|
39 | "import": "./internal/index.mjs",
|
40 | "require": "./internal/index.js"
|
41 | },
|
42 | "./motion": {
|
43 | "import": "./motion/index.mjs",
|
44 | "require": "./motion/index.js"
|
45 | },
|
46 | "./store": {
|
47 | "import": "./store/index.mjs",
|
48 | "require": "./store/index.js"
|
49 | },
|
50 | "./transition": {
|
51 | "import": "./transition/index.mjs",
|
52 | "require": "./transition/index.js"
|
53 | }
|
54 | },
|
55 | "engines": {
|
56 | "node": ">= 8"
|
57 | },
|
58 | "types": "types/runtime/index.d.ts",
|
59 | "scripts": {
|
60 | "test": "mocha",
|
61 | "test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts",
|
62 | "quicktest": "mocha",
|
63 | "precoverage": "c8 mocha",
|
64 | "coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
|
65 | "codecov": "codecov",
|
66 | "precodecov": "npm run coverage",
|
67 | "build": "rollup -c && npm run tsd",
|
68 | "prepare": "PUBLISH=true npm run build",
|
69 | "dev": "rollup -cw",
|
70 | "pretest": "npm run build",
|
71 | "posttest": "agadoo internal/index.mjs",
|
72 | "prepublishOnly": "npm run lint && PUBLISH=true npm test",
|
73 | "tsd": "tsc -p src/compiler --emitDeclarationOnly && tsc -p src/runtime --emitDeclarationOnly",
|
74 | "lint": "eslint \"{src,test}/**/*.{ts,js}\""
|
75 | },
|
76 | "repository": {
|
77 | "type": "git",
|
78 | "url": "https://github.com/sveltejs/svelte.git"
|
79 | },
|
80 | "keywords": [
|
81 | "UI",
|
82 | "framework",
|
83 | "templates",
|
84 | "templating"
|
85 | ],
|
86 | "author": "Rich Harris",
|
87 | "license": "MIT",
|
88 | "bugs": {
|
89 | "url": "https://github.com/sveltejs/svelte/issues"
|
90 | },
|
91 | "homepage": "https://github.com/sveltejs/svelte#README",
|
92 | "devDependencies": {
|
93 | "@rollup/plugin-commonjs": "^11.0.0",
|
94 | "@rollup/plugin-json": "^4.0.1",
|
95 | "@rollup/plugin-node-resolve": "^6.0.0",
|
96 | "@rollup/plugin-replace": "^2.3.0",
|
97 | "@rollup/plugin-sucrase": "^3.0.0",
|
98 | "@rollup/plugin-typescript": "^2.0.1",
|
99 | "@rollup/plugin-virtual": "^2.0.0",
|
100 | "@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.6.0",
|
101 | "@types/mocha": "^7.0.0",
|
102 | "@types/node": "^8.10.53",
|
103 | "@typescript-eslint/eslint-plugin": "^3.0.2",
|
104 | "@typescript-eslint/parser": "^3.0.2",
|
105 | "acorn": "^7.4.0",
|
106 | "agadoo": "^1.1.0",
|
107 | "c8": "^5.0.1",
|
108 | "code-red": "^0.1.4",
|
109 | "codecov": "^3.5.0",
|
110 | "css-tree": "1.0.0-alpha22",
|
111 | "eslint": "^7.1.0",
|
112 | "eslint-plugin-import": "^2.20.2",
|
113 | "eslint-plugin-svelte3": "^2.7.3",
|
114 | "estree-walker": "^1.0.0",
|
115 | "is-reference": "^1.1.4",
|
116 | "jsdom": "^15.1.1",
|
117 | "kleur": "^3.0.3",
|
118 | "locate-character": "^2.0.5",
|
119 | "magic-string": "^0.25.3",
|
120 | "mocha": "^7.0.0",
|
121 | "periscopic": "^2.0.1",
|
122 | "puppeteer": "^2.1.1",
|
123 | "rollup": "^1.27.14",
|
124 | "source-map": "^0.7.3",
|
125 | "source-map-support": "^0.5.13",
|
126 | "tiny-glob": "^0.2.6",
|
127 | "tslib": "^1.10.0",
|
128 | "typescript": "^3.5.3"
|
129 | },
|
130 | "nyc": {
|
131 | "include": [
|
132 | "compiler/svelte.js",
|
133 | "shared.js"
|
134 | ],
|
135 | "sourceMap": true,
|
136 | "instrument": true
|
137 | }
|
138 | }
|