-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.19 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.19 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
75
76
77
78
79
80
81
82
{
"name": "@rohal12/spindle",
"version": "0.2.0",
"type": "module",
"description": "A Preact-based story format for Twine 2.",
"license": "Unlicense",
"author": "Rohal12",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/rohal12/spindle.git"
},
"homepage": "https://rohal12.github.io/spindle/",
"bugs": "https://github.com/rohal12/spindle/issues",
"keywords": [
"twine-story-format",
"twine",
"interactive-fiction",
"story-format",
"preact"
],
"exports": {
".": {
"types": "./dist/pkg/types/index.d.ts",
"import": "./dist/pkg/index.js"
}
},
"files": [
"dist/pkg/index.js",
"dist/pkg/format.js",
"dist/pkg/types",
"src"
],
"scripts": {
"build": "vite build && bun run scripts/build-format.ts",
"compile": "bun run scripts/compile-story.ts",
"preview": "bun run build && bun run compile",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"prepublishOnly": "bun run build && bun run test",
"prepare": "husky"
},
"dependencies": {
"immer": "^11.1.4",
"micromark": "^4.0.2",
"micromark-extension-gfm-strikethrough": "^2.1.0",
"micromark-extension-gfm-table": "^2.1.1",
"preact": "^10.28.4",
"zustand": "^5.0.11"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"@preact/preset-vite": "^2.10.3",
"@rohal12/twee-ts": "^1.1.2",
"@types/js-yaml": "^4.0.9",
"@types/react": "^18.3.28",
"@vitest/coverage-v8": "^4.0.18",
"happy-dom": "^20.8.3",
"husky": "^9.1.7",
"js-yaml": "^4.1.1",
"lint-staged": "^16.3.2",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vite-plugin-singlefile": "^2.3.0",
"vitepress": "^1.6.4",
"vitest": "^4.0.18"
}
}