Typescript, eslint, personal Template for nextJS projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
AviorBOT a67211c418 Configure Renovate (#1) 1 week ago
__tests__/components Added Example Component and testing framework 1 week ago
components Added Image Component 1 week ago
libs first commit 1 month ago
pages Added Image Component 1 week ago
public first commit 1 month ago
scripts first commit 1 month ago
styl Removed unused styling 1 week ago
.babelrc first commit 1 month ago
.editorconfig Updated files 1 week ago
.eslintignore Added Example Component and testing framework 1 week ago
.eslintrc.js Updated files 1 week ago
.gitattributes first commit 1 month ago
.gitignore first commit 1 month ago
README.md Updated files 1 week ago
config.ts first commit 1 month ago
jest.config.js Added Example Component and testing framework 1 week ago
next-env.d.ts first commit 1 month ago
next.config.js Updated files 1 week ago
package.json Updated deps 1 week ago
renovate.json Configure Renovate (#1) 1 week ago
tsconfig.json Added Example Component and testing framework 1 week ago
yarn.lock Updated deps 1 week ago

README.md

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

  • Support Typescript
  • Support Javascript
  • Support Javascript files Linting
  • Unit Testing
  • Lint unit tests

Stylus

  • Support Stylus files
  • Support Stylus Styled-jsx (mutually exclusive with purgeCSS)
  • 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