-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.32 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.32 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
{
"name": "local-to-pages",
"version": "0.1.23",
"productName": "Local to Cloudflare Pages",
"description": "Deploy your WordPress site as a static site to Cloudflare Pages with llms.txt generation.",
"author": "Matt Lawrence",
"icon": "icon.png",
"bgColor": "#51bb7b",
"main": "dist/main.js",
"renderer": "dist/renderer.js",
"files": [
"dist/",
"favicon-assets/",
"icon.png",
"local-addon.json",
"package.json"
],
"scripts": {
"build": "./node_modules/.bin/webpack --config webpack.config.js",
"build:main": "./node_modules/.bin/webpack --config webpack.config.js --env target=main",
"build:renderer": "./node_modules/.bin/webpack --config webpack.config.js --env target=renderer",
"watch": "./node_modules/.bin/webpack --config webpack.config.js --watch",
"version": "node -e \"const fs=require('fs');const v=process.env.npm_package_version;const a=JSON.parse(fs.readFileSync('local-addon.json','utf8'));a.version=v;fs.writeFileSync('local-addon.json',JSON.stringify(a,null,2)+'\\n');const php=fs.readFileSync('wordpress-plugin/local-to-pages/local-to-pages.php','utf8');fs.writeFileSync('wordpress-plugin/local-to-pages/local-to-pages.php',php.replace(/\\* Version:\\s+[\\d.]+/,'* Version: '+v));\" && git add local-addon.json wordpress-plugin/local-to-pages/local-to-pages.php",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx --max-warnings 0",
"test": "vitest run"
},
"dependencies": {
"electron-store": "^8.2.0",
"turndown": "^7.2.4"
},
"devDependencies": {
"@getflywheel/local": "^10.0.0",
"@getflywheel/local-components": "^17.8.1",
"@eslint/js": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^8.58.2",
"@typescript-eslint/parser": "^8.0.0",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/react-router-dom": "^5.3.3",
"@types/turndown": "^5.0.4",
"css-loader": "^7.1.4",
"eslint": "^10.2.0",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.5.0",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.7",
"typescript": "^6.0.2",
"vitest": "^4.1.4",
"webpack": "^5.106.1",
"webpack-cli": "^7.0.2"
},
"peerDependencies": {
"electron": "*",
"react": "*",
"react-dom": "*"
}
}