https://github.com/landonepps/autocopper
An autofill browser extension
https://github.com/landonepps/autocopper
Last synced: about 1 year ago
JSON representation
An autofill browser extension
- Host: GitHub
- URL: https://github.com/landonepps/autocopper
- Owner: landonepps
- License: gpl-3.0
- Created: 2019-01-28T06:45:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T12:55:33.000Z (about 7 years ago)
- Last Synced: 2025-02-09T19:50:49.401Z (over 1 year ago)
- Language: JavaScript
- Size: 1.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AutoCopper
A cross-platform browser extension to help with Supreme drops.
Originally I made it for my own personal use and did not intend to share it. There were already too many people using similar tools, and I didn't want to make the situation worse by releasing this for free.
Since I'm no longer interested in Supreme and this extension isn't up to date, I've decided to make it public.
## Installation
$ npm install
If you get node-gyp errors, you may need to install automake.
$ brew install libtool automake autoconf
## Usage
Run `$ gulp --watch` and load the `dist`-directory into chrome.
## Entryfiles (bundles)
There are two kinds of entryfiles that create bundles.
1. All js-files in the root of the `./app/scripts` directory
2. All css-,scss- and less-files in the root of the `./app/styles` directory
## Tasks
### Build
$ gulp
| Option | Description |
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| `--watch` | Starts a livereload server and watches all assets.
To reload the extension on change include `livereload.js` in your bundle. |
| `--production` | Minifies all assets |
| `--verbose` | Log additional data to the console. |
| `--vendor` | Compile the extension for different vendors (chrome, firefox, opera, edge) Default: chrome |
| `--sourcemaps` | Force the creation of sourcemaps. Default: !production |
### pack
Zips your `dist` directory and saves it in the `packages` directory.
$ gulp pack --vendor=firefox
### Version
Increments version number of `manifest.json` and `package.json`,
commits the change to git and adds a git tag.
$ gulp patch // => 0.0.X
or
$ gulp feature // => 0.X.0
or
$ gulp release // => X.0.0
## Globals
The build tool also defines a variable named `process.env.NODE_ENV` in your scripts. It will be set to `development` unless you use the `--production` option.
**Example:** `./app/background.js`
```javascript
if(process.env.NODE_ENV === 'development'){
console.log('We are in development mode!');
}
```