1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-24 17:10:12 +00:00

chore: mount themes on module object

This commit is contained in:
hacksalot 2018-02-01 09:28:13 -05:00
parent 9e4cae697b
commit aca092f5d1
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06
2 changed files with 20 additions and 1 deletions

19
index.js Normal file
View File

@ -0,0 +1,19 @@
/**
Mount individual themes onto the module object for convenience.
@module index.js
@license MIT. See LICENSE.md for details.
*/
(function(){
module.exports = {
themes: {
awesome: require('./themes/awesome/theme.json'),
basis: require('./themes/basis/theme.json'),
compact: require('./themes/compact/theme.json'),
modern: require('./themes/modern/theme.json'),
positive: require('./themes/positive/theme.json')
}
};
}());

View File

@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/fluentdesk/fresh-themes.git"
},
"main": "README.md",
"main": "index.js",
"keywords": [
"résumé",
"resume",