commit a3683d9e494b1d91d109025ff9e2d1ee29eb1bfe Author: Haku Date: Tue Nov 23 19:52:33 2021 -0500 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9de3898 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea/ +build/icons/ +build/scripts/ \ No newline at end of file diff --git a/build/manifest.json b/build/manifest.json new file mode 100644 index 0000000..3767a79 --- /dev/null +++ b/build/manifest.json @@ -0,0 +1,24 @@ +{ + "manifest_version": 3, + "name": "Raspberry", + "version": "1.0", + "description": "Defend easier in NationStates.", + "author": "Haku", + "icons": { + "16": "icons/16.png", + "48": "icons/48.png", + "128": "icons/128.png" + }, + "permissions": ["activeTab", "storage"], + "host_permissions": [ + "https://*.nationstates.net/*" + ], + "content_scripts": [ + { + "matches": ["https://www.nationstates.net/*"], + "exclude_matches": ["https://forum.nationstates.net/*"], + "run_at": "document_end", + "js": ["scripts/main.js"] + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..5ba97a4 --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "raspberry", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC" +} diff --git a/src/buttons.ts b/src/buttons.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/helpers.ts b/src/helpers.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/settings.ts b/src/settings.ts new file mode 100644 index 0000000..e69de29 diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..cec0517 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "ES6", + "sourceMap": false, + "outDir": "build/scripts" + }, + "include": [ + "src/*" + ], + "exclude": [ + "node_modules", + "src/ts/notyf.min" + ] +} \ No newline at end of file