Compare commits

...

2 Commits

Author SHA1 Message Date
7e7f8bc892 removed old code 2022-06-06 14:48:33 -05:00
91d01ef900 added greasemonkey types 2022-06-06 14:48:22 -05:00
3 changed files with 10 additions and 24 deletions

View File

@@ -1,28 +1,4 @@
import { build } from 'esbuild' 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 { import {
lstatSync, lstatSync,
readdirSync, readdirSync,

View File

@@ -14,6 +14,7 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@types/greasemonkey": "^4.0.3",
"esbuild": "^0.14.42", "esbuild": "^0.14.42",
"eslint": "^8.17.0", "eslint": "^8.17.0",
"prettier": "^2.6.2", "prettier": "^2.6.2",

9
pnpm-lock.yaml generated
View File

@@ -1,12 +1,14 @@
lockfileVersion: 5.3 lockfileVersion: 5.3
specifiers: specifiers:
'@types/greasemonkey': ^4.0.3
esbuild: ^0.14.42 esbuild: ^0.14.42
eslint: ^8.17.0 eslint: ^8.17.0
prettier: ^2.6.2 prettier: ^2.6.2
typescript: ^4.7.3 typescript: ^4.7.3
dependencies: dependencies:
'@types/greasemonkey': 4.0.3
esbuild: 0.14.42 esbuild: 0.14.42
eslint: 8.17.0 eslint: 8.17.0
prettier: 2.6.2 prettier: 2.6.2
@@ -54,6 +56,13 @@ packages:
} }
dev: false dev: false
/@types/greasemonkey/4.0.3:
resolution:
{
integrity: sha512-ryPWLtjXJJJrHBiimtYcpgonOXf5YtsDYgGme1XP8H0U6oon6b7oYEHLSLyr/57epDdy4PyGpZgZcdvEhK2w0w==,
}
dev: false
/acorn-jsx/5.3.2_acorn@8.7.1: /acorn-jsx/5.3.2_acorn@8.7.1:
resolution: resolution:
{ {