-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.94 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.94 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
{
"name": "@junjie-wu/lyric-timer-cli",
"version": "1.2.3",
"description": "A command-line focus timer available as Docker image, NPM package, and executables.",
"author": "Junjie Wu",
"license": "MIT",
"type": "module",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"bin": {
"lyric-timer": "dist/src/bin/lyric-timer.js"
},
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/junjie-w/lyric-timer-cli.git"
},
"homepage": "https://github.com/junjie-w/lyric-timer-cli#readme",
"bugs": {
"url": "https://github.com/junjie-w/lyric-timer-cli/issues"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "tsx --watch-preserve-output src/cli/index.ts",
"build": "tsc",
"start": "node dist/src/cli/index.js",
"start:build": "npm run build && npm start",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"lint": "eslint . --fix",
"lint:check": "eslint .",
"type-check": "tsc --noEmit",
"docker:build": "docker build -t lyric-timer .",
"docker:run": "docker run -it --name lyric-timer -e TERM=xterm-256color lyric-timer",
"docker:stop": "docker stop lyric-timer || true",
"docker:logs": "docker logs lyric-timer",
"docker:rmi": "docker rmi lyric-timer || true",
"docker:rm": "docker rm -f lyric-timer || true",
"docker:clean": "npm run docker:rm && npm run docker:rmi",
"prepublishOnly": "npm run build",
"prepare": "husky",
"build:exe": "ncc build src/bin/lyric-timer.ts -o executables --minify",
"build:exe:compress": "npm run build:exe && npm run compress:executables",
"compress:executables": "node scripts/compress-executables.js",
"start:built": "./executables/index.js",
"start:mac-arm": "node scripts/run-mac-arm.js",
"start:mac-intel": "node scripts/run-mac-intel.js",
"start:linux": "node scripts/run-linux.js"
},
"keywords": [
"cli",
"timer",
"focus",
"productivity",
"lyrics",
"pomodoro"
],
"dependencies": {
"@clack/prompts": "^0.8.2",
"chalk": "^5.3.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/js": "^8.56.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/gradient-string": "^1.1.6",
"@types/node": "^22.9.3",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@vercel/ncc": "^0.38.3",
"@vitest/coverage-v8": "^2.1.6",
"eslint": "^9.10.0",
"eslint-plugin-import": "^2.30.0",
"globals": "^14.0.0",
"husky": "^9.1.7",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.10",
"semantic-release": "^24.2.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^2.1.6"
}
}