-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit 23f664b
Showing
39 changed files
with
25,706 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"settings": { | ||
"pragma": "React", | ||
"version": "detect" | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended" | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/ | ||
node_modules/ |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Videowiki Proofread web component | ||
`<vw-proofread></vw-proofread>` | ||
|
||
This web component is part of www.videowiki.org and used for the proofreading stage | ||
|
||
### Usage: | ||
##### Include the following script in you page | ||
`<script src="https://videowiki-microapps.s3-eu-west-1.amazonaws.com/vw-proofread/v1.0.0.js" async />` | ||
|
||
Use the web component `vw-proofread` anywhere on the page with the following properties | ||
|
||
`<vw-proofread apiKey="" apiRoot="" videoId="" backRoute="" finishRedirectRoute="" </vw-proofread>` | ||
` | ||
### Properties | ||
- apiKey: Obtain an API key for your organization from the dashboard on www.videowiki.org | ||
- apiRoot: The API to which the component will communicate, for integration with videowiki's original API use https://api.videowiki.org/api | ||
- videoId: the `_id` field of the video that is to be proofread | ||
- backRoute: the location/route to which the component should redirect when the user press "Back to videos" button. | ||
- finishRedirectRoute: The location/route to which the component should redirect when the user press "Save and complete" button. |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const webpackConfig = require('direflow-component/config-overrides'); | ||
|
||
/** | ||
* Webpack configuration for Direflow Component | ||
* Additional webpack plugins / overrides can be provided here | ||
*/ | ||
module.exports = (config, env) => ({ | ||
...webpackConfig(config, env), | ||
// Add your own webpack config here (optional) | ||
}); |
Oops, something went wrong.