mirror of
https://github.com/Aviortheking/next-template.git
synced 2025-04-25 03:52:09 +00:00
86 lines
1.7 KiB
Markdown
86 lines
1.7 KiB
Markdown
# Next Template
|
|
|
|
## Folders
|
|
|
|
## __tests__
|
|
|
|
Test files to test webpage or single components
|
|
|
|
### Components
|
|
|
|
Folder where you put your React components
|
|
|
|
### libs
|
|
|
|
Serverside Internal libs
|
|
|
|
### pages
|
|
|
|
NextJS Pages
|
|
|
|
### public
|
|
|
|
Static files
|
|
|
|
### Scripts
|
|
|
|
Scripts used by the project
|
|
|
|
### styl
|
|
|
|
Stylus files location
|
|
|
|
## TODO list
|
|
|
|
### Typescript/Javascript
|
|
|
|
- [x] Support Typescript
|
|
- [x] Support Javascript
|
|
- [ ] Support Javascript files Linting
|
|
- [x] Unit Testing
|
|
- [ ] Lint unit tests
|
|
|
|
### Stylus
|
|
|
|
- [x] Support Stylus files
|
|
- [x] Support Stylus Styled-jsx (mutually exclusive with purgeCSS)
|
|
- [x] Support PurgeCSS (mutually exclusive with styled-jsx)
|
|
- [ ] Support both Stylus CSS modules and purge CSS
|
|
- [ ] Support typed stylus files
|
|
|
|
|
|
## Packages
|
|
|
|
### Dependencies
|
|
|
|
- @zeit/next-stylus: Stylus support in Nextjs
|
|
- glob: Sitemap Generation
|
|
- next: Nextjs
|
|
- next-compose-plugins: Better plugin formatting in config
|
|
- next-purgecss: PurgeCSS Plugin in config
|
|
- react: React
|
|
- react-dom: React DOM (React Dependency)
|
|
- serve: Server for static website
|
|
- styled-jsx-plugin-stylus: Styled-JSX plugin of Stylus
|
|
- stylus: Stylus
|
|
- typescript: Typescript
|
|
- webpack: Webpack
|
|
- webpack-cli: Webpack dependency
|
|
|
|
### Dev Dependencies
|
|
|
|
- @babel/core: Tests Dependency
|
|
- @babel/preset-env: Tests Dependency
|
|
- @babel/preset-react: Tests Dependency
|
|
- @types/jest: Testing Typing
|
|
- @types/node: Typescript Typing
|
|
- @types/react: Typescript Typing
|
|
- @types/react-test-renderer: Testings Typing
|
|
- @typescript-eslint/eslint-plugin: ESLint Typescript Plugin
|
|
- @typescript-eslint/parser: ESLint Typescript parser
|
|
- babel-jest: Compile files for jest use
|
|
- eslint: ESLint
|
|
- eslint-plugin-react: ESLint React Plugin
|
|
- jest: Jest tessting framework
|
|
- react-test-renderer: Test React components
|