discord-vc-stats 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -2,10 +2,14 @@
2
2
 
3
3
  ## Installation
4
4
 
5
- Install playwright with
6
- ```npx playwright install```
5
+ Install the package and browser:
6
+ ```sh
7
+ npm install discord-vc-stats
8
+ npx playwright install chromium
9
+ ```
7
10
 
8
11
  ## Usage
9
12
 
10
- Run the script with
11
- ```npx tsx scrape.ts```
13
+ ```sh
14
+ npx discord-vc-stats
15
+ ```
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+
3
+ require('tsx/cjs');
4
+ require('../scrape.ts');
package/package.json CHANGED
@@ -5,18 +5,23 @@
5
5
  "got": "^16.2.0",
6
6
  "playwright": "^1.65.0",
7
7
  "sharp": "^0.35.5",
8
- "terminal-image": "^5.0.1"
8
+ "terminal-image": "^5.0.1",
9
+ "tsx": "^4.23.15"
9
10
  },
10
11
  "devDependencies": {
11
12
  "@types/node": "^26.6.6"
12
13
  },
13
14
  "name": "discord-vc-stats",
14
- "version": "1.0.0",
15
+ "version": "1.0.1",
15
16
  "description": "Discord VC Statistics Tracker",
16
17
  "main": "scrape.ts",
17
- "scripts": {
18
- "start": "tsx scrape.ts"
18
+ "bin": {
19
+ "discord-vc-stats": "bin/discord-vc-stats.cjs"
19
20
  },
21
+ "files": [
22
+ "bin/",
23
+ "scrape.ts"
24
+ ],
20
25
  "keywords": [],
21
26
  "author": "",
22
27
  "license": "ISC",