This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
forked from ozanozbek/esbuild-plugin-copy-file
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3.14 KB
/
package.json
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
{
"name": "electron-esbuild",
"version": "5.0.2",
"keywords": [
"esbuild",
"electron",
"webpack",
"renderer",
"hmr",
"hot reload",
"cli"
],
"description": "Use esbuild with Electron for blazing fast compilation",
"repository": "https://github.com/Kiyozz/electron-esbuild",
"author": {
"name": "Kévin TURMEL",
"email": "[email protected]",
"url": "https://github.com/Kiyozz"
},
"license": "MIT",
"bin": {
"electron-esbuild": "./dist/index.mjs"
},
"exports": "./dist/index.mjs",
"engines": {
"node": "^14.13.1 || >=16.0.0"
},
"files": [
"dist"
],
"dependencies": {
"chokidar": "^3.5.3",
"compression": "^1.7.4",
"connect": "^3.7.0",
"debounce-fn": "^5.1.0",
"deepmerge": "^4.2.2",
"dependency-tree-81": "^8.1.2",
"has": "^1.0.3",
"http-proxy": "^1.18.1",
"joi": "^17.6.0",
"js-yaml": "^4.1.0",
"livereload": "^0.9.1",
"meow": "^10.1.2",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@electron-esbuild/ee": "^0.4.0",
"@types/compression": "^1.7.2",
"@types/connect": "^3.4.35",
"@types/cross-spawn": "^6.0.2",
"@types/has": "^1.0.0",
"@types/http-proxy": "^1.17.8",
"@types/js-yaml": "^4.0.5",
"@types/livereload": "^0.9.2",
"@types/node": "^17.0.23",
"@types/rimraf": "^3.0.2",
"esbuild": "^0.14.29",
"typescript": "~4.6.3",
"vite": "~2.9.1",
"webpack": "^5.70.0",
"webpack-dev-server": "^4.7.4"
},
"peerDependencies": {
"esbuild": "0.14.x",
"vite": "2.5.x || 2.6.x || 2.7.x || 2.8.x || 2.9.x",
"webpack": "^5.x",
"webpack-dev-server": "4.x"
},
"peerDependenciesMeta": {
"webpack": {
"optional": true
},
"webpack-dev-server": {
"optional": true
},
"vite": {
"optional": true
}
},
"scripts": {
"build": "ee 'src/**' --format esm --sourcemap --clean-outdir --outdir dist --target node16",
"lint": "eslint src --ext mts,mjs,ts,js"
},
"readme": "# electron-esbuild\n\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Kiyozz/electron-esbuild/blob/HEAD/LICENSE)\n[![electron-esbuild version](https://img.shields.io/npm/v/electron-esbuild.svg?label=%20)](./CHANGELOG.md)\n\n## Getting Started\n\nWith pnpm:\n\n pnpm init @electron-esbuild/app\n\nWith npm:\n\n npm init @electron-esbuild/app\n\nWith yarn:\n\n yarn create @electron-esbuild/app\n\n**All configurations are already setup for you.**\n\nStart a development build\n\n```shell\nnpm run dev\n```\n\nAll arguments after `--` will be pass through the electron process.\n\n```shell\nelectron-esbuild dev -- --remote-debugging-port\n```\n\n- `--remote-debugging-port=9229` will start the devtools to the port 9229\n- `--remote-debugging-port` will start the devtools to a free port\n- `--inspect=9230` will start the inspector to the port 9230\n- `--inspect` will start the inspector to a free port\n\nCreate a build\n\n```shell\nnpm run build\n```\n\n```shell\nnpm run build -- --no-clean # do not clean output before build\n```\n\nPackage the app\n\n```shell\nnpm run package\n```\n\n## Development\n\nRefer to [README](../../README.md)\n"
}