chore: reorganize npm script (#884)
The goal is every package should be responsible to `lint`, `build` and `test` commands. This modification helps to easier add new package to the repository.
This commit is contained in:
committed by
László Monda
parent
c9f052b8c7
commit
1eb8720305
@@ -34,6 +34,7 @@
|
||||
"electron:spe": "electron ./dist/electron-main.js --spe",
|
||||
"build": "webpack && npm run install:build-deps && npm run build:usb && npm run download-firmware && npm run copy-to-tmp-folder",
|
||||
"build:usb": "electron-rebuild -w node-hid -p -m ./dist",
|
||||
"lint": "tslint --project tsconfig.json",
|
||||
"install:build-deps": "cd ./dist && npm i",
|
||||
"download-firmware": "node ../../scripts/download-firmware.js",
|
||||
"copy-to-tmp-folder": "node ../../scripts/copy-to-tmp-folder.js"
|
||||
|
||||
Reference in New Issue
Block a user