NPM 脚本
为了产品和打包来构建你的应用程序。更多信息可以在 构建你的应用程序 部分找到。
npm run dev
在开发环境中运行程序
npm run lint
静态分析所有在 src/
和 test/
下面的 JS 以及 Vue 组件文件并且尝试修复问题。
npm run pack
同时运行 和 npm run pack:renderer
。 虽然这些命令是可用的,但很少情况下,你需要手动执行此操作,因为 npm run build
将处理此步骤。
npm run pack:main
运行 webpack 来打包 renderer
进程的源代码。
npm run unit
运行使用了 Karma + Jasmine 的单元测试。更多信息请见 单元测试。
npm run e2e
运行 和 npm run e2e
. 更多信息请见 测试。