cleanscrape 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -40,6 +40,9 @@ cleanscrape default https://your-app.vercel.app
40
40
  # run the scraped site locally
41
41
  cleanscrape run ./output/example --port 4173
42
42
 
43
+ # same preview server via npm script
44
+ npm run dev
45
+
43
46
  # everything mode is now default; disable with --no-everything
44
47
  cleanscrape https://example.com -o ./output/example --mode clean
45
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cleanscrape",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Clean frontend extractor: convert live sites into editable HTML/CSS/assets",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,8 @@
11
11
  },
12
12
  "scripts": {
13
13
  "build": "tsc -p tsconfig.json",
14
- "dev": "tsx src/cli.ts",
14
+ "dev": "node dist/cli.js run ./output --port 4173",
15
+ "dev:cli": "tsx src/cli.ts",
15
16
  "start": "node dist/cli.js",
16
17
  "check": "tsc --noEmit -p tsconfig.json"
17
18
  },