mtui-react icon indicating copy to clipboard operation
mtui-react copied to clipboard

.bat的命令都移到npm script里吧,这都是什么鬼啊

Open hacke2 opened this issue 9 years ago • 3 comments

建议:

"scripts": {
    "start": "xxx",
    "dev": "xxx",
    "lint": "eslint app config test",
    "test": "npm run lint && npm run test-local",
    "test-local": "xxx",
    "ci": "xxx"
  }

hacke2 avatar Apr 19 '16 13:04 hacke2

为了windows比较方便使用,就写了bat命令。没考虑到mac的情况~ OK,收到建议~

mtsee avatar Apr 20 '16 01:04 mtsee

写到npm script是跨平台的,只要装了npm就行

hacke2 avatar Apr 20 '16 07:04 hacke2

了解,就是怕敲npm xxx麻烦,就直接搞了个bat。

mtsee avatar Apr 20 '16 07:04 mtsee