-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.21 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.21 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
{
"name": "ts-medium-editor",
"type": "module",
"version": "0.1.0",
"description": "A modern, minimal & performant Medium-like rich text editor.",
"author": "Chris Breuer <chris@stacksjs.org>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/ts-medium-editor#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/stacksjs/ts-medium-editor.git"
},
"bugs": {
"url": "https://github.com/stacksjs/ts-medium-editor/issues"
},
"keywords": [
"typescript",
"starter",
"kit",
"bun",
"package"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./css/*": {
"import": "./dist/css/*"
},
"./*": {
"import": "./dist/*"
}
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"README.md",
"dist"
],
"scripts": {
"build": "bun --bun build.ts",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"prepublishOnly": "bun --bun run build",
"lint": "bunx --bun pickier .",
"lint:fix": "bunx --bun pickier . --fix",
"changelog": "bunx logsmith --verbose",
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
"release": "bun run changelog:generate && bunx bumpx prompt --recursive",
"postinstall": "bunx git-hooks",
"test": "bun test test/",
"test:watch": "bun test --watch test/",
"test:coverage": "bun test --coverage test/",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
"typecheck": "bun --bun tsc --noEmit",
"dev:demo": "bun run build && bun run serve-demo.ts",
"serve:demo": "bun run serve-demo.ts",
"format": "bunx --bun pickier . --format",
"format:fix": "bunx --bun pickier . --format --write"
},
"devDependencies": {
"@stacksjs/bunpress": "^0.1.4",
"@types/rangy": "^1.3.0",
"better-dx": "^0.2.7",
"happy-dom": "^20.8.9",
"rangy": "^1.3.2"
},
"git-hooks": {
"pre-commit": {
"staged-lint": {
"*.{js,ts,json,yaml,yml,md}": "bunx --bun pickier lint --fix"
}
},
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
}
}