Skip to content

Commit

Permalink
chore: simplify directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6b committed Jan 9, 2019
1 parent 2ab836d commit aec6688
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"web-ext": "web-ext",
"watch:webextension": "unset WEB_EXT_API_KEY WEB_EXT_API_SECRET && web-ext --browser-console --start-url https://developer.mozilla.org/en-US/Add-ons/WebExtensions/web-ext_command_reference --start-url https://www.mozilla.org/en-US/contribute/ --start-url https://stats.stackexchange.com/questions/235528/backpropagation-with-softmax-cross-entropy --source-dir dist --artifacts-dir dist/web-ext-artifacts run",
"watch:js": "webpack --watch --progress",
"watch:assets": "cpx 'src/{icons/*,manifest.json}' dist --watch",
"watch:assets": "cpx 'src/{icons/*.svg,manifest.json}' dist --watch",
"prewatch": "npm-run-all generate-icons copy-assets",
"watch": "npm-run-all --parallel watch:*",
"webpack": "webpack",
"generate-icons": "node src/icons/generate.js",
"copy-assets": "cpx 'src/{icons/*,settings/*,manifest.json}' dist",
"copy-assets": "cpx 'src/{icons/*.svg,settings.html,manifest.json}' dist",
"prebuild": "npm-run-all generate-icons copy-assets webpack",
"build": "unset WEB_EXT_API_KEY WEB_EXT_API_SECRET WEB_EXT_FIREFOX && web-ext --source-dir dist --artifacts-dir dist/web-ext-artifacts build",
"postbuild": "unset WEB_EXT_FIREFOX && web-ext --source-dir dist --artifacts-dir dist/web-ext-artifacts sign --api-key $WEB_EXT_API_KEY --api-secret $WEB_EXT_API_SECRET",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": ["index.js"]
},
"options_ui": {
"page": "settings/settings.html",
"page": "settings.html",
"browser_style": true
},
"permissions": ["<all_urls>", "activeTab", "clipboardWrite", "contextMenus", "tabs", "storage"],
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
devtool: "source-map",
entry: {
index: "./src/index.js",
copy: "./src/copy.js"
copy: "./src/copy.js",
options: "./src/options.js"
},
output: {
path: __dirname + "/dist",
Expand Down

0 comments on commit aec6688

Please sign in to comment.