├── .babelrc ├── .gitignore ├── README.md ├── __mocks__ └── styleMock.js ├── __tests__ ├── __snapshots__ │ └── react.components.List.test.tsx.snap ├── callback.test.ts ├── extend.test.ts ├── index.test.ts ├── jest.md ├── mock.test.ts ├── react.Index.test.tsx └── util.message.test.ts ├── dll └── vendor.dll.js ├── index.html ├── jest.config.js ├── package.json ├── redux-saga.md ├── src ├── App.tsx ├── axios │ ├── index.ts │ ├── init.ts │ └── login.ts ├── config │ └── index.ts ├── index.tsx ├── lib │ └── less │ │ └── index.less ├── pages │ ├── home │ │ ├── home.less │ │ ├── home.md │ │ ├── home.tsx │ │ └── index.ts │ └── leftNav │ │ ├── index.ts │ │ ├── leftNav.less │ │ ├── leftNav.md │ │ └── leftNav.tsx ├── router │ └── index.tsx ├── store │ ├── actions │ │ └── index.ts │ ├── reducers │ │ └── index.ts │ ├── sagas │ │ └── index.ts │ └── stores │ │ └── index.ts └── util │ ├── callTake.ts │ ├── index.ts │ └── message.tsx ├── tsconfig.json ├── webpack.config.js ├── webpack.dll.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | bower_components/ 3 | dist 4 | coverage 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/styleMock.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = {}; 3 | -------------------------------------------------------------------------------- /__tests__/__snapshots__/react.components.List.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/__snapshots__/react.components.List.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/callback.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/callback.test.ts -------------------------------------------------------------------------------- /__tests__/extend.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/extend.test.ts -------------------------------------------------------------------------------- /__tests__/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/index.test.ts -------------------------------------------------------------------------------- /__tests__/jest.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/jest.md -------------------------------------------------------------------------------- /__tests__/mock.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/mock.test.ts -------------------------------------------------------------------------------- /__tests__/react.Index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/react.Index.test.tsx -------------------------------------------------------------------------------- /__tests__/util.message.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/__tests__/util.message.test.ts -------------------------------------------------------------------------------- /dll/vendor.dll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/dll/vendor.dll.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/index.html -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/package.json -------------------------------------------------------------------------------- /redux-saga.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/redux-saga.md -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/axios/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/axios/index.ts -------------------------------------------------------------------------------- /src/axios/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/axios/init.ts -------------------------------------------------------------------------------- /src/axios/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/axios/login.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/lib/less/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/lib/less/index.less -------------------------------------------------------------------------------- /src/pages/home/home.less: -------------------------------------------------------------------------------- 1 | .home{ 2 | 3 | } -------------------------------------------------------------------------------- /src/pages/home/home.md: -------------------------------------------------------------------------------- 1 | ### home 2 | -------------------------------------------------------------------------------- /src/pages/home/home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/pages/home/home.tsx -------------------------------------------------------------------------------- /src/pages/home/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/pages/home/index.ts -------------------------------------------------------------------------------- /src/pages/leftNav/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from "./leftNav"; -------------------------------------------------------------------------------- /src/pages/leftNav/leftNav.less: -------------------------------------------------------------------------------- 1 | .leftNav{ 2 | 3 | } -------------------------------------------------------------------------------- /src/pages/leftNav/leftNav.md: -------------------------------------------------------------------------------- 1 | ### leftNav 2 | -------------------------------------------------------------------------------- /src/pages/leftNav/leftNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/pages/leftNav/leftNav.tsx -------------------------------------------------------------------------------- /src/router/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/router/index.tsx -------------------------------------------------------------------------------- /src/store/actions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/store/actions/index.ts -------------------------------------------------------------------------------- /src/store/reducers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/store/reducers/index.ts -------------------------------------------------------------------------------- /src/store/sagas/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/store/sagas/index.ts -------------------------------------------------------------------------------- /src/store/stores/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/store/stores/index.ts -------------------------------------------------------------------------------- /src/util/callTake.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/util/callTake.ts -------------------------------------------------------------------------------- /src/util/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/util/index.ts -------------------------------------------------------------------------------- /src/util/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/src/util/message.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/webpack.config.js -------------------------------------------------------------------------------- /webpack.dll.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/webpack.dll.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NewPrototype/webpack4-es6-react-typescript/HEAD/yarn.lock --------------------------------------------------------------------------------