@affectively/slash-commands 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@affectively/slash-commands",
3
+ "version": "1.0.0",
4
+ "description": "Slash command parser with Zod schema integration. Auto-generates commands from Zod schemas with autocomplete, validation, and type coercion for CLI and chat interfaces.",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "LICENSE",
18
+ "README.md",
19
+ "CHANGELOG.md"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsup src/index.ts --format cjs,esm --dts --external zod",
23
+ "prepublishOnly": "npm run build",
24
+ "test": "bun test"
25
+ },
26
+ "keywords": [
27
+ "slash-commands",
28
+ "command-parser",
29
+ "zod",
30
+ "cli",
31
+ "chat",
32
+ "discord",
33
+ "slack",
34
+ "autocomplete",
35
+ "validation",
36
+ "schema"
37
+ ],
38
+ "author": "AFFECTIVELY <opensource@affectively.ai>",
39
+ "license": "MIT",
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/affectively-ai/slash-commands.git"
43
+ },
44
+ "bugs": {
45
+ "url": "https://github.com/affectively-ai/slash-commands/issues"
46
+ },
47
+ "homepage": "https://github.com/affectively-ai/slash-commands#readme",
48
+ "dependencies": {
49
+ "zod": "^3.23.0"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^22.0.0",
53
+ "tsup": "^8.0.0",
54
+ "typescript": "^5.9.0"
55
+ },
56
+ "peerDependencies": {
57
+ "zod": ">=3.0.0"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public"
61
+ }
62
+ }