├── .gitignore ├── README.md ├── backup ├── index.html ├── package.json ├── src ├── components │ ├── container │ │ ├── index.tsx │ │ └── styles.css │ ├── node │ │ ├── index.tsx │ │ └── styles.css │ └── template │ │ ├── index.tsx │ │ └── styles.css ├── constants.ts ├── index.tsx ├── pages │ ├── example-page │ │ ├── index.tsx │ │ └── styles.css │ └── root │ │ ├── index.tsx │ │ ├── reset.css │ │ └── styles.css └── routes.tsx ├── tsconfig.json └── webpack ├── dev.config.js └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Inferno Typescript Template 2 | This is a lightweight template for getting started with the awesome InfernoJS library using Typescript. Those of you coming from React should find the project structure familiar. 3 | 4 | 5 | ### Usage 6 | This project uses Webpack for managing the build pipeline 7 | 8 | #### Debug 9 | This starts a Webpack development server on `http://localhost:8080` Changes made to the source will be automatically reloaded 10 | ``` 11 | npm run debug 12 | ``` 13 | 14 | #### Build 15 | Builds the project to `./build` 16 | ``` 17 | npm run build 18 | ``` 19 | -------------------------------------------------------------------------------- /backup: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "./dist/", 4 | "sourceMap": true, 5 | "noImplicitAny": true, 6 | "module": "commonjs", 7 | "target": "es5" 8 | }, 9 | "files": [ 10 | "./typings/inferno.d.ts" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |