-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
91 changed files
with
3,157 additions
and
2,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
src/public/**/*.js | ||
src/vendor/**/*.js | ||
src/Util.ts | ||
src/h264-live-player/**/*.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"extends": [ | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"prettier", | ||
"prettier/@typescript-eslint" | ||
], | ||
"plugins": [ | ||
"progress", | ||
"@typescript-eslint", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"progress/activate": 1, | ||
"import/no-absolute-path": "off" | ||
}, | ||
"overrides": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://android.googlesource.com/platform/external/qemu/+/emu-2.0-release/android/skin/qt/images/multitouch/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://android.googlesource.com/platform/external/qemu/+/emu-2.0-release/android/skin/qt/images/light/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
{ | ||
"name": "ws-scrcpy", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "ws client for scrcpy", | ||
"scripts": { | ||
"build": "npm run compile && npm run copy:vendor && npx browserify build/index.js -o build/bundle.js", | ||
"build": "npm run compile && npm run copy:vendor && npm run build:webpack", | ||
"clean": "npm run clean:build && npm run clean:dist", | ||
"clean:build": "npx rimraf build", | ||
"clean:dist": "npx rimraf dist", | ||
"build:webpack": "webpack --config webpack.config.js", | ||
"compile": "npx tsc -p .", | ||
"copy:bundle": "node -e \"fs.copyFile('build/bundle.js','dist/public/bundle.js',function(e){if(e)process.exit(1);process.exit(0);})\"", | ||
"copy:public": "node -e \"require('recursive-copy')('src/public','dist/public', {overwrite: true, debug: true} ,function(e){if(e)process.exit(1);process.exit(0);})\"", | ||
"copy:server": "node -e \"require('recursive-copy')('build/server','dist/server', {overwrite: true, debug: true} ,function(e){if(e)process.exit(1);process.exit(0);})\"", | ||
"copy:vendor": "node -e \"require('recursive-copy')('src/vendor','build', {overwrite: true, debug: true} ,function(e){if(e)process.exit(1);process.exit(0);})\"", | ||
"copy:xterm.css": "node -e \"require('recursive-copy')('node_modules/xterm/css','dist/public', {overwrite: true, debug: true} ,function(e){if(e)process.exit(1);process.exit(0);})\"", | ||
"dist": "npm run build && npm run mkdirs && npm run copy:package.json && npm run copy:public && npm run copy:xterm.css && npm run copy:bundle && npm run copy:server", | ||
"dist": "npm run build && npm run mkdirs && npm run copy:package.json && npm run copy:public && npm run copy:xterm.css && npm run copy:server", | ||
"copy:package.json": "node -e \"const j=require('./package.json');const {name,version,description,author,license,dependencies,scripts}=j; const p={name, version, description,author,license,dependencies}; p.scripts={start: scripts['dist:start']};fs.writeFileSync('./dist/package.json', JSON.stringify(p, null, ' '))\"", | ||
"mkdirs": "npx mkdirp dist/public", | ||
"start": "npm run dist && npm run start:dist", | ||
"start:dist": "cd dist && npm start", | ||
"dist:start": "cd server && node index.js", | ||
"lint": "npx tslint --project .", | ||
"lint": "eslint src/ --ext .ts", | ||
"format": "eslint src/ --fix --ext .ts", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "Sergey Volkov <[email protected]>", | ||
|
@@ -34,16 +36,27 @@ | |
"devDependencies": { | ||
"@types/node": "^12.0.2", | ||
"@types/ws": "^6.0.4", | ||
"browserify": "^16.2.3", | ||
"@typescript-eslint/eslint-plugin": "^3.8.0", | ||
"@typescript-eslint/parser": "^3.8.0", | ||
"babel-runtime": "^6.26.0", | ||
"buffer": "^5.2.1", | ||
"eslint": "^7.6.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint-plugin-progress": "0.0.1", | ||
"file-loader": "^6.0.0", | ||
"h264-converter": "^0.1.1", | ||
"mkdirp": "^0.5.1", | ||
"prettier": "^2.0.5", | ||
"recursive-copy": "^2.0.10", | ||
"rimraf": "^3.0.0", | ||
"svg-inline-loader": "^0.8.2", | ||
"sylvester.js": "^0.1.1", | ||
"tslint": "^5.16.0", | ||
"tslint-react": "^4.0.0", | ||
"tinyh264": "0.0.5", | ||
"typescript": "^3.4.5", | ||
"webpack": "^4.43.0", | ||
"webpack-cli": "^3.3.12", | ||
"worker-loader": "^2.0.0", | ||
"xterm": "^4.5.0", | ||
"xterm-addon-attach": "^0.5.0", | ||
"xterm-addon-fit": "^0.3.0" | ||
|
Oops, something went wrong.