NW.js + React + Redux + Webpack => Chat
npm run lint
eslint (confg-rackt)npm run test
mocha:testnpm run test-cov
isparta coveragenpm run dev
(dev)webpack:build+watchnpm run prod
(prod)webpack:build+watch
-
文件夹中设立index.js 合并导出各分组
export * from './userApi' export * from './groupApi' export * from './converApi'
-
const取消依赖keymirror 影响解构export test保障
export const AAA = 'AAA' export const BBB = 'BBB'