forked from webosbrew/piccap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 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
{
"name": "org.webosbrew.piccap",
"version": "0.4.3",
"description": "PicCap - Hyperion Sender App",
"main": "index.html",
"scripts": {
"lint-frontend": "eslint frontend/js/",
"lint-frontend-fix": "eslint --fix frontend/js/",
"lint-backend": "cd ./hyperion-webos && python lint/run-clang-format.py --extensions \"c,h,cpp\" --color auto --recursive ./src",
"lint-backend-fix": "cd ./hyperion-webos && python lint/run-clang-format.py --extensions \"c,h,cpp\" --color auto --recursive --inplace true ./src",
"clean": "rm -rf ./build/*; rm -rf ./hyperion-webos/build/*",
"build-frontend": "mkdir -p ./build/piccap-frontend && webpack",
"build-backend": "mkdir -p ./build/hyperion-webos && mkdir -p ./hyperion-webos/build && cd ./hyperion-webos/build && cmake .. && make hyperion-webos gm_backend halgal_backend dile_vt_backend vtcapture_backend && cd ../.. && cp ./hyperion-webos/build/hyperion-webos ./build/hyperion-webos/ && cp ./hyperion-webos/build/libdile_vt_backend.so ./build/hyperion-webos/ && cp ./hyperion-webos/build/libgm_backend.so ./build/hyperion-webos/ && cp ./hyperion-webos/build/libhalgal_backend.so ./build/hyperion-webos/ && cp ./hyperion-webos/build/libvtcapture_backend.so ./build/hyperion-webos/ && cp ./servicefiles/* ./build/hyperion-webos && chmod +x ./build/hyperion-webos/hyperion-webos ./build/hyperion-webos/piccapautostart",
"build-all": "mkdir -p ./build/piccap-frontend && webpack && mkdir -p ./build/hyperion-webos && mkdir -p ./hyperion-webos/build && cd ./hyperion-webos/build && cmake .. && make && cd ../.. && cp ./hyperion-webos/build/hyperion-webos ./build/hyperion-webos/ && cp ./hyperion-webos/build/libdile_vt_backend.so ./build/hyperion-webos/ && cp ./hyperion-webos/build/libgm_backend.so ./build/hyperion-webos/ && cp ./hyperion-webos/build/libhalgal_backend.so ./build/hyperion-webos/ && cp ./hyperion-webos/build/libvtcapture_backend.so ./build/hyperion-webos/ && cp ./servicefiles/* ./build/hyperion-webos && chmod +x ./build/hyperion-webos/hyperion-webos ./build/hyperion-webos/piccapautostart",
"package": "ares-package ./build/piccap-frontend ./build/hyperion-webos -o ./build",
"deploy": "ares-install org.webosbrew.piccap_${npm_package_version}_all.ipk",
"launch": "ares-launch org.webosbrew.piccap"
},
"browserslist": [
"chrome 38"
],
"author": "",
"license": "MIT",
"dependencies": {
"@babel/preset-env": "^7.18.10",
"bluebird": "^3.7.2",
"core-js": "^3.24.1",
"regenerator-runtime": "^0.13.9",
"webos-service": "git+https://github.com/webosose/nodejs-module-webos-service.git"
},
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.10",
"@babel/runtime-corejs3": "^7.18.9",
"@webosose/ares-cli": "^2.3.1",
"babel-loader": "^8.2.5",
"copy-webpack-plugin": "^10.2.4",
"eslint": "^8.22.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-import": "^2.26.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
}
}