forked from VinceG/vue-web-cam
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff23fd5
commit 3d94446
Showing
7 changed files
with
179 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
{ | ||
"presets": [ | ||
["@babel/preset-env", { "modules": false } ] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-syntax-dynamic-import", | ||
"@babel/plugin-transform-runtime", | ||
"@babel/plugin-transform-object-assign", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
] | ||
} | ||
"presets": [["@babel/preset-env", { "modules": false }]], | ||
"plugins": [ | ||
"@babel/plugin-syntax-dynamic-import", | ||
"@babel/plugin-transform-runtime", | ||
"@babel/plugin-transform-object-assign", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
] | ||
} |
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,44 +1,47 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:vue/recommended", | ||
"plugin:import/errors", | ||
"plugin:import/warnings" | ||
], | ||
"parserOptions": { | ||
"parser": "babel-eslint", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:vue/recommended", | ||
"plugin:import/errors", | ||
"plugin:import/warnings" | ||
], | ||
"parserOptions": { | ||
"parser": "babel-eslint", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2017, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["vue", "prettier"], | ||
"rules": { | ||
"no-const-assign": "warn", | ||
"no-this-before-super": "warn", | ||
"no-undef": "warn", | ||
"no-unreachable": "warn", | ||
"no-unused-vars": "off", | ||
"constructor-super": "warn", | ||
"valid-typeof": "warn", | ||
"import/no-unresolved": "off", | ||
"import/no-unassigned-import": "warn", | ||
"semi": 0, | ||
"no-console": "off", | ||
"prettier/prettier": "error", | ||
"vue/max-attributes-per-line": [2, { | ||
"singleline": 2, | ||
"multiline": { | ||
"max": 1, | ||
"allowFirstLine": true | ||
} | ||
}] | ||
} | ||
} | ||
"ecmaVersion": 2017, | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["vue", "prettier"], | ||
"rules": { | ||
"no-const-assign": "warn", | ||
"no-this-before-super": "warn", | ||
"no-undef": "warn", | ||
"no-unreachable": "warn", | ||
"no-unused-vars": "off", | ||
"constructor-super": "warn", | ||
"valid-typeof": "warn", | ||
"import/no-unresolved": "off", | ||
"import/no-unassigned-import": "warn", | ||
"semi": 0, | ||
"no-console": "off", | ||
"prettier/prettier": "error", | ||
"vue/max-attributes-per-line": [ | ||
2, | ||
{ | ||
"singleline": 2, | ||
"multiline": { | ||
"max": 1, | ||
"allowFirstLine": true | ||
} | ||
} | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ demo/ | |
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
package-lock.json | ||
package-lock.json |
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,26 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta charset="utf-8" /> | ||
<title>Vue Web Cam</title> | ||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> | ||
<link | ||
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" | ||
rel="stylesheet" | ||
integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" | ||
crossorigin="anonymous" | ||
/> | ||
</head> | ||
<body> | ||
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4"> | ||
<a class="navbar-brand" href="">Vue Webcam</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
</nav> | ||
|
||
<main role="main" class="container"> | ||
<div id="app"></div> | ||
</main> | ||
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4"> | ||
<a class="navbar-brand" href="">Vue Webcam</a> | ||
<button | ||
class="navbar-toggler" | ||
type="button" | ||
data-toggle="collapse" | ||
data-target="#navbarCollapse" | ||
aria-controls="navbarCollapse" | ||
aria-expanded="false" | ||
aria-label="Toggle navigation" | ||
> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
</nav> | ||
|
||
<main role="main" class="container"> | ||
<div id="app"></div> | ||
</main> | ||
|
||
<script | ||
src="https://code.jquery.com/jquery-3.3.1.min.js" | ||
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" | ||
crossorigin="anonymous" | ||
/> | ||
<script | ||
src="https://code.jquery.com/jquery-3.3.1.min.js" | ||
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" | ||
crossorigin="anonymous"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script> | ||
src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" | ||
integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" | ||
crossorigin="anonymous" | ||
/> | ||
</body> | ||
</html> |
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 |
---|---|---|
|
@@ -2,7 +2,11 @@ | |
"name": "vue-web-cam", | ||
"version": "1.7.1", | ||
"description": "Webcam component for Vuejs applications", | ||
"main": "dist/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/vinceg/vue-web-cam" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
"name": "Mohammad Shoriful Islam Ronju", | ||
"email": "[email protected]", | ||
|
@@ -15,19 +19,15 @@ | |
"url": "https://github.com/vinceg" | ||
} | ||
], | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.config.js", | ||
"dev": "cross-env NODE_ENV=development webpack-dev-server --hot --config demo/webpack.config.js", | ||
"demo": "cross-env NODE_ENV=production webpack --progress --hide-modules --config demo/webpack.config.js" | ||
"demo": "cross-env NODE_ENV=production webpack --progress --hide-modules --config demo/webpack.config.js", | ||
"dev": "cross-env NODE_ENV=development webpack-dev-server --hot --config demo/webpack.config.js" | ||
}, | ||
"dependencies": { | ||
"vue": "^2.5.17" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/vinceg/vue-web-cam" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.2.2", | ||
|
Oops, something went wrong.