-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.44 KB
/
Copy pathpackage.json
File metadata and controls
29 lines (29 loc) · 1.44 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
{
"name": "propsync-scripts",
"version": "1.0.0",
"description": "A comprehensive JavaScript solution for property listing websites, offering advanced filtering, interactive accordions, and dynamic content updates. Designed for seamless integration with Webflow CMS.",
"main": "src/propsync.js",
"scripts": {
"build": "node build.js",
"watch": "node build.js --watch",
"dev": "npm run build:watch",
"serve": "node -e \"const http = require('http'); const fs = require('fs'); const path = require('path'); const server = http.createServer((req, res) => { const filePath = path.join(__dirname, 'dist', req.url === '/' ? 'index.html' : req.url); const ext = path.extname(filePath); const contentType = ext === '.js' ? 'application/javascript' : ext === '.css' ? 'text/css' : 'text/html'; try { const content = fs.readFileSync(filePath); res.writeHead(200, { 'Content-Type': contentType, 'Access-Control-Allow-Origin': '*' }); res.end(content); } catch (err) { res.writeHead(404); res.end('Not found'); } }); server.listen(3000, () => console.log('Server running on http://localhost:3000'));\""
},
"devDependencies": {
"chokidar": "^3.6.0",
"esbuild": "^0.28.0",
"fs-extra": "^11.2.0",
"terser": "^5.31.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rfmarcelino/propsync.git"
},
"keywords": [
"propsync",
"javascript",
"webflow"
],
"author": "PropSync Team",
"license": "MIT"
}