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:
Róbert Kiss
2018-12-22 02:20:38 +01:00
committed by László Monda
parent c9f052b8c7
commit 1eb8720305
6 changed files with 21 additions and 29 deletions

View File

@@ -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"