-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
67 lines (67 loc) · 2.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "@bitmovin/player-integration-yospace",
"version": "2.8.0",
"description": "Yospace integration for the Bitmovin Player",
"main": "./dist/js/bitmovin-player-yospace.js",
"types": "./dist/js/main.d.ts",
"scripts": {
"prepublishOnly": "npm run clean; npm run lint && npm run build",
"build": "webpack --config webpack.prod.js",
"build-tv": "npm run build && npm run copyToTizen && npm run copyToWebOS && npm run copyToGenericTV",
"build:dev": "webpack --config webpack.dev.js",
"build-tv:dev": "npm run build:dev && npm run copyToTizen && npm run copyToWebOS && npm run copyToGenericTV",
"start": "webpack serve --open --config webpack.dev.js",
"copyToTizen": "mkdir -p ./tizen/js && cp ./dist/js/bitmovin-player-yospace.js ./tizen/js/ && cp ./web/index.html ./tizen && cp ./web/js/*.js ./tizen/js/",
"copyToWebOS": "mkdir -p ./WebOS/js && cp ./dist/js/bitmovin-player-yospace.js ./WebOS/js/ && cp ./web/index.html ./WebOS && cp ./web/js/*.js ./WebOS/js/ && npm run insertWebOSScript",
"copyToGenericTV": "mkdir -p ./generic-tv/js && cp ./dist/js/bitmovin-player-yospace.js ./generic-tv/js/ && cp ./web/index.html ./generic-tv && cp ./web/js/*.js ./generic-tv/js/",
"insertWebOSScript": "npx replace-in-file '<!-- <SCRIPT_PLACEHOLDER> -->' '<script type=\"text/javascript\" src=\"webOSTVjs-1.1.0/webOSTV.js\"></script><script type=\"text/javascript\" src=\"webOSTVjs-1.1.0/webOSTV-dev.js\"></script>' ./WebOS/index.html",
"lint": "eslint --quiet src/ && kacl lint",
"format": "prettier --write src/",
"clean": "npm run clean-dist && npm run clean-tv",
"clean-dist": "rm -R ./dist",
"clean-tv": "npm run clean-tv-tizen && npm run clean-tv-webos",
"clean-tv-tizen": "rm tizen/js/*.js && rm tizen/index.html",
"clean-tv-webos": "rm WebOS/js/* && rm WebOS/index.html",
"clean-tv-generic": "rm generic-tv/js/* && rm generic-tv/index.html",
"prepare": "husky install"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"repository": {
"type": "git",
"url": "https://github.com/bitmovin/bitmovin-player-web-integrations-yospace"
},
"author": "Bitmovin",
"license": "MIT",
"dependencies": {
"@yospace/admanagement-sdk": "3.8.3",
"fast-safe-stringify": "^2.0.7",
"process": "^0.11.10",
"stream-browserify": "^3.0.0"
},
"peerDependencies": {
"bitmovin-player": "^8.157.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"bitmovin-analytics": "^2.27.0",
"bitmovin-player-ui": "^3.37.0",
"changelog-parser": "^3.0.1",
"eslint": "^8.17.0",
"husky": "^8.0.1",
"kacl": "^1.1.1",
"lint-staged": "^13.0.1",
"prettier": "2.6.2",
"replace-in-file": "^8.0.2",
"semver": "^7.6.0",
"ts-loader": "^9.3.0",
"typescript": "^3.9.10",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2",
"webpack-dev-middleware": "^5.3.3",
"webpack-dev-server": "^4.9.1",
"webpack-merge": "^5.8.0"
}
}