Compare commits
2 Commits
5f7efc5bc5
...
7e7f8bc892
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e7f8bc892 | |||
| 91d01ef900 |
24
esbuild.mjs
24
esbuild.mjs
@@ -1,28 +1,4 @@
|
||||
import { build } from 'esbuild'
|
||||
// import commandLineArgs from 'command-line-args';
|
||||
|
||||
// const args = commandLineArgs([
|
||||
// { name: 'watch', alias: 'w', type: Boolean },
|
||||
// { name: 'bundle', alias: 'b', type: Boolean },
|
||||
// { name: 'minify', alias: 'm', type: Boolean },
|
||||
// { name: 'sourcemap', alias: 's', type: Boolean }
|
||||
// ]);
|
||||
|
||||
//build TS
|
||||
// build({
|
||||
// entryPoints: ['src/main.ts'],
|
||||
// outdir: 'dist',
|
||||
|
||||
// target: 'es2020',
|
||||
// platform: 'node',
|
||||
// format: 'cjs',
|
||||
|
||||
// watch: args.watch,
|
||||
// bundle: args.bundle,
|
||||
// minify: args.minify,
|
||||
// sourcemap: args.sourcemap
|
||||
// });
|
||||
|
||||
import {
|
||||
lstatSync,
|
||||
readdirSync,
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@types/greasemonkey": "^4.0.3",
|
||||
"esbuild": "^0.14.42",
|
||||
"eslint": "^8.17.0",
|
||||
"prettier": "^2.6.2",
|
||||
|
||||
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
@@ -1,12 +1,14 @@
|
||||
lockfileVersion: 5.3
|
||||
|
||||
specifiers:
|
||||
'@types/greasemonkey': ^4.0.3
|
||||
esbuild: ^0.14.42
|
||||
eslint: ^8.17.0
|
||||
prettier: ^2.6.2
|
||||
typescript: ^4.7.3
|
||||
|
||||
dependencies:
|
||||
'@types/greasemonkey': 4.0.3
|
||||
esbuild: 0.14.42
|
||||
eslint: 8.17.0
|
||||
prettier: 2.6.2
|
||||
@@ -54,6 +56,13 @@ packages:
|
||||
}
|
||||
dev: false
|
||||
|
||||
/@types/greasemonkey/4.0.3:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-ryPWLtjXJJJrHBiimtYcpgonOXf5YtsDYgGme1XP8H0U6oon6b7oYEHLSLyr/57epDdy4PyGpZgZcdvEhK2w0w==,
|
||||
}
|
||||
dev: false
|
||||
|
||||
/acorn-jsx/5.3.2_acorn@8.7.1:
|
||||
resolution:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user