Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded files from chrome extension #114

Open
Stebalien opened this issue Feb 16, 2017 · 2 comments
Open

Remove unneeded files from chrome extension #114

Stebalien opened this issue Feb 16, 2017 · 2 comments

Comments

@Stebalien
Copy link
Member

Currently, the build system copies a lot of source files that aren't really needed for distribution. For reference, we currently package:

tipsy/
├── css
│   └── tipsy.css
├── fonts
│   ├── FontAwesome.otf
│   ├── fontawesome-webfont.eot
│   ├── fontawesome-webfont.svg
│   ├── fontawesome-webfont.ttf
│   └── fontawesome-webfont.woff
├── html
│   └── index.html
├── img
│   ├── bitcoin_pay.png
│   ├── bitcoin.png
│   ├── dwolla_pay.png
│   ├── dwolla.png
│   ├── logo19.png
│   ├── logo48.png
│   ├── logo64.png
│   ├── paypal.png
│   ├── settings.png
│   └── stripe.png
├── js
│   ├── background.js
│   ├── background.js.map
│   ├── contentscript.js
│   ├── contentscript.js.map
│   ├── tipsy.js
│   └── tipsy.js.map
├── _locales
│   ├── en
│   │   └── messages.json
│   └── es
│       └── messages.json
├── manifest.json
├── node_modules
│   ├── combyne
│   │   └── dist
│   │       ├── combyne.js
│   │       └── combyne.legacy.js
│   ├── jquery
│   │   └── dist
│   │       ├── jquery.js
│   │       ├── jquery.min.js
│   │       └── jquery.min.map
│   ├── moment
│   │   └── min
│   │       ├── locales.js
│   │       ├── locales.min.js
│   │       ├── moment.min.js
│   │       ├── moment-with-locales.js
│   │       └── moment-with-locales.min.js
│   ├── purecss
│   │   └── build
│   │       ├── base-context.css
│   │       ├── base-context-min.css
│   │       ├── base.css
│   │       ├── base-min.css
│   │       ├── buttons-core.css
│   │       ├── buttons-core-min.css
│   │       ├── buttons.css
│   │       ├── buttons-min.css
│   │       ├── forms.css
│   │       ├── forms-min.css
│   │       ├── forms-nr.css
│   │       ├── forms-nr-min.css
│   │       ├── grids-core.css
│   │       ├── grids-core-min.css
│   │       ├── grids.css
│   │       ├── grids-min.css
│   │       ├── grids-responsive.css
│   │       ├── grids-responsive-min.css
│   │       ├── grids-responsive-old-ie.css
│   │       ├── grids-responsive-old-ie-min.css
│   │       ├── grids-units.css
│   │       ├── grids-units-min.css
│   │       ├── HISTORY.md
│   │       ├── LICENSE.md
│   │       ├── menus-core.css
│   │       ├── menus-core-min.css
│   │       ├── menus.css
│   │       ├── menus-dropdown.css
│   │       ├── menus-dropdown-min.css
│   │       ├── menus-horizontal.css
│   │       ├── menus-horizontal-min.css
│   │       ├── menus-min.css
│   │       ├── menus-scrollable.css
│   │       ├── menus-scrollable-min.css
│   │       ├── menus-skin.css
│   │       ├── menus-skin-min.css
│   │       ├── pure.css
│   │       ├── pure-min.css
│   │       ├── pure-nr.css
│   │       ├── pure-nr-min.css
│   │       ├── README.md
│   │       ├── tables.css
│   │       └── tables-min.css
│   └── tablesort
│       ├── bower.json
│       ├── CHANGELOG.md
│       ├── demo
│       ├── ender.js
│       ├── GruntFile.js
│       ├── LICENCE
│       ├── package.json
│       ├── README.md
│       ├── src
│       ├── tablesort.min.js
│       └── test
├── scripts
│   ├── background.js
│   ├── contentscript.js
│   └── lib
│       ├── activity.js
│       ├── component.js
│       ├── components
│       │   ├── donation-goal
│       │   │   ├── donation-goal.html
│       │   │   ├── donation-goal.js
│       │   │   └── donation-goal.styl
│       │   ├── log-table
│       │   │   ├── entry-history.html
│       │   │   ├── log-table.html
│       │   │   ├── log-table.js
│       │   │   └── log-table.styl
│       │   ├── reminders
│       │   │   ├── reminder-interval.html
│       │   │   ├── reminder-interval.js
│       │   │   ├── reminder-interval.styl
│       │   │   ├── reminder-thresh-global.html
│       │   │   ├── reminder-thresh-global.js
│       │   │   ├── reminder-thresh-global.styl
│       │   │   ├── reminder-thresh-local.html
│       │   │   ├── reminder-thresh-local.js
│       │   │   └── reminder-thresh-local.styl
│       │   └── user-agreement
│       │       ├── user-agreement.html
│       │       ├── user-agreement.js
│       │       └── user-agreement.styl
│       ├── defaults.js
│       ├── dom.js
│       ├── environment.js
│       ├── extension.js
│       ├── hardcoded-doms.js
│       ├── identifier.js
│       ├── index.js
│       ├── notifications.js
│       ├── pages
│       │   ├── donations
│       │   │   ├── donations.html
│       │   │   ├── donations.js
│       │   │   ├── donations.styl
│       │   │   └── entry-donation.html
│       │   ├── getting-started
│       │   │   ├── getting-started.html
│       │   │   ├── getting-started.js
│       │   │   └── getting-started.styl
│       │   ├── log
│       │   │   ├── log.html
│       │   │   ├── log.js
│       │   │   └── log.styl
│       │   └── settings
│       │       ├── settings.html
│       │       ├── settings.js
│       │       └── settings.styl
│       ├── processors
│       │   ├── dwolla.js
│       │   └── paypal.js
│       ├── server-requests.js
│       ├── storage.js
│       ├── tabs.js
│       ├── utils
│       │   ├── calculate.js
│       │   ├── js-yaml.js
│       │   └── tipsy-txt-parser.js
│       └── watcher.js
├── styles
│   ├── index.styl
│   └── table-sorting.styl
└── vendor
    ├── deparam.js
    ├── dwolla.js
    └── font-awesome.min.css

37 directories, 145 files
@Stebalien
Copy link
Member Author

(4.4MiB)

@rht
Copy link
Contributor

rht commented Feb 16, 2017

A lot of space saving can be done with purify-css and grunt-contrib-uglify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants