Change from js to Typescript

This commit is contained in:
Victor Risgaard 2023-11-14 05:04:27 +01:00
parent ebe35f2972
commit be9701305e
No known key found for this signature in database
GPG Key ID: 0A195363F0F0A885
94 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,10 +1,10 @@
{ {
"name": "4chan-XT", "name": "4chan-XZ",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "4chan-XT", "name": "4chan-XZ",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@rollup/plugin-terser": "^0.4.1", "@rollup/plugin-terser": "^0.4.1",

View File

@ -1,5 +1,5 @@
{ {
"name": "4chan-XT", "name": "4chan-XZ",
"description": "4chan XT is a script that adds various features to anonymous imageboards.", "description": "4chan XT is a script that adds various features to anonymous imageboards.",
"meta": { "meta": {
"name": "4chan XT", "name": "4chan XT",

View File

@ -37,7 +37,7 @@ const minify = process.argv.includes('-min');
const inlineFile = await setupFileInliner(packageJson); const inlineFile = await setupFileInliner(packageJson);
const bundle = await rollup({ const bundle = await rollup({
input: resolve(__dirname, '../src/main/Main.js'), input: resolve(__dirname, '../src/main/Main.ts'),
plugins: [ plugins: [
typescript(), typescript(),
inlineFile({ inlineFile({