Skip to content

Commit

Permalink
Remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
umpirsky committed Apr 1, 2018
1 parent 4cca566 commit e457582
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
node_modules
npm-debug.log
bootstrap.min.css
browser-polyfill.min.js
dist
chess-notifier.xpi
chess-notifier.zip
5 changes: 3 additions & 2 deletions bin/build
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh

rm -rf dist/*
rm -rf node_modules/bootstrap/js node_modules/bootstrap/scss node_modules/bootstrap/dist/js node_modules/jquery node_modules/popper.js
cp -r src/*.html src/*.js src/icons node_modules dist
cp node_modules/bootstrap/dist/css/bootstrap.min.css src
cp node_modules/webextension-polyfill/dist/browser-polyfill.min.js src
cp -r src/*.html src/*.css src/*.js src/icons dist
jq -s '.[0] * .[1]' src/manifest/common.json src/manifest/$1.json > dist/manifest.json
2 changes: 1 addition & 1 deletion src/manifest/chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Saša Stamenković",
"background": {
"scripts": [
"node_modules/webextension-polyfill/dist/browser-polyfill.min.js",
"browser-polyfill.min.js",
"background.js"
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap.min.css">
</head>

<body>
Expand Down

0 comments on commit e457582

Please sign in to comment.