Lines 24-64json
28 "prod": "cross-env VITE_PROD_OVERRIDE=true concurrently --names \"vite ➡️,proxy ➡️\" --prefix-colors \"cyan,yellow\" \"vite\" \"npm run dev --prefix unit-proxy\"",
30 "build": "vite build",
31 "build:analyze": "vite build && npx vite-bundle-analyzer dist/unit-player.umd.js",
32 "build:cdn": "vite build && echo 'CDN files ready in dist/'",
34 "test:run": "vitest run",
35 "test:watch": "vitest watch",
36 "test:coverage": "vitest run --coverage",
37 "test:coverage:watch": "vitest --coverage --watch",
38 "test:ui": "vitest --ui",
39 "test:related": "vitest related",
40 "test:changed": "vitest related --run",
41 "test:unit": "vitest run --reporter=verbose",
42 "test:ci": "vitest run --coverage --reporter=junit --outputFile=test-results.xml",
43 "release": "changeset publish",
44 "preinstall": "if [ \"$INIT_CWD\" = \"$PWD\" ]; then npx --no-install check-node-version --node 22.14.0; fi",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L44 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L44 46 "build-fail-fast": "tsc --noEmit -p tsconfig.app.json",
47 "avoid-cyclic": "npx madge --circular --extensions js,jsx,ts,tsx src",
48 "lint": "eslint src --ext .ts,.tsx --max-warnings=0",
49 "lint:fix": "eslint src --ext .ts,.tsx --fix",
50 "commit-check": "concurrently -r --kill-others-on-fail \"npm run avoid-cyclic\" \"npm run build-fail-fast\" \"npm run lint\" \"npm run test:changed\"",
51 "preview": "vite preview --port 5001 --strictPort",
52 "e2e:local": "cross-env ENV=local npx playwright test || npx playwright show-report --port=9333",
53 "e2e:prod": "cross-env ENV=prod npx playwright test",
54 "e2e:headed": "cross-env ENV=local npx playwright test --headed --project=chromium",
55 "e2e:ci": "cross-env CI=true npx playwright test",
56 "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\""
59 "@ludeo/aws-gamecast-web-sdk": "^3.0.0",
60 "@ludeo/echo": "^1.1.3",
61 "@ludeo/ludeocast-client-sdk": "0.6.7",
64 "react-dom": "19.1.0",