-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from jakewies/prettier
Add prettier
- Loading branch information
Showing
17 changed files
with
960 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
content | ||
exampleSite/content | ||
layouts | ||
static | ||
|
||
package.json | ||
public | ||
node_modules | ||
|
||
.DS_Store | ||
logs | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
# Contributing | ||
|
||
First off, thank you for your time and effort! This project is not very large and easy to jump into. | ||
|
||
## Development stack | ||
|
||
- Built with [Hugo](https://gohugo.io/) 🔥 | ||
- [Gulp](https://gulpjs.com/) as a build tool 🍹 | ||
- Styles in [Stylus](http://stylus-lang.com/) 💅🏻 | ||
- [Yarn](https://yarnpkg.com/) as a package manager 📦 | ||
First off, thank you for your time and effort! This project is not very large | ||
and easy to jump into. | ||
|
||
## Getting started | ||
|
||
|
@@ -22,30 +16,27 @@ yarn install | |
|
||
## Scripts | ||
|
||
There are 3 npm scripts that can be used for development purposes: | ||
|
||
```bash | ||
yarn develop | ||
``` | ||
|
||
This command will start a hugo webserver and serve the `exampleSite`. This works well because the example site uses `hugo-theme-codex`, so any changes | ||
we make to the codebase can be viewed in real time. | ||
Triggers a one-time build of the static directory. | ||
|
||
```bash | ||
yarn watch:assets | ||
yarn format | ||
``` | ||
|
||
If you are working with `js` or `css` you will probably want to run this command in a separate tab from `yarn develop` so that any changes to assets like javascript and css will trigger a re-build by `gulp``. | ||
Runs prettier on the entire project directory. | ||
|
||
```bash | ||
yarn build:assets | ||
``` | ||
## Assets | ||
|
||
Triggers a one-time build of the static directory. | ||
The `assets/` directory is where you can write JS and SCSS, which get processed | ||
into CSS files before being placed in the `static/` directory. | ||
|
||
## Questions | ||
|
||
If you have any questions feel free to reach out to me directly. Best ways to contact me: | ||
If you have any questions feel free to reach out to me directly. Best ways to | ||
contact me: | ||
|
||
- Twitter: https://twitter.com/jakewies | ||
- Email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import '../main'; | ||
@import "../main"; | ||
|
||
.splash-container { | ||
height: 100%; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
$black: #111; | ||
$lightGrey: #F7F7F7; | ||
$greyTableBorder: #EEEEEE; | ||
$grey: #9B9B9B; | ||
$lightGrey: #f7f7f7; | ||
$greyTableBorder: #eeeeee; | ||
$grey: #9b9b9b; | ||
$darkGrey: #717171; | ||
$white: #fff; | ||
$primary: #9013FE; | ||
$primary: #9013fe; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
arrowParens: "avoid", | ||
bracketSpacing: false, | ||
endOfLine: "lf", | ||
htmlWhitespaceSensitivity: "css", | ||
printWidth: 80, | ||
proseWrap: "always", | ||
semi: true, | ||
singleQuote: false, | ||
tabWidth: 2, | ||
trailingComma: "all", | ||
useTabs: false, | ||
}; |
Oops, something went wrong.