Browse Source

Basic webextension-toolbox scaffolding

tags/v0.1.0
Gerben 4 years ago
parent
commit
4af928e596
8 changed files with 5585 additions and 0 deletions
  1. +3
    -0
      .gitignore
  2. +26
    -0
      README.md
  3. +14
    -0
      app/_locales/en/messages.json
  4. +19
    -0
      app/manifest.json
  5. +0
    -0
      app/scripts/background.js
  6. +0
    -0
      app/scripts/contentscript.js
  7. +5505
    -0
      package-lock.json
  8. +18
    -0
      package.json

+ 3
- 0
.gitignore View File

@@ -0,0 +1,3 @@
node_modules/
packages/
dist/

+ 26
- 0
README.md View File

@@ -0,0 +1,26 @@
# Bookmark audio fragment

Browser extension to bookmark fragments of audio files.


## Contribute

This project uses [webextension-toolbox](https://github.com/HaNdTriX/webextension-toolbox) for building/bundling the source code. It provides the following commands:

### Install

$ npm install

### Development

npm run dev chrome
npm run dev firefox
npm run dev opera
npm run dev edge

### Build

npm run build chrome
npm run build firefox
npm run build opera
npm run build edge

+ 14
- 0
app/_locales/en/messages.json View File

@@ -0,0 +1,14 @@
{
"appName": {
"message": "Bookmark audio fragment",
"description": "The name of the application"
},
"appShortName": {
"message": "Bookmark audio fragment",
"description": "The short_name (maximum of 12 characters recommended) is a short version of the app's name."
},
"appDescription": {
"message": "Browser extension to bookmark fragments of audio files",
"description": "The description of the application"
}
}

+ 19
- 0
app/manifest.json View File

@@ -0,0 +1,19 @@
{
"manifest_version": 2,
"default_locale": "en",
"icons": {
},
"background": {
"scripts": [
"scripts/background.js"
]
},
"content_scripts": [{
"matches": ["<all_urls>"],
"js": ["scripts/contentscript.js"],
"run_at": "document_end"
}],
"permissions": [
"activeTab"
]
}

+ 0
- 0
app/scripts/background.js View File


+ 0
- 0
app/scripts/contentscript.js View File


+ 5505
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 18
- 0
package.json View File

@@ -0,0 +1,18 @@
{
"name": "bookmark-audio-fragment",
"version": "0.0.1",
"description": "Browser extension to bookmark fragments of audio files",
"url": "https://github.com/salus-sage/bookmark-audio-fragment",
"contributors": [
"salus-sage",
"Gerben"
],
"scripts": {
"dev": "webextension-toolbox dev",
"build": "webextension-toolbox build"
},
"devDependencies": {
"webextension-toolbox": "latest"
},
"dependencies": {}
}

Loading…
Cancel
Save