UNPKG

hls-parser

Version:

A simple library to read/write HLS playlists

135 lines (134 loc) 3.97 kB
{ "name": "hls-parser", "version": "0.16.0", "description": "A simple library to read/write HLS playlists", "main": "index.js", "types": "index.d.ts", "browser": "dist/hls-parser.min.js", "scripts": { "lint": "xo", "type-check": "tsc --noEmit", "audit": "npm audit --audit-level high", "build": "rm -fR ./dist; tsc ; webpack --mode development ; webpack --mode production", "test": "npm run lint && npm run build && npm run audit && ava --verbose", "test-offline": "npm run lint && npm run build && ava --verbose" }, "repository": { "type": "git", "url": "git+https://github.com/kuu/hls-parser.git" }, "keywords": [ "HLS", "media", "video", "audio", "streaming" ], "author": "Kuu Miyazaki", "license": "MIT", "bugs": { "url": "https://github.com/kuu/hls-parser/issues" }, "homepage": "https://github.com/kuu/hls-parser#readme", "devDependencies": { "@ava/typescript": "^6.0.0", "@babel/core": "^7.28.4", "@babel/eslint-parser": "^7.28.4", "@babel/preset-env": "^7.28.3", "@tsconfig/node18": "^18.2.4", "ava": "^6.4.1", "babel-loader": "^10.0.0", "eslint-plugin-unicorn": "^61.0.2", "rewire": "^9.0.1", "terser-webpack-plugin": "^5.3.14", "ts-loader": "^9.5.4", "typescript": "^5.9.3", "webpack": "^5.102.1", "webpack-cli": "^6.0.1", "xo": "^0.60.0" }, "ava": { "typescript": { "compile": "tsc", "extensions": [ "ts", "js" ], "rewritePaths": {} } }, "xo": { "esnext": true, "space": true, "rules": { "arrow-body-style": 0, "ava/no-ignored-test-files": 0, "camelcase": 0, "comma-dangle": 0, "capitalized-comments": 0, "dot-notation": 0, "guard-for-in": 0, "import/extensions": 0, "import/no-dynamic-require": 0, "new-cap": 0, "no-bitwise": 0, "no-cond-assign": 0, "no-mixed-operators": 0, "no-multi-assign": 0, "no-use-extend-native/no-use-extend-native": 0, "object-curly-newline": 0, "operator-linebreak": 0, "padding-line-between-statements": 0, "quotes": 0, "unicorn/catch-error-name": 0, "unicorn/filename-case": 0, "unicorn/no-lonely-if": 0, "unicorn/no-useless-spread": 0, "unicorn/no-zero-fractions": 0, "unicorn/numeric-separators-style": 0, "unicorn/prefer-code-point": 0, "unicorn/prefer-module": 0, "unicorn/prefer-switch": 0, "unicorn/prevent-abbreviations": 0, "unicorn/switch-case-braces": 0 }, "overrides": [ { "files": "test/**/*.js", "rules": { "unicorn/no-array-push-push": 0 } }, { "files": "*.ts", "rules": { "n/file-extension-in-import": 0, "@typescript-eslint/array-type": 1, "@typescript-eslint/ban-types": 1, "@typescript-eslint/comma-dangle": 0, "@typescript-eslint/consistent-type-imports": 0, "@typescript-eslint/dot-notation": 0, "@typescript-eslint/member-delimiter-style": 0, "@typescript-eslint/naming-convention": 0, "@typescript-eslint/no-unsafe-call": 0, "@typescript-eslint/no-unsafe-argument": 0, "@typescript-eslint/no-unsafe-assignment": 0, "@typescript-eslint/no-unsafe-return": 0, "@typescript-eslint/object-curly-spacing": 0, "@typescript-eslint/padding-line-between-statements": 0, "@typescript-eslint/prefer-optional-chain": 1, "@typescript-eslint/prefer-nullish-coalescing": 0, "@typescript-eslint/quotes": 0, "@typescript-eslint/restrict-template-expressions": 0, "@typescript-eslint/restrict-plus-operands": 0, "unicorn/prefer-export-from": 0 } } ], "settings": { "import/resolver": { "node": {} } } } }