npm install typescript
It will create node_modules/ and package-lock.json in the current directory.
node_modules/
package-lock.json