Skip to content

Commit

Permalink
Fix mobile navigation, update build tools (closes #28).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Zimmerman committed Aug 18, 2017
1 parent 5f71d67 commit 69b11fd
Show file tree
Hide file tree
Showing 5 changed files with 713 additions and 108 deletions.
1 change: 1 addition & 0 deletions assets/styles/structure.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ code {
bottom: 0;
left: 0;
width: 100%;
max-width: 100vw;
height: 43px;
padding: 2px 0;
margin-left: 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"/styles/a11y.css": "/styles/a11y.css?id=67ce4802af40e4fea4f2",
"/styles/book-info.css": "/styles/book-info.css?id=bab08346efe18106290e",
"/styles/structure.css": "/styles/structure.css?id=88330b295bb4d25f54da",
"/styles/structure.css": "/styles/structure.css?id=73555eac1f448b204588",
"/scripts/a11y.js": "/scripts/a11y.js?id=3faa829da7a4aa2b976a",
"/scripts/columnizer.js": "/scripts/columnizer.js?id=465e1b0d7a57022d67ab",
"/scripts/keyboard-nav.js": "/scripts/keyboard-nav.js?id=5530f96084c639f108ac",
Expand Down
2 changes: 1 addition & 1 deletion dist/styles/structure.css

Large diffs are not rendered by default.

92 changes: 51 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,57 +8,67 @@
},
"dependencies": {},
"devDependencies": {
"babel-eslint": "^7.2.3",
"cross-env": "^5.0.5",
"eslint": "^3.19.0",
"eslint-config-humanmade": "^0.1.3",
"eslint-config-react-app": "^0.5.2",
"eslint-loader": "~1.8",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.6.1",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.10.3",
"jquery-columnizer": "^1.6.3",
"laravel-mix": "^1.0.0",
"laravel-mix": "^1.4.2",
"sharer.js": "^0.3.1",
"stylelint": "^7.12.0",
"stylelint-config-standard": "^16.0.0",
"stylelint-webpack-plugin": "^0.7.1"
},
"scripts": {
"dev": "NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"dev": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hot": "cross-env NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"lint": "node_modules/stylelint/bin/stylelint.js '**/*.scss' --syntax scss"
},
"stylelint": {
"extends": "stylelint-config-standard",
"rules": {
"indentation": 2,
"media-feature-name-no-unknown": [
true,
{
"ignoreMediaFeatureNames": [
"min--moz-device-pixel-ratio"
]
}
],
"property-no-unknown": [
true,
{
"ignoreProperties": [
"footnote-style-position",
"hyphenate-before",
"hyphenate-after",
"hyphenate-lines",
"margin-inside",
"margin-outside",
"prince-bookmark-level",
"prince-footnote-policy",
"prince-image-resolution",
"prince-page-group"
]
}
],
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": [
"footnote-call"
]
}
]
}
"rules": {
"indentation": 2,
"media-feature-name-no-unknown": [
true,
{
"ignoreMediaFeatureNames": [
"min--moz-device-pixel-ratio"
]
}
],
"property-no-unknown": [
true,
{
"ignoreProperties": [
"footnote-style-position",
"hyphenate-before",
"hyphenate-after",
"hyphenate-lines",
"margin-inside",
"margin-outside",
"prince-bookmark-level",
"prince-footnote-policy",
"prince-image-resolution",
"prince-page-group"
]
}
],
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": [
"footnote-call"
]
}
]
}
}
}
Loading

0 comments on commit 69b11fd

Please sign in to comment.