mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
97 lines
5.6 KiB
JSON
97 lines
5.6 KiB
JSON
{
|
|
"name": "artplayer-packages",
|
|
"type": "module",
|
|
"version": "6.1.0",
|
|
"private": true,
|
|
"packageManager": "yarn@1.22.22",
|
|
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"author": "Harvey Zhao <laozhaochaguan@gmail.com>",
|
|
"license": "MIT",
|
|
"homepage": "https://artplayer.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/zhw2590582/ArtPlayer.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/zhw2590582/ArtPlayer/issues"
|
|
},
|
|
"keywords": [
|
|
"video",
|
|
"player"
|
|
],
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"scripts": {
|
|
"bootstrap": "npx lerna link",
|
|
"postinstall": "npx lerna run prepare",
|
|
"build:ts": "node ./scripts/build-ts.js",
|
|
"build:llm": "node ./scripts/build-llm.js",
|
|
"build:docs": "node ./scripts/build-docs.js",
|
|
"build:i18n": "node ./scripts/build-i18n.js",
|
|
"build:test": "node ./scripts/build-test.js",
|
|
"test:playback": "node --test test/playback.test.js",
|
|
"trans:docs": "node ./scripts/trans-docs.js",
|
|
"create:plugin": "node ./scripts/plugin/create.js",
|
|
"test:dash-control": "node --test test/dash-control.test.js test/dash-contract.test.js test/dash-lifecycle.test.js",
|
|
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
|
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
|
"lint": "eslint \"packages/*/{src,public,types,package.json}\" \"scripts/*.{js,mjs}\" \"test/*\" \"docs/assets/ts/*\" \"types/*.d.ts\" \"playwright*.config.js\" --no-fix",
|
|
"build:all": "yarn ci:build && yarn lint",
|
|
"check:toolchain": "node scripts/check-toolchain.mjs",
|
|
"lint:fix": "eslint \"packages/*/{src,public,types,package.json}\" \"scripts/*.{js,mjs}\" \"test/*\" \"docs/assets/ts/*\" \"types/*.d.ts\" \"playwright*.config.js\" --fix",
|
|
"check:plan": "node refactor/scripts/plan.mjs --check",
|
|
"test:node": "yarn test:unit && node --test test/toolchain.test.js test/build-docs.test.js test/package-check.test.js test/declarations.test.js test/editor-types.test.js test/coverage.test.js test/performance-report.test.js test/media-gate.test.js",
|
|
"test:baseline": "node --test refactor/scripts/*.test.mjs",
|
|
"ci:check": "yarn check:toolchain --strict && yarn check:plan && yarn lint && yarn check:types && yarn typecheck && yarn test",
|
|
"ci:build": "yarn build:types && yarn build all && yarn build:i18n && yarn build:ts && yarn build:docs && yarn test:imports",
|
|
"test:imports": "node --test test/esm.test.js test/i18n.test.js test/ssr.test.js",
|
|
"typecheck": "node scripts/typecheck.mjs",
|
|
"test:unit": "node --test test/playback.test.js test/dash-control.test.js test/dash-contract.test.js test/dash-lifecycle.test.js test/hls-control.test.js test/audio-track.test.js test/public-behavior.test.js test/helpers.test.js test/chapter.test.js test/utils.test.js test/resource-scope.test.js test/instance-lifecycle.test.js test/options.test.js test/media-hosts.test.js test/plugins.test.js test/source.test.js test/playback-properties.test.js test/media-events.test.js test/template-resources.test.js test/core-vendor.test.js test/component-resources.test.js test/setting-model.test.js test/setting-layout.test.js test/setting-resources.test.js test/subtitle.test.js test/display-native.test.js test/display-video-fullscreen.test.js test/display-pip.test.js test/display-mini.test.js test/display-sizing.test.js test/display-orientation.test.js test/hotkey.test.js test/listener-registry.test.js test/global-events.test.js test/pointer-events.test.js test/gesture.test.js test/event-scheduling.test.js test/notice.test.js test/fast-forward.test.js test/auto-playback.test.js test/builtin-layers.test.js test/prompt-components.test.js test/screenshot.test.js test/thumbnails.test.js test/progress.test.js test/environment.test.js test/storage.test.js test/facade-properties.test.js test/dom-boundaries.test.js test/initialization.test.js test/entry.test.js test/accessibility-button.test.js test/accessibility-focus.test.js test/accessibility-slider.test.js",
|
|
"test:coverage": "node --test test/coverage.test.js && node scripts/coverage.mjs",
|
|
"test": "yarn test:node && yarn test:baseline",
|
|
"test:browser": "playwright test",
|
|
"test:performance": "playwright test --config playwright.performance.config.js",
|
|
"test:browser:install": "playwright install chromium firefox webkit",
|
|
"test:browser:report": "playwright show-report refactor/.cache/browser/html",
|
|
"test:package": "node scripts/package-check.mjs",
|
|
"test:package:release": "node scripts/package-check.mjs --release",
|
|
"build:types": "node scripts/build-types.mjs --write",
|
|
"check:types": "node scripts/build-types.mjs --check",
|
|
"test:dash-types-package": "node refactor/scripts/dash-package-types.mjs"
|
|
},
|
|
"browserslist": "last 1 Chrome version",
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "5.4.1",
|
|
"@playwright/test": "1.63.0",
|
|
"@vue/compiler-sfc": "3.5.28",
|
|
"@yarnpkg/lockfile": "1.1.0",
|
|
"c8": "12.0.0",
|
|
"cpy": "13.2.3",
|
|
"cross-env": "10.1.0",
|
|
"cross-spawn": "7.0.6",
|
|
"dotenv": "17.2.4",
|
|
"dts-bundle-generator": "9.5.1",
|
|
"esbuild": "0.27.7",
|
|
"eslint": "9.39.2",
|
|
"eslint-plugin-format": "2.0.1",
|
|
"glob": "13.0.6",
|
|
"lerna": "8.2.4",
|
|
"less": "4.5.1",
|
|
"prompts": "2.4.2",
|
|
"servor": "4.0.2",
|
|
"svgo": "4.1.0",
|
|
"terser": "5.51.2",
|
|
"typescript": "5.9.3",
|
|
"typescript-compat": "npm:typescript@4.3.5",
|
|
"typescript-runtime-compat": "npm:typescript@5.1.6",
|
|
"vite": "7.3.6"
|
|
},
|
|
"resolutions": {
|
|
"dts-bundle-generator/typescript": "5.9.3"
|
|
}
|
|
}
|