build(usb): run chmod u+x after build (#487)
This commit is contained in:
committed by
László Monda
parent
0c30eccaca
commit
f6ea327813
@@ -5,11 +5,14 @@
|
|||||||
"main": "UhkConnection.js",
|
"main": "UhkConnection.js",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "npm run tsc && npm run chmod",
|
||||||
|
"tsc": "tsc",
|
||||||
|
"chmod": "shx chmod u+x dist/*.js",
|
||||||
"watch": "tsc -w"
|
"watch": "tsc -w"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "8.0.28",
|
"@types/node": "8.0.28",
|
||||||
|
"shx": "0.2.2",
|
||||||
"typescript": "2.5.3"
|
"typescript": "2.5.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import { UhkBuffer, UserConfiguration } from 'uhk-common';
|
import { UhkBuffer, UserConfiguration } from 'uhk-common';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user