Skip to content

Commit 7bc8318

Browse files
committed
Typescript works now
1 parent 65571ae commit 7bc8318

9 files changed

Lines changed: 625 additions & 201 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
.DS_Store
33
**/.DS_Store
44
**/*.m4b
5-
test_files/
5+
**/*.mp3
6+
test_files/
7+
/node_modules/

chapterize.py

Lines changed: 0 additions & 183 deletions
This file was deleted.

package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "chapterify",
3+
"module": "src/chapterize_cli.ts",
4+
"type": "module",
5+
"devDependencies": {
6+
"@types/node": "latest",
7+
"ts-node": "^10.9.1",
8+
"typescript": "^5.0.0"
9+
},
10+
"scripts": {
11+
"example": "ts-node --esm src/chapterize_cli.ts a.m4b \"assets/*.mp3\" --cover-image \"assets/banner.png\""
12+
},
13+
"dependencies": {
14+
"commander": "^11.0.0",
15+
"glob": "^10.3.3",
16+
"natural-orderby": "^3.0.2"
17+
}
18+
}

0 commit comments

Comments
 (0)