Skip to content

making a gh-page #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<title>Pure React Carousel - By Express Labs</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link href="https://fonts.googleapis.com/css?family=Montserrat|Raleway" rel="stylesheet">
<link rel = "stylesheet" type = "text/css" href = "style.css" />
</head>
<body>
Expand Down
Binary file added dev/media/pdp-men.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dev/media/pdp-women.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
135 changes: 135 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"build:commonjs": "NODE_ENV=production rollup -c rollup.config.cjs.js",
"build:es": "NODE_ENV=production rollup -c rollup.config.es.js",
"postbuild": "node postbuild.js",
"build:watch": "watch 'npm run build' src"
"build:watch": "watch 'npm run build' src",
"deploy": "gh-pages -d dev"
},
"typings": "typings/index.d.ts",
"repository": {
Expand Down Expand Up @@ -62,6 +63,7 @@
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-react": "^7.11.1",
"gh-pages": "^2.0.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^21.2.1",
"node-sass": "^4.10.0",
Expand All @@ -78,6 +80,7 @@
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-eslint": "^5.0.0",
"rollup-plugin-img": "^1.1.0",
"rollup-plugin-livereload": "^0.6.0",
"rollup-plugin-multi-entry": "^2.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
Expand Down
4 changes: 4 additions & 0 deletions rollup.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import { eslint } from 'rollup-plugin-eslint';
import livereload from 'rollup-plugin-livereload';
import image from 'rollup-plugin-img';
import omit from 'object.omit';
import path from 'path';
import postcss from 'rollup-plugin-postcss';
Expand All @@ -28,6 +29,9 @@ export default {
'react-dom'
])),
plugins: [
image({
limit: 10000
}),
postcss({
extensions: ['.css', '.scss'],
extract: 'dev/style.css',
Expand Down
12 changes: 12 additions & 0 deletions src/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,17 @@
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": "off",
"react/destructuring-assignment": [0, "never"],
"jsx-a11y/label-has-for": [ 2, {
"components": [ "Label" ],
"required": {
"every": [ "nesting", "id" ]
},
"allowChildren": true
}],
"jsx-a11y/label-has-associated-control": [ 2, {
"labelAttributes": ["label"],
"controlComponents": ["input", "select"],
"depth": 3,
}],
}
}
Loading