diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-24T13·29+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-24T13·29+0000 |
commit | 265b691c9b076d61b1ed59a07b4a84ad6a74e020 (patch) | |
tree | 1b670e91251e46ed5315f758861c3bb7d02fd988 /boilerplate/typescript/package.json | |
parent | 527aeeeced9fdcc2fc3a6a08c58ceb3a17ae2122 (diff) |
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.
Diffstat (limited to 'boilerplate/typescript/package.json')
-rw-r--r-- | boilerplate/typescript/package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boilerplate/typescript/package.json b/boilerplate/typescript/package.json index debc2c53cb2f..fc8ec8c6ebfb 100644 --- a/boilerplate/typescript/package.json +++ b/boilerplate/typescript/package.json @@ -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" |