* chore: update packages to the latest version

* chore: webpack.config.js (provide env for app assets)

* chore: make grid resizable and reorderable
This commit is contained in:
Stefan Stefanov 2018-04-09 15:12:07 +03:00 коммит произвёл Dimitar Terziev
Родитель 6e3a968708
Коммит e2d3022e1b
3 изменённых файлов: 16 добавлений и 8 удалений

Просмотреть файл

@ -13,6 +13,8 @@ export function withState(WrappedGrid) {
<WrappedGrid
filterable={true}
sortable={true}
resizable={true}
reorderable={true}
pageable={{ pageSizes: true }}
{...this.props}
total={this.state.total}
@ -53,4 +55,4 @@ export function withState(WrappedGrid) {
});
}
}
}
}

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "aspnetcore-react-starter-kit",
"description": "React starter kit for Asp.Net Core",
"version": "0.1.0",
"version": "0.1.1",
"repository": {
"type": "git",
"url": "https://github.com/bobbyquennell/dotnetcore-react-starter-kit"
@ -14,11 +14,13 @@
"homepage": "https://github.com/bobbyquennell/dotnetcore-react-starter-kit#readme",
"dependencies": {
"@progress/kendo-data-query": "^1.1.2",
"@progress/kendo-react-dateinputs": "^0.3.0",
"@progress/kendo-react-dropdowns": "^0.3.0",
"@progress/kendo-react-grid": "^0.3.0",
"@progress/kendo-react-inputs": "^0.3.0",
"@progress/kendo-react-intl": "^0.3.0",
"@progress/kendo-drawing": "^1.5.2",
"@progress/kendo-react-dateinputs": "^0.5.0",
"@progress/kendo-react-dropdowns": "^0.5.0",
"@progress/kendo-react-grid": "^0.5.0",
"@progress/kendo-react-inputs": "^0.5.0",
"@progress/kendo-react-intl": "^0.5.0",
"@progress/kendo-react-pdf": "^0.5.1",
"aspnet-prerendering": "^3.0.1",
"aspnet-webpack": "^2.0.1",
"aspnet-webpack-react": "^3.0.0",

Просмотреть файл

@ -67,7 +67,11 @@ module.exports = (env) => {
},
]
},
plugins: []
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': isDevBuild ? '"development"' : '"production"'
})
]
});
// Configuration for client-side bundle suitable for running in browsers