-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
195 lines (195 loc) · 7.31 KB
/
package.json
File metadata and controls
195 lines (195 loc) · 7.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"name": "@45ck/content-machine",
"version": "0.2.2",
"description": "CLI-first automated short-form video generator for TikTok, Reels, and Shorts",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"cm": "dist/cli/index.cjs"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/**",
"assets/archetypes/**",
"assets/fonts/**",
"assets/lab/**",
"assets/templates/**",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:cli && npm run build:lib && npm run build:lib:cjs",
"build:cli": "esbuild src/cli/index.ts --bundle --platform=node --format=cjs --packages=external --log-override:empty-import-meta=silent --outfile=dist/cli/index.cjs",
"build:lib": "esbuild src/index.ts --bundle --platform=node --format=esm --packages=external --log-override:empty-import-meta=silent --sourcemap --outfile=dist/index.js",
"build:lib:cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --packages=external --log-override:empty-import-meta=silent --sourcemap --outfile=dist/index.cjs",
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly",
"dev": "tsx watch src/cli/index.ts",
"cm": "tsx src/cli/index.ts",
"review:latest": "node scripts/review-latest.mjs",
"glossary:gen": "node scripts/gen-glossary.mjs",
"glossary:check": "node scripts/quality/check-ubiquitous-language.mjs",
"ul:gen": "node scripts/gen-ubiquitous-language-ts.mjs",
"repo-facts:gen": "bash scripts/quality/with-node20.sh node scripts/gen-repo-facts.mjs",
"repo-facts:check": "bash scripts/quality/with-node20.sh node scripts/quality/check-repo-facts.mjs",
"prompts:check": "bash scripts/quality/with-node20.sh node scripts/quality/check-prompts.mjs",
"docs:lint": "bash scripts/quality/with-node20.sh node scripts/quality/docs-lint.mjs",
"docs:linkcheck": "bash scripts/quality/with-node20.sh node scripts/quality/check-doc-links.mjs",
"docs:check": "npm run docs:lint && npm run docs:linkcheck",
"cspell:gen": "node scripts/gen-cspell.mjs",
"cspell:check": "bash scripts/quality/with-node20.sh npx --no-install cspell lint --config cspell.json --no-progress README.md docs/README.md docs/dev/*.md docs/user/**/*.md docs/reference/**/*.md src/cli/**/*.{ts,tsx,js,mjs,cjs}",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "bash scripts/quality/with-node20.sh sh -c \"node scripts/quality/clean-coverage.mjs && CM_COVERAGE_SINGLE_WORKER=1 scripts/quality/vitest-coverage-retry.sh\"",
"test:coverage:push": "bash scripts/quality/with-node20.sh sh -c \"node scripts/quality/clean-coverage.mjs && CM_COVERAGE_SINGLE_WORKER=1 scripts/quality/vitest-coverage-retry.sh --exclude tests/vv/**/*.visual.test.ts --exclude tests/e2e/**/*.playwright.test.ts\"",
"mutation": "stryker run",
"mutation:node20": "npx -y node@20.18.1 ./node_modules/.bin/stryker run",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --max-warnings 0 --fix",
"format": "prettier . --write",
"format:check": "prettier . --check",
"typecheck": "tsc --noEmit",
"dup:check": "jscpd --config .jscpd.json",
"quality": "npm run glossary:check && npm run repo-facts:check && npm run prompts:check && npm run cspell:check && npm run docs:check && npm run typecheck && npm run lint && npm run format:check && npm run test:coverage && npm run dup:check",
"quality:push": "npm run glossary:check && npm run repo-facts:check && npm run prompts:check && npm run cspell:check && npm run docs:check && npm run typecheck && npm run lint && npm run format:check && npm run test:coverage:push && npm run dup:check",
"quality:full": "npm run quality && npm run mutation",
"size": "size-limit",
"size:check": "size-limit --json",
"docs": "typedoc",
"docs:watch": "typedoc --watch",
"eval": "npx promptfoo eval",
"eval:script": "npx promptfoo eval -c evals/configs/cm-script.yaml",
"prepack": "npm run build && npm run build:types",
"prepublishOnly": "npm run build && npm run build:types",
"postinstall": "node scripts/postinstall.mjs",
"prepare": "husky || true"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.71.2",
"@google/generative-ai": "^0.24.1",
"@iarna/toml": "^3.0.0",
"@remotion/animation-utils": "^4.0.424",
"@remotion/bundler": "^4.0.424",
"@remotion/captions": "^4.0.424",
"@remotion/cli": "^4.0.424",
"@remotion/install-whisper-cpp": "^4.0.424",
"@remotion/layout-utils": "^4.0.424",
"@remotion/player": "^4.0.424",
"@remotion/renderer": "^4.0.424",
"@tavily/core": "^0.6.4",
"adm-zip": "^0.5.16",
"boxen": "^7.1.1",
"chalk": "^5.3.0",
"commander": "^14.0.2",
"dotenv": "^17.2.3",
"fastmcp": "^3.33.0",
"ffmpeg-static": "^5.2.0",
"ffprobe-static": "^3.1.0",
"inquirer": "^13.1.0",
"kokoro-js": "^1.2.1",
"mustache": "^4.2.0",
"openai": "^4.77.0",
"ora": "^9.0.0",
"pexels": "^1.4.0",
"pino": "^10.1.1",
"pino-pretty": "^13.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remotion": "^4.0.424",
"sharp": "^0.34.5",
"tesseract.js": "^7.0.0",
"yaml": "^2.4.0",
"zod": "^3.23.0"
},
"optionalDependencies": {
"@remotion/compositor-win32-x64-msvc": "^4.0.424"
},
"overrides": {
"esbuild": "0.27.2"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@size-limit/file": "^12.0.0",
"@stryker-mutator/core": "^9.5.1",
"@types/adm-zip": "^0.5.7",
"@types/inquirer": "^9.0.0",
"@types/mustache": "^4.2.0",
"@types/node": "^25.0.6",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.51.0",
"@vitest/coverage-istanbul": "^2.1.9",
"@vitest/coverage-v8": "^2.1.9",
"cspell": "^9.2.0",
"esbuild": "0.27.2",
"eslint": "^9.0.0",
"eslint-plugin-jsdoc": "^50.8.0",
"eslint-plugin-sonarjs": "^3.0.5",
"globals": "^17.0.0",
"husky": "^9.1.7",
"jscpd": "^4.0.5",
"lint-staged": "^16.2.7",
"markdownlint-cli2": "^0.18.1",
"msw": "^2.0.0",
"playwright": "^1.58.2",
"pngjs": "^7.0.0",
"prettier": "^3.7.4",
"promptfoo": "^0.120.11",
"size-limit": "^12.0.0",
"tsx": "^4.19.0",
"typedoc": "^0.28.15",
"typescript": "^5.7.0",
"vitest": "^2.0.0"
},
"engines": {
"node": ">=20"
},
"packageManager": "npm@10.8.2",
"repository": {
"type": "git",
"url": "git+https://github.com/45ck/content-machine.git"
},
"homepage": "https://github.com/45ck/content-machine#readme",
"bugs": {
"url": "https://github.com/45ck/content-machine/issues"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"video-generation",
"short-form",
"tiktok",
"reels",
"shorts",
"remotion",
"automation",
"content-creation",
"cli"
],
"lint-staged": {
"registry/repo-facts.yaml": [
"node scripts/quality/lintstaged-repo-facts-gen.mjs"
],
"*.{ts,tsx}": [
"eslint --cache --cache-location .cache/eslint/ --max-warnings 0 --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"size-limit": [
{
"path": "dist/cli/index.cjs",
"limit": "5 MB"
}
]
}