This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from WavesHQ/thedoublejay/standard_web
feature(standard-web): setup for standard-web
- Loading branch information
Showing
5 changed files
with
203 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
Web | ||
--- | ||
|
||
`@waveshq/standard-web` | ||
|
||
Standard web tools for scaffolding web applications. Our choice of framework is Next.js as a default for our web projects. | ||
|
||
This package also includes a `tsconfig.json` which is customized for web usage. | ||
|
||
Packages that are included are based on the requirements of Next.js to avoid version mismatch. | ||
|
||
| Package | Description | | ||
| ---------- | ------------------------------------------------ | | ||
| next | Used as the base library. | | ||
| react | Fixes the react version required by Next.js | | ||
| react-dom | Fixes the react version required by Next.js | | ||
| typescript | Fixes the TypeScript version required by Next.js | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "@waveshq/standard-web", | ||
"version": "0.0.0", | ||
"files": [ | ||
"tsconfig.json" | ||
], | ||
"dependencies": { | ||
"@types/react": "18.0.26", | ||
"@types/react-dom": "18.0.9", | ||
"next": "13.0.6", | ||
"next-sitemap": "^3.1.32", | ||
"nextjs-progressbar": "^0.0.16", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-icons": "^4.7.1", | ||
"react-responsive": "^9.0.2", | ||
"typescript": "4.9.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"display": "Default", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"lib": ["dom", "dom.iterable", "esnext"], | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"strict": false, | ||
"strictNullChecks": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"noEmit": true, | ||
"esModuleInterop": true, | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"jsx": "preserve", | ||
"incremental": true, | ||
"baseUrl": "src", | ||
"paths": { | ||
"@content/*": ["../content/*"], | ||
"@api/*": ["api/*"], | ||
"@contexts/*": ["layouts/contexts/*"], | ||
"@components/*": ["components/*"], | ||
"@hooks/*": ["hooks/*"], | ||
"@store/*": ["store/*"], | ||
"@utils/*": ["utils/*"], | ||
"@public/*": ["../public/*"] | ||
} | ||
}, | ||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], | ||
"exclude": ["node_modules", "cypress"] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.