You've already forked tribes-plugin-sender
forked from tribes/tribes-plugin-template
e3fb9937d2
Build Sender TypeScript through esbuild as an IIFE so host plugin asset tags can load it as a classic script, and suppress noisy host Ash domain warnings during dev compilation.
17 lines
559 B
JSON
17 lines
559 B
JSON
{
|
|
"name": "sender-assets",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"build": "npm run check && mkdir -p ../priv/static/vendor/videojs && cp -r css/. ../priv/static && cp -r node_modules/@videojs/html/cdn/. ../priv/static/vendor/videojs && esbuild ts/sender.ts --bundle --target=es2022 --format=iife --outfile=../priv/static/sender.js",
|
|
"check": "tsc --project tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@videojs/html": "10.0.0-beta.23"
|
|
},
|
|
"devDependencies": {
|
|
"esbuild": "^0.28.0",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|