-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* begin to eliminate unnecessary boilerplate html/css (bloat) * index html tweaks (refactoring dl to sections) * removing postcss-responsive-type (unnecessary plugin) * css cleanup (mostly font-size related) * simplify header layout via flexbox * more font-size css cleanup * readme updates * readme updates * dependency updates * remove old ?v tags from tests, move svgs to images/ * remove polling from webpack-dev-server (causes issues for some mac peeps) * fix broken source maps * rename watch to dev (woah), reduce node v strictness * rename watch to dev in template * re-order webpack config entries * major version bump! * comment-out fetch polyfills * remove travis ci (totally unnecessary) * readme updates
- Loading branch information
Brian Staruk
authored
Feb 9, 2019
1 parent
ebdbba8
commit 51d18b7
Showing
36 changed files
with
887 additions
and
815 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
This file was deleted.
Oops, something went wrong.
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,6 +1,6 @@ | ||
{ | ||
"name": "starbase", | ||
"version": "1.5.0", | ||
"version": "2.0.0", | ||
"author": "Brian Staruk <[email protected]>", | ||
"contributors": [ | ||
{ | ||
|
@@ -20,50 +20,49 @@ | |
"email": "[email protected]" | ||
}, | ||
"engines": { | ||
"node": ">=8.9.3" | ||
"node": ">=8.9" | ||
}, | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "webpack --config ./webpack/webpack.config.prod.js --mode production", | ||
"watch": "webpack-dev-server --config ./webpack/webpack.config.dev.js --mode development" | ||
"dev": "webpack-dev-server --config ./webpack/webpack.config.dev.js --mode development" | ||
}, | ||
"keywords": [], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.2.2", | ||
"@babel/preset-env": "^7.2.3", | ||
"@babel/preset-env": "^7.3.1", | ||
"babel-eslint": "^10.0.1", | ||
"babel-loader": "^8.0.5", | ||
"clean-webpack-plugin": "^1.0.0", | ||
"clean-webpack-plugin": "^1.0.1", | ||
"css-loader": "^2.1.0", | ||
"css-mqpacker": "^7.0.0", | ||
"cssnano": "^4.1.8", | ||
"eslint": "^5.12.0", | ||
"eslint": "^5.13.0", | ||
"eslint-config-airbnb": "^17.1.0", | ||
"eslint-loader": "^2.1.1", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-jsx-a11y": "^6.1.2", | ||
"eslint-plugin-react": "^7.12.3", | ||
"eslint-loader": "^2.1.2", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.1", | ||
"eslint-plugin-react": "^7.12.4", | ||
"file-loader": "^3.0.1", | ||
"html-loader": "^0.5.5", | ||
"html-webpack-plugin": "^3.2.0", | ||
"mini-css-extract-plugin": "^0.5.0", | ||
"offline-plugin": "^5.0.6", | ||
"postcss": "^7.0.7", | ||
"postcss": "^7.0.14", | ||
"postcss-extend": "^1.0.5", | ||
"postcss-import": "^12.0.1", | ||
"postcss-loader": "^3.0.0", | ||
"postcss-nested": "^4.1.1", | ||
"postcss-preset-env": "^6.5.0", | ||
"postcss-remove-root": "0.0.2", | ||
"postcss-reporter": "^6.0.1", | ||
"postcss-responsive-type": "^1.0.0", | ||
"style-loader": "^0.23.1", | ||
"stylelint": "^9.9.0", | ||
"stylelint": "^9.10.1", | ||
"stylelint-config-standard": "^18.2.0", | ||
"url-loader": "^1.1.2", | ||
"webpack": "^4.28.3", | ||
"webpack-cli": "^3.2.0", | ||
"webpack": "^4.29.3", | ||
"webpack-cli": "^3.2.3", | ||
"webpack-dev-server": "^3.1.14", | ||
"webpack-merge": "^4.2.1" | ||
}, | ||
|
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,5 +1,5 @@ | ||
# Src | ||
# src | ||
|
||
This is your src folder, which is the top-level container for the different types of source code that comes together to create the application. | ||
This is your `src` folder, which is the top-level container for the different types of source code that comes together to create the application. | ||
|
||
If you'll be renaming or reorganizing the child folders of `/src` be sure to reflect those changes in your build (`/webpack`) and package (`/package.json`) files to avoid build failures. |
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,29 +1,15 @@ | ||
// offline-plugin | ||
import './app/lib/offline-plugin'; | ||
|
||
// components js | ||
import Tabs from './components/tabs/Tabs'; | ||
import './lib/offline-plugin'; | ||
|
||
// remove .no-js from html tag | ||
document.querySelector('html').classList.remove('no-js'); | ||
|
||
// fetch & promise polyfills | ||
require('es6-promise').polyfill(); | ||
require('whatwg-fetch'); | ||
|
||
// baseline app styles | ||
require('./app/fonts/fonts.css'); | ||
require('./app/app.css'); | ||
|
||
// components styles | ||
require.context('./components/', true, /\.css$/); | ||
// fetch & promise polyfills (comment-out if not needed) | ||
// require('es6-promise').polyfill(); | ||
// require('whatwg-fetch'); | ||
|
||
// component js | ||
const initializeComponents = () => { | ||
const tabs = document.getElementsByClassName('tabs'); | ||
for (let i = 0; i < tabs.length; i++) { | ||
new Tabs({ el: tabs[i] }); | ||
} | ||
}; | ||
// ordered css imports | ||
require('./css/app.css'); | ||
|
||
initializeComponents(); // let's get this show on the road | ||
// import all other css | ||
require.context('./css/', true, /\.css$/); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.