Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Commit ecc28a7

Browse files
bc022699bc022699
authored andcommitted
Use typings from NPM @types instead of requiring Typings. #20
1 parent c54a48d commit ecc28a7

8 files changed

Lines changed: 16 additions & 21 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ To build the framework itself:
2020

2121
```javascript
2222
npm install
23-
typings install
2423
gulp
2524
```
2625

@@ -29,7 +28,6 @@ To build the kitchen sink:
2928
```javascript
3029
cd kitchen-sink
3130
npm install
32-
typings install
3331
gulp
3432
```
3533

dist/static/js/framework7-react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Framework7 React 0.8.5-beta.3
2+
* Framework7 React 0.8.5-beta.4
33
* A React version of Framework7
44
* https://github.com/bencompton/framework7-react#readme
55
*
@@ -9,7 +9,7 @@
99
*
1010
* Licensed under APACHE 2.0
1111
*
12-
* Released on: March 16, 2017
12+
* Released on: March 20, 2017
1313
*/
1414
var Framework7React =
1515
/******/ (function(modules) { // webpackBootstrap

dist/static/js/framework7-react.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/static/js/framework7-react.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kitchen-sink/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
},
1919
"dependencies": {
2020
"framework7-react": "file:../",
21+
"@types/react": "^15.0.16",
2122
"react": "^15.3.2",
22-
"react-dom": "^15.3.2",
23-
"react-portal": "^3.0.0"
23+
"react-dom": "^15.3.2",
24+
"@types/react-dom": "^0.14.23",
25+
"react-portal": "^3.0.0"
2426
}
25-
}
27+
}

kitchen-sink/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@
99
"experimentalDecorators": true,
1010
"noImplicitAny": false,
1111
"jsx": "react"
12-
}
12+
},
13+
"exclude": [
14+
"node_modules"
15+
]
1316
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"homepage": "https://github.com/bencompton/framework7-react#readme",
4343
"devDependencies": {
4444
"@types/node": "^6.0.54",
45+
"@types/react": "^15.0.16",
4546
"awesome-typescript-loader": "^3.1.2",
4647
"babel-core": "^6.21.0",
4748
"babel-loader": "^6.4.0",

typings.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)