Skip to content

Commit a19408f

Browse files
committed
Add app skeleton
1 parent e286699 commit a19408f

File tree

18 files changed

+170
-0
lines changed

18 files changed

+170
-0
lines changed

.eslintrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true
5+
},
6+
"extends": "airbnb"
7+
}

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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
15+
npm-debug.log*
16+
yarn-debug.log*
17+
yarn-error.log*
18+

3-refactorable/good/index.js

Whitespace-only changes.

package.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "software-architecture-pyramid",
3+
"version": "0.0.1",
4+
"description": "Software Architecture Pyramid code examples",
5+
"main": "index.js",
6+
"scripts": {
7+
"start": "react-scripts start",
8+
"lint": "node ./node_modules/eslint/bin/eslint.js ./",
9+
"build": "react-scripts build",
10+
"test": "react-scripts test --env=jsdom",
11+
"eject": "react-scripts eject"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/ryanmcdermott-software-architecture-pyramid.git"
16+
},
17+
"keywords": [
18+
"software architecture",
19+
"clean code"
20+
],
21+
"author": "Ryan McDermott",
22+
"license": "MIT",
23+
"bugs": {
24+
"url": "https://github.com/ryanmcdermott-software-architecture-pyramid/issues"
25+
},
26+
"homepage": "https://github.com/ryanmcdermott-software-architecture-pyramid#readme",
27+
"devDependencies": {
28+
"eslint": "^3.16.1",
29+
"eslint-config-airbnb": "^14.1.0",
30+
"eslint-plugin-import": "^2.2.0",
31+
"eslint-plugin-jsx-a11y": "^4.0.0",
32+
"eslint-plugin-react": "^6.10.0",
33+
"react-scripts": "0.9.2"
34+
},
35+
"dependencies": {
36+
"react": "15.4.2",
37+
"react-dom": "15.4.2"
38+
}
39+
}

public/favicon.ico

24.3 KB
Binary file not shown.

public/index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
7+
<!--
8+
Notice the use of %PUBLIC_URL% in the tag above.
9+
It will be replaced with the URL of the `public` folder during the build.
10+
Only files inside the `public` folder can be referenced from the HTML.
11+
12+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
13+
work correctly both with client-side routing and a non-root public URL.
14+
Learn how to configure a non-root public URL by running `npm run build`.
15+
-->
16+
<title>React App</title>
17+
</head>
18+
<body>
19+
<div id="root"></div>
20+
<!--
21+
This HTML file is a template.
22+
If you open it directly in the browser, you will see an empty page.
23+
24+
You can add webfonts, meta tags, or analytics to this file.
25+
The build step will place the bundled scripts into the <body> tag.
26+
27+
To begin the development, run `npm start`.
28+
To create a production bundle, use `npm run build`.
29+
-->
30+
</body>
31+
</html>

src/1-readable/bad/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
function a() {}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)