-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
79 lines (79 loc) · 2.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "svelte-injector",
"version": "3.0.0",
"homepage": "https://github.com/KoRnFactory/svelte-injector#readme",
"description": "Tool to integrate svelte components into other frontend frameworks",
"repository": {
"type": "git",
"url": "https://github.com/KoRnFactory/svelte-injector.git"
},
"author": {
"name": "Federico Varano (KoRnFactory)",
"email": "[email protected]"
},
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"package:w": "svelte-kit sync && svelte-package --watch",
"prepublishOnly": "npm run package",
"test": "npm run test:integration && npm run test:unit",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:integration": "playwright test",
"test:unit": "vitest",
"lint": "prettier --plugin-search-dir . --check .",
"format": "prettier --plugin-search-dir . --write .",
"postversion": "git push origin --follow-tags HEAD & npm publish"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
},
"./*": {
"types": [
"./dist/*",
"./dist/*.d.ts",
"./dist/*/index.d.ts"
],
"svelte": [
"./dist/*",
"./dist/*.js",
"./dist/*/index.js"
]
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"peerDependencies": {
"svelte": "^3.44.0 || ^4.0.0"
},
"optionalDependencies": {
"angular": "^1.5.11",
"react": ">=16.14.0"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.26.0",
"@sveltejs/package": "^2.2.2",
"@types/react": "^16.14.43",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3",
"publint": "^0.2.5",
"svelte": "^4.2.2",
"svelte-check": "^3.5.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^0.34.6"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module"
}