@karsten_zhou/vite-plugin-hls 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "@karsten_zhou/vite-plugin-hls",
3
+ "version": "0.1.0",
4
+ "description": "Transcode video files to HLS (HTTP Live Streaming) at Vite build time.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/Karsten-Zhou/vite-plugin-hls.git"
10
+ },
11
+ "homepage": "https://github.com/Karsten-Zhou/vite-plugin-hls#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/Karsten-Zhou/vite-plugin-hls/issues"
14
+ },
15
+ "keywords": [
16
+ "vite",
17
+ "vite-plugin",
18
+ "hls",
19
+ "ffmpeg",
20
+ "video",
21
+ "streaming",
22
+ "adaptive-bitrate"
23
+ ],
24
+ "sideEffects": false,
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "main": "./dist/index.cjs",
29
+ "module": "./dist/index.js",
30
+ "types": "./dist/index.d.ts",
31
+ "exports": {
32
+ ".": {
33
+ "import": {
34
+ "types": "./dist/index.d.ts",
35
+ "default": "./dist/index.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/index.d.cts",
39
+ "default": "./dist/index.cjs"
40
+ }
41
+ }
42
+ },
43
+ "engines": {
44
+ "node": ">=24.3.0"
45
+ },
46
+ "scripts": {
47
+ "dev": "vitest",
48
+ "build": "tsup",
49
+ "typecheck": "tsc --noEmit",
50
+ "lint": "eslint .",
51
+ "lint:fix": "eslint . --fix",
52
+ "format": "prettier --write .",
53
+ "format:check": "prettier --check .",
54
+ "test": "vitest run",
55
+ "test:watch": "vitest",
56
+ "test:coverage": "vitest run --coverage",
57
+ "check": "npm run typecheck && npm run lint && npm run format:check && npm run test && npm run build",
58
+ "prepare": "husky",
59
+ "changeset": "changeset",
60
+ "version-packages": "changeset version",
61
+ "release": "changeset publish"
62
+ },
63
+ "lint-staged": {
64
+ "*.{js,mjs,cjs,ts,mts,cts}": [
65
+ "eslint --fix",
66
+ "prettier --write"
67
+ ],
68
+ "*.{json,md,yml,yaml,css}": "prettier --write"
69
+ },
70
+ "publishConfig": {
71
+ "access": "public"
72
+ },
73
+ "dependencies": {
74
+ "ffmpeg-static": "^5.3.0"
75
+ },
76
+ "peerDependencies": {
77
+ "vite": "^8.0.0"
78
+ },
79
+ "devDependencies": {
80
+ "@changesets/cli": "^3.0.2",
81
+ "@commitlint/cli": "^21.2.2",
82
+ "@commitlint/config-conventional": "^21.2.2",
83
+ "@eslint/js": "^10.0.1",
84
+ "@types/node": "^26.4.1",
85
+ "@vitest/coverage-v8": "^5.0.0",
86
+ "eslint": "^10.10.0",
87
+ "eslint-config-prettier": "^10.1.8",
88
+ "husky": "^9.1.7",
89
+ "lint-staged": "^17.5.0",
90
+ "prettier": "^3.9.6",
91
+ "rolldown": "^1.2.7",
92
+ "tsup": "^8.5.1",
93
+ "typescript": "^6.0.3",
94
+ "typescript-eslint": "^8.69.0",
95
+ "vite": "^8.2.2",
96
+ "vitest": "^5.0.0"
97
+ }
98
+ }