Skip to content

Commit 7f69005

Browse files
authored
Merge pull request #13 from lnug/january-2019
done and delivered
2 parents cc53b32 + 6a7bca4 commit 7f69005

30 files changed

+19487
-10627
lines changed

.babelrc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"presets": [
3-
[ "es2015", { "loose": true, "modules" : false } ],
4-
"stage-0",
5-
"react"
3+
"@babel/preset-env",
4+
"@babel/preset-react"
65
],
76
"plugins": [
8-
"transform-decorators-legacy",
7+
"react-hot-loader/babel",
8+
["@babel/plugin-proposal-decorators", { "legacy": true }]
99
],
1010
"env": {
1111
"production": {
1212
"plugins": [
13-
"transform-es2015-modules-commonjs",
13+
["@babel/plugin-transform-modules-commonjs"],
1414
"transform-react-remove-prop-types",
15-
"transform-react-constant-elements",
16-
"transform-react-inline-elements",
17-
"transform-runtime",
18-
"transform-decorators-legacy",
19-
],
15+
"@babel/plugin-transform-react-constant-elements",
16+
"@babel/plugin-transform-react-inline-elements",
17+
"@babel/plugin-transform-runtime",
18+
["@babel/plugin-proposal-decorators", { "legacy": true }]
19+
]
2020
},
2121
"test": {
2222
"plugins": [
23-
"transform-es2015-modules-commonjs"
23+
"@babel/plugin-transform-modules-commonjs"
2424
]
2525
}
2626
}

.eslintrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
"extends":
3+
- "formidable/configurations/es6-react"
4+
5+
"rules":
6+
"indent": [2, 2, {"SwitchCase": 1}]
7+
"max-len": 0
8+
"no-magic-numbers": 0
9+
"react/prefer-es6-class": 0
10+
"react/no-multi-comp": 0
11+
"quotes": [2, "single"]
12+
"env":
13+
"browser": true,
14+
"node": true
15+
"globals":
16+
"afterEach": true,
17+
"describe": true,
18+
"expect": true,
19+
"it": true,
20+
"jest": true,
21+
"test": true

.vscode/database.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.markdown

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Spectacle Boilerplate
2+
3+
## Contents
4+
5+
- [Reference](#reference)
6+
- [Getting Started](#getting-started)
7+
- [Tutorial](#tutorial)
8+
- [Build & Deployment](#build-deployment)
9+
10+
## Reference
11+
12+
The Spectacle core API is available in the [Spectacle Docs](https://github.com/FormidableLabs/spectacle/blob/master/README.md).
13+
14+
## Getting Started
15+
16+
1. Download the boilerplate
17+
18+
```sh
19+
git clone [email protected]:FormidableLabs/spectacle-boilerplate.git
20+
```
21+
22+
2. Remove existing version control
23+
24+
```sh
25+
rm -R .git
26+
```
27+
28+
3. Install dependencies
29+
30+
```sh
31+
yarn install
32+
```
33+
34+
4. Start the webpack server. The server will run at [`localhost:3000`](http://localhost:3000).
35+
36+
```sh
37+
yarn start
38+
```
39+
40+
## Tutorial
41+
42+
If want you a step-by-step guide for getting started with Spectacle, a basic tutorial is available [here](https://github.com/FormidableLabs/spectacle/blob/master/docs/tutorial.md).
43+
44+
## Build & Deployment
45+
46+
Building the dist version of the project is as easy as running
47+
48+
```sh
49+
yarn build
50+
```
51+
52+
If you want to deploy the slideshow to surge, run
53+
54+
```sh
55+
yarn deploy
56+
```
270 KB
Loading

assets/announcements/SWOnePager.png

192 KB
Loading

assets/deck.example

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
return (
2+
<Deck transition={['zoom','slide']} transitionDuration={800}>
3+
<Slide bgColor="primary">
4+
<Heading size={1} fit caps>
5+
React Presentations
6+
</Heading>
7+
<Heading size={2} fit caps>
8+
Written In React
9+
</Heading>
10+
</Slide>
11+
<Slide bgColor="black">
12+
<Heading size={1} fit textColor="primary" textFont="secondary">
13+
Wait What?
14+
</Heading>
15+
</Slide>
16+
<Slide bgColor="primary" textColor="black" align="center top">
17+
<Heading size={1} textColor="black" textFont="primary">
18+
Thats right
19+
</Heading>
20+
<List>
21+
<ListItem>Inline style based theme system</ListItem>
22+
<ListItem>Autofit Text</ListItem>
23+
<ListItem>PDF Export</ListItem>
24+
</List>
25+
</Slide>
26+
</Deck>
27+
)

assets/formidable-logo.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/good-work.gif

1.05 MB
Loading

0 commit comments

Comments
 (0)