Skip to content

Commit

Permalink
feat: set typescript config in packagejson and node version
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorreem committed Dec 13, 2024
1 parent 545e47c commit bfb1db4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@ cypress.env.json
/public/~partytown

# New Relic
newrelic_agent.log
newrelic_agent.log

# Typescript
tsconfig.tsbuildinfo
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@
"redux": "^5.0.0",
"cross-spawn": "^7.0.5"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "NODE_OPTIONS='-r @newrelic/next' next start",
"https:proxy": "local-ssl-proxy --source 3010 --target 3001 --cert localhost.pem --key localhost-key.pem",
"lint": "next lint",
"lint:fix": "next lint --fix",
"type-check": "tsc",
"type-check": "tsc -p tsconfig.json",
"format": "prettier . --write",
"format:precommit": "prettier --write .",
"test": "jest",
Expand Down

0 comments on commit bfb1db4

Please sign in to comment.