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