From d7edce483827aaf95c4c9c70437de4772aace7c5 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Tue, 24 Nov 2015 10:47:11 -0500 Subject: [PATCH] Add "main" entry to package.json. Give "main" a valid default value so methods like require.resolve() can return a proper file location. Since fluent-themes doesn't have a single "master" file, and since "main" can't refer to a folder here, point it at a stub README file in the themes folder. --- package.json | 1 + themes/README.md | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 themes/README.md diff --git a/package.json b/package.json index 9e340d6..e812b1f 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "type": "git", "url": "https://github.com/fluentdesk/fluent-themes.git" }, + "main": "themes/index.html", "keywords": [ "resume", "CV", diff --git a/themes/README.md b/themes/README.md new file mode 100644 index 0000000..0dbb82f --- /dev/null +++ b/themes/README.md @@ -0,0 +1,13 @@ +/themes/ +======== +FluentCV themes live here, one per folder. + +- [`minimist`][min]: A no-frills theme. +- [`modern`][mod]: A middle of the road theme with a modern look 'n feel. +- [`hello-world`][hw]: A simple-as-possible example theme. +- [`compact`][com]: A compact theme. + +[min]: minimist +[mod]: modern +[hw]: hello-world +[com]: compact