Skip to content

Commit

Permalink
Runtime on create-react-app.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Aug 16, 2017
1 parent 2390739 commit feef810
Show file tree
Hide file tree
Showing 24 changed files with 8,695 additions and 560 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

21 changes: 0 additions & 21 deletions .editorconfig

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

29 changes: 16 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# Logs
logs
*.log
# See https://help.github.com/ignore-files/ for more about ignoring files.

# Dependency directory
node_modules
# dependencies
/node_modules

# Stuff
coverage
# testing
/coverage

# OS X
.DS_Store
# production
/build

# Builds
/public
/builds
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

.eslintrc
npm-debug.log*
yarn-debug.log*
yarn-error.log*
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

7 changes: 0 additions & 7 deletions LICENSE

This file was deleted.

2,166 changes: 2,140 additions & 26 deletions README.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion app/components/TweetBox/index.js

This file was deleted.

31 changes: 0 additions & 31 deletions app/index.js

This file was deleted.

19 changes: 0 additions & 19 deletions app/styles.css

This file was deleted.

53 changes: 0 additions & 53 deletions karma.conf.js

This file was deleted.

75 changes: 9 additions & 66 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,16 @@
{
"name": "web-app",
"version": "1.0.0",
"description": "Reasonable starting point for building a web app",
"main": "./app/index.js",
"name": "react-book-chapter-tweet-box",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "webpack --config webpack.build.js --bail -p",
"dev": "webpack-dev-server --history-api-fallback --hot --inline --progress",
"test": "npm run test:unit",
"test:unit": "karma start",
"test:unit:live": "karma start --auto-watch --no-single-run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cesarandreu/web-app.git"
},
"keywords": [
"web",
"application"
],
"author": "Cesar Andreu <[email protected]> (https://github.com/cesarandreu)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cesarandreu/web-app/issues"
},
"standard": {
"parser": "babel-eslint"
},
"homepage": "https://github.com/cesarandreu/web-app#readme",
"dependencies": {
"autoprefixer-core": "^5.2.1",
"babel": "^5.6.14",
"babel-core": "^5.6.15",
"babel-loader": "^5.2.2",
"babel-runtime": "^5.6.15",
"css-loader": "^0.15.1",
"debug": "^2.2.0",
"extract-text-webpack-plugin": "^0.8.2",
"file-loader": "^0.8.4",
"html-webpack-plugin": "^1.5.2",
"node-libs-browser": "^0.5.2",
"normalize.css": "^3.0.3",
"postcss-loader": "^0.5.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"webpack": "^1.10.1"
"react-scripts": "1.0.11"
},
"devDependencies": {
"babel-eslint": "^3.1.20",
"eslint": "^0.24.0",
"eslint-config-standard": "^3.4.1",
"eslint-config-standard-react": "^1.0.1",
"eslint-plugin-react": "^2.6.4",
"expect.js": "^0.3.1",
"isparta-instrumenter-loader": "^0.2.1",
"karma": "^0.12.37",
"karma-coverage": "^0.4.1",
"karma-mocha": "^0.2.0",
"karma-phantomjs-launcher": "^0.2.0",
"karma-sourcemap-loader": "^0.3.5",
"karma-spec-reporter": "0.0.19",
"karma-webpack": "^1.5.1",
"mocha": "^2.2.5",
"null-loader": "^0.1.1",
"phantomjs": "^1.9.17",
"phantomjs-polyfill": "0.0.1",
"react-hot-loader": "^1.2.7",
"standard": "^4.5.2",
"style-loader": "^0.12.3",
"webpack-dev-server": "^1.10.1"
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
}
Binary file added public/favicon.ico
Binary file not shown.
40 changes: 40 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
15 changes: 15 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "192x192",
"type": "image/png"
}
],
"start_url": "./index.html",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Loading

0 comments on commit feef810

Please sign in to comment.