mtui-react
mtui-react copied to clipboard
.bat的命令都移到npm script里吧,这都是什么鬼啊
建议:
"scripts": {
"start": "xxx",
"dev": "xxx",
"lint": "eslint app config test",
"test": "npm run lint && npm run test-local",
"test-local": "xxx",
"ci": "xxx"
}
为了windows比较方便使用,就写了bat命令。没考虑到mac的情况~ OK,收到建议~
写到npm script是跨平台的,只要装了npm就行
了解,就是怕敲npm xxx麻烦,就直接搞了个bat。