Skip to content

Commit

Permalink
Merge pull request #23 from AshBardhan/manifest-v3-update
Browse files Browse the repository at this point in the history
New "Manifest v3 Update"
  • Loading branch information
AshBardhan authored Feb 3, 2024
2 parents 1804893 + 0f82e2d commit 2cb0f57
Show file tree
Hide file tree
Showing 11 changed files with 568 additions and 585 deletions.
11 changes: 8 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ module.exports = function (grunt) {
indentType: 'tab',
sourceMap: false
},
dist: {
build: {
files: {
'src/content_scripts/inject.css': 'styles/inject.scss'
}
}
},
clean: {
'build' : ['dist/', 'memefy-this.zip'],
'dev' : ['dist/']
},
copy: {
'folders': {
src: ['src/**', '_locales/**', 'icons/**'],
Expand Down Expand Up @@ -49,10 +53,11 @@ module.exports = function (grunt) {
}
});

grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-zip');
grunt.loadNpmTasks('grunt-contrib-watch');

grunt.registerTask('build', ['sass', 'copy', 'zip']);
grunt.registerTask('test', ['sass', 'copy', 'watch']);
grunt.registerTask('build', ['clean:build', 'sass', 'copy', 'zip']);
grunt.registerTask('dev', ['clean:dev', 'sass', 'copy', 'watch']);
};
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
> **NOTE**
>
> This chrome extension was developed in `manifest_version: 2`. which is now deprecated by Google Chrome browsers. The migration to `manifest_version: 3` is currently under development. Once migrated, you will see this extension activated in Chrome soon.
>
> You can still use this extension locally in your Chrome browser by forking this repo, building it and loading it as the unpacked extension. Read the **Setup** section below for more details.
# Memefy This

![app-logo](/docs/logo.png)
Expand All @@ -25,7 +19,7 @@ If you find it useful (I bet you will!), show your support by all means
- Install all the required dependencies by running `yarn install`.
- Create a new branch out off `master` for your fix/feature by running `git checkout -b new-feature`.
- Build this project by running the following commands
- `grunt test` - This creates `dist` folder containing files (unminified version) for the chrome-extension and a watcher task.
- `grunt dev` - This creates `dist` folder containing files (unminified version) for the chrome-extension and a watcher task.
- `grunt build` - This creates `dist` folder containing files (minified version) for the chrome-extension and its `.zip` file (only for admin purpose).
- Install in your chrome by loading the generated `dist` folder as an [unpacked extension](http://techapple.net/2015/09/how-to-install-load-unpacked-extension-in-google-chrome-browser-os-chromebooks/).

Expand Down
Loading

0 comments on commit 2cb0f57

Please sign in to comment.