Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.64 KB
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
{
"name": "@warpkit/core",
"version": "0.0.1",
"description": "Svelte 5 application framework with state-driven routing, navigation lifecycle, and provider architecture",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/upstat-io/warpkit.git"
},
"homepage": "https://github.com/upstat-io/warpkit#readme",
"bugs": {
"url": "https://github.com/upstat-io/warpkit/issues"
},
"keywords": ["svelte", "svelte5", "routing", "navigation", "state-management", "spa", "warpkit"],
"workspaces": ["packages/*"],
"type": "module",
"files": ["dist"],
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"default": "./dist/index.js"
},
"./testing": {
"types": "./dist/testing/index.d.ts",
"svelte": "./dist/testing/index.js",
"default": "./dist/testing/index.js"
},
"./testing/providers": {
"types": "./dist/testing/providers.d.ts",
"svelte": "./dist/testing/providers.js",
"default": "./dist/testing/providers.js"
}
},
"scripts": {
"clean": "rm -rf dist packages/*/dist",
"build:packages": "bun run clean && for pkg in packages/types packages/errors packages/validation packages/websocket packages/auth-firebase packages/data-firestore packages/storage-firebase packages/vite-plugin packages/data packages/forms packages/cache packages/create-warpkit; do echo \"Building $pkg...\" && cd $pkg && bun run build && cd ../.. || exit 1; done",
"build": "bun run build:packages && echo 'Building @warpkit/core...' && svelte-package -i src -o dist",
"test": "bun test src",
"test:packages": "bunx vitest run --config vitest.config.ts",
"test:browser": "bunx vitest run --config vitest.browser.config.ts",
"test:all": "bun run test && bun run test:packages && bun run test:browser",
"test:watch": "bun test src --watch",
"test:coverage": "bun test src --coverage",
"typecheck": "bunx svelte-check --tsconfig ./tsconfig.json",
"check": "bunx svelte-check --tsconfig ./tsconfig.json",
"lint": "bunx eslint .",
"dev": "bun run --hot src/index.ts"
},
"dependencies": {
"@warpkit/errors": "workspace:*"
},
"peerDependencies": {
"svelte": "^5.53.7"
},
"devDependencies": {
"@playwright/experimental-ct-svelte": "^1.58.2",
"@playwright/test": "^1.62.1",
"@sveltejs/package": "^2.5.8",
"@sveltejs/vite-plugin-svelte": "^6.2.4",
"@vitest/browser": "^4.1.10",
"@vitest/browser-playwright": "^4.1.10",
"mitata": "^1.0.34",
"readdirp": "^5.1.1",
"typescript": "~6.0.3",
"vite": "^6.0.0",
"vitest": "^4.1.10",
"vitest-browser-svelte": "^2.2.1"
}
}