mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-25 07:43:01 +01:00
Merge pull request #333 from leonbubova/main
Update build scripts, .gitignore and docs
This commit is contained in:
4 files changed
+11
-6
No files matched your search
@@ -29,3 +29,6 @@ yarn-error.log*
|
||||
*.sw*
|
||||
|
||||
node_modules
|
||||
|
||||
# Build files
|
||||
Extensions/combined/bundled-content-script.js
|
||||
+5
-3
@@ -25,10 +25,12 @@ npm install
|
||||
2. Run the following command to create `bundled-content-script.js` which is used in `manifest.json`
|
||||
|
||||
```
|
||||
npm run bundle
|
||||
```
|
||||
npm start // to create the build file(s) and start a file watcher that hot-reloads on save
|
||||
|
||||
This will also start a watcher that re-bundles automatically once you save a file inside the source.
|
||||
// or
|
||||
|
||||
npm run build // to create the build file(s) once
|
||||
```
|
||||
|
||||
Congratulations, You are now ready to develop!
|
||||
|
||||
|
||||
+3
-2
@@ -4,8 +4,9 @@
|
||||
"description": "Chrome extension to return youtube dislikes",
|
||||
"main": "ryd.content-script.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"bundle": "node_modules/.bin/webpack \"./Extensions/combined/ryd.content-script.js\" -o \"./Extensions/combined\""
|
||||
"start": "node_modules/.bin/webpack \"./Extensions/combined/ryd.content-script.js\" -o \"./Extensions/combined\" --watch",
|
||||
"build": "node_modules/.bin/webpack \"./Extensions/combined/ryd.content-script.js\" -o \"./Extensions/combined\"",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -10,5 +10,4 @@ module.exports = {
|
||||
ramda: "R",
|
||||
},
|
||||
module: {},
|
||||
watch: true
|
||||
};
|
||||
Reference in new issue
Block a user