This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
react-with-type-safe-flux Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Getting started
4
4
5
- You'll need [ node / npm] ( https://nodejs.org/ ) and [ tsd ] ( http://definitelytyped.org/tsd/ ) installed globally . To get up and running just enter:
5
+ You'll need [ node / npm] ( https://nodejs.org/ ) installed. To get up and running just enter:
6
6
7
7
```
8
8
npm install
9
- tsd install
9
+ npm run tsd install
10
10
npm run serve
11
11
```
12
12
Original file line number Diff line number Diff line change 4
4
"description" : " ES6 + TypeScript + Babel + React + Karma: The Secret Recipe" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
+ "tsd" : " tsd" ,
7
8
"test" : " karma start --reporters mocha,junit --single-run --browsers PhantomJS" ,
8
9
"serve" : " gulp watch-and-serve" ,
9
10
"watch" : " gulp watch" ,
10
11
"build" : " gulp build"
11
12
},
13
+ "bin" : {
14
+ "tsd" : " ./node_modules/tsd/build/cli.js"
15
+ },
12
16
"repository" : {
13
17
"type" : " git" ,
14
18
"url" : " git+https://github.com/microsoft/typescriptsamples.git"
65
69
"react-addons-test-utils" : " ^0.14.3" ,
66
70
"react-dom" : " ^0.14.3" ,
67
71
"ts-loader" : " ^0.8.1" ,
72
+ "tsd" : " ^0.6.5" ,
68
73
"typescript" : " ^1.8.0" ,
69
74
"webpack" : " ^1.12.2" ,
70
75
"webpack-notifier" : " ^1.2.1"
You can’t perform that action at this time.
0 commit comments