added initial commit

This commit is contained in:
imshaikot
2018-01-19 15:49:38 +06:00
commit d724585596
5 changed files with 119 additions and 0 deletions

13
.babelrc Normal file
View File

@@ -0,0 +1,13 @@
{
"presets": [
["env", {
"targets": {
"browsers": [
"> 1%",
"last 2 versions"
]
}
}],
"stage-2"
]
}

19
.editorconfig Normal file
View 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
View 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
View 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
View 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"
}