Skip to content

Commit

Permalink
Feat: Add Gsap to NPM.
Browse files Browse the repository at this point in the history
Chore: Update gitignore, tsconfig and eslintrc
  • Loading branch information
theTyster committed Jun 24, 2024
1 parent 53e00b0 commit e09a443
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 50 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": [
"next/core-web-vitals",
"plugin:eslint-plugin-next-on-pages/recommended"
"plugin:eslint-plugin-next-on-pages/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"eslint-plugin-next-on-pages"
]
],
"parser": "@typescript-eslint/parser"
}
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
reference/
.viminfo

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# production
/build

# misc
.DS_Store
*.pem

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# wrangler files
.wrangler
.dev.vars

# NODE IGNORES
# Logs
logs
Expand Down
40 changes: 0 additions & 40 deletions .gitignore_

This file was deleted.

8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"eslint": "^8",
"eslint-config-next": "14.1.0",
"eslint-plugin-next-on-pages": "^1.11.3",
"gsap": "^3.12.5",
"sass": "^1.77.6",
"typescript": "^5",
"vercel": "^34.2.7",
Expand Down
31 changes: 23 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand All @@ -11,22 +15,33 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react",
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
"@/*": [
"./src/*"
]
},
"types": [
"@cloudflare/workers-types/2023-07-01"
"@cloudflare/workers-types/2023-07-01"
],
"checkJs": false /* Enable error reporting in type-checked JavaScript files. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"checkJs": false /* Enable error reporting in type-checked JavaScript files. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */
},
"include": ["next-env.d.ts", "env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules", "test"]
"include": [
"next-env.d.ts",
"env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules",
"test"
]
}

0 comments on commit e09a443

Please sign in to comment.