deps: upgrade deps

This commit is contained in:
Benjy Cui 2017-10-26 17:25:33 +08:00
parent 11c3abb3aa
commit 53906a2f0b
2 changed files with 6 additions and 5 deletions

View File

@ -35,8 +35,8 @@
"typings": "lib/index.d.ts",
"license": "MIT",
"peerDependencies": {
"react": "~0.14.0 || >=15.0.0",
"react-dom": "~0.14.0 || >=15.0.0"
"react": "~0.14.0 || >=15.0.0 || >=16.0.0",
"react-dom": "~0.14.0 || >=15.0.0 || >= 16.0.0"
},
"dependencies": {
"array-tree-filter": "~1.0.0",
@ -82,8 +82,8 @@
"warning": "~3.0.0"
},
"devDependencies": {
"@types/react": "^15.0.38",
"@types/react-dom": "~0.14.18",
"@types/react": "^16.0.0",
"@types/react-dom": "^16.0.0",
"ansi-styles": "^3.2.0",
"antd-tools": "^4.0.1",
"babel-cli": "^6.18.0",

View File

@ -113,7 +113,8 @@
</div>
{% if not usePreact %}
{% if isDev %}
<script src="https://as.alipayobjects.com/g/component/??react/15.6.1/react.js,react/15.6.1/react-dom.js"></script>
<script src="https://gw.alipayobjects.com/as/g/component/react/16.0.0/react.production.min.js"></script>
<script src="https://gw.alipayobjects.com/as/g/component/react/16.0.0/react-dom.production.min.js"></script>
{% endif %}
{% endif %}
<script src="{{ root }}common.js"></script>