Skip to content

Commit b7744bb

Browse files
Merge pull request #25 from jaredpetersen/feature-modernize-react
Feature modernize react
2 parents 5b412e9 + 7a89cb1 commit b7744bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+16268
-10617
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

.storybook/addons.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import '@storybook/addon-actions/register';
2+
import '@storybook/addon-links/register';

.storybook/config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { configure } from '@storybook/react';
2+
3+
function loadStories() {
4+
require('../src/common/dropdown-toggle-select/index.story.js');
5+
require('../src/navbar/index.story.js');
6+
require('../src/editor/index.story.js');
7+
require('../src/editor/toolbar/index.story.js');
8+
require('../src/editor/toolbar/font-dropdown/index.story.js');
9+
require('../src/editor/toolbar/size-dropdown/index.story.js');
10+
require('../src/editor/toolbar/theme-dropdown/index.story.js');
11+
require('../src/editor/document/index.story.js');
12+
require('../src/heart/index.story.js');
13+
require('../src/not-found/index.story.js');
14+
}
15+
16+
configure(loadStories, module);

.storybook/preview-head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/solid.css" integrity="sha384-TbilV5Lbhlwdyc4RuIV/JhD8NR+BfMrvz4BL5QFa2we1hQu6wvREr3v6XSRfCTRp" crossorigin="anonymous">
2+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/brands.css" integrity="sha384-7xAnn7Zm3QC1jFjVc1A6v/toepoG3JXboQYzbM0jrPzou9OFXm/fY6Z/XiIebl/k" crossorigin="anonymous">
3+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/fontawesome.css" integrity="sha384-ozJwkrqb90Oa3ZNb+yKFW2lToAWYdTiF1vt8JiH5ptTGHTGcN7qdoR1F95e0kYyG" crossorigin="anonymous">

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: node_js
2+
node_js:
3+
- "node"
4+
- "lts/*"
5+
script:
6+
- npm run build
7+
- npm test -- --coverage
8+
branches:
9+
only:
10+
- master

LICENSE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Jared Petersen
3+
Copyright (c) 2018 Jared Petersen
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22-

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
Codeprinter
2-
============
3-
Codeprinter's goal is pretty self-explanatory: to make it easier to print out code on paper. Many IDE's either don't allow you to print or have some weird quirks like adding unneccessary headers and footers, not allowing you to change your font size, or not providing syntax highlighting on your printout.
1+
# codeprinter
2+
[![Build Status](https://travis-ci.org/jaredpetersen/codeprinter.svg?branch=master)](https://travis-ci.org/jaredpetersen/codeprinter)
43

5-
Codeprinter makes it easy. Simply copy your code into the text box, select your desired font, font size, and syntax highlighting theme and then hit print.
4+
codeprinter's goal is pretty self-explanatory: to make it easier to print out code on paper. Many IDE's either don't allow you to print or have some weird quirks like adding unnecessary headers and footers, not allowing you to change your font size, or not providing syntax highlighting on your printout.
65

7-
Screenshots
8-
============
9-
![Paste your code](/screenshots/home.png?raw=true)
10-
![Change your font size](/screenshots/fontsize.png?raw=true)
11-
![Print your code](/screenshots/print.png?raw=true)
6+
codeprinter makes it easy. Simply copy your code into the text box, select your desired font, font size, syntax highlighting theme, and whether or not you would like line numbers and then hit print.
127

13-
How to Contribute
14-
============
8+
## Screenshots
9+
![Paste your code](https://i.imgur.com/adhS1Cz.png)
10+
![Change your font size](https://i.imgur.com/TlgIxpi.png)
11+
![Print your code](https://i.imgur.com/IYHqP0z.png)
12+
13+
## How to Contribute
1514
Find a bug? Want to request a new feature? Awesome! Create an [issue](https://github.com/jaredpetersen/codeprinter/issues) and/or submit a [pull request](https://github.com/jaredpetersen/codeprinter/pulls). Just want to show your support for the project? [Buy me a coffee](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=JGJAC7UKRAB9J&lc=US&item_name=CodePrinter%20%2d%20Buy%20me%20a%20Coffee&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted).

0 commit comments

Comments
 (0)