mirror of
https://github.com/zoriya/srt-webvtt.git
synced 2025-12-06 05:56:10 +00:00
added initial commit
This commit is contained in:
13
.babelrc
Normal file
13
.babelrc
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"presets": [
|
||||||
|
["env", {
|
||||||
|
"targets": {
|
||||||
|
"browsers": [
|
||||||
|
"> 1%",
|
||||||
|
"last 2 versions"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
"stage-2"
|
||||||
|
]
|
||||||
|
}
|
||||||
19
.editorconfig
Normal file
19
.editorconfig
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# http://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
max_line_length = 80
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
max_line_length = 0
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[COMMIT_EDITMSG]
|
||||||
|
max_line_length = 0
|
||||||
|
|
||||||
31
.eslintrc
Normal file
31
.eslintrc
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"extends": "airbnb",
|
||||||
|
"rules": {
|
||||||
|
"no-console": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allow": [
|
||||||
|
"warn",
|
||||||
|
"error",
|
||||||
|
"info"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"symbol-description": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
|
"no-underscore-dangle": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
|
"no-param-reassign": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
|
"import/no-unresolved": [
|
||||||
|
"off"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"browser": true,
|
||||||
|
"node": true
|
||||||
|
}
|
||||||
|
}
|
||||||
17
.gitignore
vendored
Normal file
17
.gitignore
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
/node_modules
|
||||||
|
|
||||||
|
# production
|
||||||
|
/build
|
||||||
|
|
||||||
|
index.html
|
||||||
|
index.js
|
||||||
|
lib/
|
||||||
|
umd/
|
||||||
|
|
||||||
|
# misc
|
||||||
|
.DS_Store
|
||||||
|
npm-debug.log*
|
||||||
39
package.json
Normal file
39
package.json
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"name": "srt-webvtt",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"description": "Convert SRT format subtitle to WebVTT on the fly over HTML5 environmentø",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/imshaikot/srt-webvtt.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"Subtitle",
|
||||||
|
"video",
|
||||||
|
"subtitle",
|
||||||
|
"track",
|
||||||
|
"element",
|
||||||
|
"srt-to-vtt",
|
||||||
|
"str-to-webvtt",
|
||||||
|
"converter",
|
||||||
|
"html5",
|
||||||
|
"video",
|
||||||
|
"html5",
|
||||||
|
"video",
|
||||||
|
"track",
|
||||||
|
"html5",
|
||||||
|
"video",
|
||||||
|
"subtitle",
|
||||||
|
"str",
|
||||||
|
"support"
|
||||||
|
],
|
||||||
|
"author": "Shariar Shaikot",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/imshaikot/srt-webvtt/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/imshaikot/srt-webvtt#readme"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user