mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
upgrade to React v16
This commit is contained in:
parent
a62a8a56cf
commit
6323d7cb0e
2 changed files with 36 additions and 32 deletions
60
package.json
60
package.json
|
@ -3,47 +3,47 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome": "^1.1.8",
|
||||
"@fortawesome/fontawesome-free-solid": "^5.0.13",
|
||||
"@fortawesome/react-fontawesome": "0.0.20",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.8",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.5.0",
|
||||
"@fortawesome/react-fontawesome": "^0.1.3",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"bootstrap": "^3.3.7",
|
||||
"classnames": "^2.2.5",
|
||||
"d3-array": "^1.2.0",
|
||||
"d3-axis": "^1.0.8",
|
||||
"classnames": "^2.2.6",
|
||||
"d3-array": "^1.2.4",
|
||||
"d3-axis": "^1.0.12",
|
||||
"d3-scale": "^1.0.6",
|
||||
"d3-selection": "^1.1.0",
|
||||
"d3-shape": "^1.2.0",
|
||||
"d3-time-format": "^2.0.5",
|
||||
"es6-promise": "^4.0.5",
|
||||
"file-saver": "^1.3.3",
|
||||
"d3-selection": "^1.3.2",
|
||||
"d3-shape": "^1.2.2",
|
||||
"d3-time-format": "^2.1.3",
|
||||
"es6-promise": "^4.2.5",
|
||||
"file-saver": "^1.3.8",
|
||||
"flux": "^3.1.2",
|
||||
"gaugeJS": "^1.3.2",
|
||||
"immutable": "^3.8.1",
|
||||
"lodash": "^4.17.5",
|
||||
"prop-types": "^15.6.1",
|
||||
"rc-slider": "^8.3.0",
|
||||
"react": "^15.4.2",
|
||||
"lodash": "^4.17.11",
|
||||
"prop-types": "^15.6.2",
|
||||
"rc-slider": "^8.6.3",
|
||||
"react": "^16.6.3",
|
||||
"react-bootstrap": "^0.31.1",
|
||||
"react-contexify": "^3.0.0",
|
||||
"react-contexify": "^3.0.3",
|
||||
"react-d3": "^0.4.0",
|
||||
"react-dnd": "^2.2.4",
|
||||
"react-dnd-html5-backend": "^2.2.4",
|
||||
"react-dom": "^15.4.2",
|
||||
"react-fullscreenable": "^2.4.3",
|
||||
"react-json-view": "^1.17.0",
|
||||
"react-notification-system": "^0.2.13",
|
||||
"react-rnd": "^7.4.0",
|
||||
"react-router": "^4.1.2",
|
||||
"react-router-dom": "^4.1.2",
|
||||
"react-scripts": "^1.1.4",
|
||||
"react-dnd": "^2.6.0",
|
||||
"react-dnd-html5-backend": "^2.6.0",
|
||||
"react-dom": "^16.6.3",
|
||||
"react-fullscreenable": "^2.5.0",
|
||||
"react-json-view": "^1.19.1",
|
||||
"react-notification-system": "^0.2.17",
|
||||
"react-rnd": "^7.4.3",
|
||||
"react-router": "^4.3.1",
|
||||
"react-router-dom": "^4.3.1",
|
||||
"react-scripts": "^1.1.5",
|
||||
"react-sortable-tree": "^0.1.19",
|
||||
"react-svg-pan-zoom": "^2.14.1",
|
||||
"superagent": "^3.5.0",
|
||||
"validator": "^10.2.0"
|
||||
"react-svg-pan-zoom": "^2.18.0",
|
||||
"superagent": "^3.8.3",
|
||||
"validator": "^10.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "^4.1.0"
|
||||
"chai": "^4.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
|
|
|
@ -21,9 +21,13 @@
|
|||
|
||||
import React from 'react';
|
||||
|
||||
import FontAwesomeIcon from '@fortawesome/react-fontawesome'
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
|
||||
import '@fortawesome/fontawesome-free-solid';
|
||||
import { library } from '@fortawesome/fontawesome-svg-core';
|
||||
import { fas } from '@fortawesome/free-solid-svg-icons';
|
||||
//import '@fortawesome/free-regular-svg-icons';
|
||||
|
||||
library.add(fas);
|
||||
|
||||
class Icon extends React.Component {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue