Add @types/node to typescript boilerplate
Parcel uses process.env to expose environment variables. Since process.env is a Node concept and this boilerplate is for TypeScript projects, we need @types/node to support these Node types.
This commit is contained in:
parent
527aeeeced
commit
265b691c9b
2 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
"dev": "npx parcel src/index.html & npx tsc --watch --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^13.9.3",
|
||||
"parcel-bundler": "^1.12.4",
|
||||
"tailwindcss": "^1.2.0",
|
||||
"typescript": "^3.8.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue