-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 4.31 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 4.31 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "instructions-composer-workspace",
"version": "2.0.0",
"type": "module",
"private": true,
"workspaces": [
"packages/*"
],
"author": "synthable",
"license": "GPL-3.0-or-later",
"description": "A CLI tool for composing, managing, and building modular AI assistant instructions.",
"homepage": "https://github.com/synthable/copilot-instructions-cli",
"bugs": {
"url": "https://github.com/synthable/copilot-instructions-cli/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/synthable/copilot-instructions-cli.git"
},
"keywords": [
"ai",
"copilot",
"instructions",
"cli",
"persona"
],
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"prepare": "npm run build",
"build:tsc": "tsc --build --pretty",
"build:tsc:clean": "tsc --build --clean",
"build:tsc:force": "tsc --build --force --pretty",
"build": "npm run build --workspaces --if-present",
"build:clean": "npm run clean --workspaces --if-present && npm run build",
"build:lib": "npm run build -w packages/ums-lib",
"build:lib:clean": "npm run clean -w packages/ums-lib && npm run build -w packages/ums-lib",
"build:sdk": "npm run build -w packages/ums-sdk",
"build:sdk:clean": "npm run clean -w packages/ums-sdk && npm run build -w packages/ums-sdk",
"build:cli": "npm run build -w packages/ums-cli",
"build:cli:clean": "npm run clean -w packages/ums-cli && npm run build -w packages/ums-cli",
"build:mcp": "npm run build -w packages/ums-mcp",
"build:mcp:clean": "npm run clean -w packages/ums-mcp && npm run build -w packages/ums-mcp",
"test": "npm run test --workspaces --if-present",
"test:cli": "npm run test -w packages/ums-cli",
"test:ums": "npm run test -w packages/ums-lib",
"test:sdk": "npm run test -w packages/ums-sdk",
"test:mcp": "npm run test -w packages/ums-mcp",
"test:coverage": "npm run test:coverage --workspaces --if-present",
"test:cli:coverage": "npm run test:coverage -w packages/ums-cli --if-present",
"test:ums:coverage": "npm run test:coverage -w packages/ums-lib --if-present",
"test:sdk:coverage": "npm run test:coverage -w packages/ums-sdk --if-present",
"test:mcp:coverage": "npm run test:coverage -w packages/ums-mcp --if-present",
"lint": "eslint 'packages/*/src/**/*.ts'",
"lint:fix": "eslint 'packages/*/src/**/*.ts' --fix",
"lint:cli": "npm run lint -w packages/ums-cli",
"lint:cli:fix": "npm run lint:fix -w packages/ums-cli",
"lint:ums": "npm run lint -w packages/ums-lib",
"lint:ums:fix": "npm run lint:fix -w packages/ums-lib",
"lint:sdk": "npm run lint -w packages/ums-sdk",
"lint:sdk:fix": "npm run lint:fix -w packages/ums-sdk",
"lint:mcp": "npm run lint -w packages/ums-mcp",
"lint:mcp:fix": "npm run lint:fix -w packages/ums-mcp",
"format": "prettier --write 'packages/*/src/**/*.ts'",
"format:check": "prettier --check 'packages/*/src/**/*.ts'",
"format:cli": "npm run format -w packages/ums-cli",
"format:cli:check": "npm run format:check -w packages/ums-cli",
"format:ums": "npm run format -w packages/ums-lib",
"format:ums:check": "npm run format:check -w packages/ums-lib",
"format:sdk": "npm run format -w packages/ums-sdk",
"format:sdk:check": "npm run format:check -w packages/ums-sdk",
"format:mcp": "npm run format -w packages/ums-mcp",
"format:mcp:check": "npm run format:check -w packages/ums-mcp",
"typecheck": "npm run typecheck --workspaces --if-present",
"quality-check": "npm run quality-check --workspaces --if-present",
"pre-commit": "npm run typecheck && npx lint-staged",
"pre-push": "npm run typecheck && npm test && npm run lint && npm run build",
"demo:rag-cot": "node examples/rag-cot-demo/main.js"
},
"lint-staged": {
"packages/*/src/**/*.ts": [
"eslint 'packages/*/src/**/*.ts' --fix",
"prettier 'packages/*/src/**/*.ts' --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write ."
]
},
"devDependencies": {
"@types/node": "^24.1.0",
"@vitest/coverage-v8": "^4.0.9",
"@vitest/eslint-plugin": "^1.3.4",
"eslint": "^9.34.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^16.3.0",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0",
"vitest": "^4.0.9"
}
}