Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 533792c

Browse files
committed
Add post install step to package.json to update typings
1 parent d448aad commit 533792c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

jsx/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ A demo project for showing off JSX in TypeScript
88
npm install
99
```
1010

11-
## Update typeings
12-
```
13-
node node_modules\.bin\tsd update
14-
```
15-
1611
## Compile
1712
```
1813
node node_modules/typescript/bin/tsc

jsx/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "JSX in TypeScript Demo Project",
55
"main": "app.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"postinstall": "node_modules/.bin/tsd update"
89
},
910
"repository": {
1011
"type": "git",

0 commit comments

Comments
 (0)