Seed updated to 4.1.3
This commit is contained in:
AbinayaSubbiah 2017-05-30 11:48:56 +05:30
Родитель 4917f24bfd
Коммит 33f3e1f194
3 изменённых файлов: 36 добавлений и 33 удалений

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

@ -2,6 +2,7 @@ var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var helpers = require('./helpers');
var path = require('path');
module.exports = {
entry: {
@ -11,7 +12,10 @@ module.exports = {
},
resolve: {
extensions: ['.ts', '.js']
extensions: ['.ts', '.js'],
alias: {
jquery: "jquery/src/jquery"
}
},
module: {
@ -22,7 +26,7 @@ module.exports = {
{
loader: 'awesome-typescript-loader',
options: { configFileName: helpers.root('src', 'tsconfig.json') }
} , 'angular2-template-loader'
}, 'angular2-template-loader'
]
},
{
@ -36,7 +40,7 @@ module.exports = {
{
test: /\.css$/,
exclude: helpers.root('src', 'app'),
loader: ExtractTextPlugin.extract({ fallbackLoader: 'style-loader', loader: 'css-loader?sourceMap' })
loader: ExtractTextPlugin.extract({ fallback: 'style-loader', loader: 'css-loader?sourceMap' })
},
{
test: /\.css$/,
@ -49,10 +53,8 @@ module.exports = {
plugins: [
// Workaround for angular/angular#11580
new webpack.ContextReplacementPlugin(
// The (\\|\/) piece accounts for path separators in *nix and Windows
/angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
helpers.root('./src'), // location of your src
{} // a map of your routes
/angular(\\|\/)core(\\|\/)@angular/,
path.resolve(__dirname, '../src')
),
new webpack.optimize.CommonsChunkPlugin({
@ -64,4 +66,3 @@ module.exports = {
})
]
};

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

@ -26,25 +26,25 @@
},
"homepage": "https://github.com/syncfusion/angular2-seeds#readme",
"dependencies": {
"@angular/common": "~2.4.0",
"@angular/compiler": "~2.4.0",
"@angular/core": "~2.4.0",
"@angular/forms": "~2.4.0",
"@angular/http": "~2.4.0",
"@angular/platform-browser": "~2.4.0",
"@angular/platform-browser-dynamic": "~2.4.0",
"@angular/router": "~3.4.0",
"@angular/common": "~4.1.3",
"@angular/compiler": "~4.1.3",
"@angular/core": "~4.1.3",
"@angular/forms": "~4.1.3",
"@angular/http": "~4.1.3",
"@angular/platform-browser": "~4.1.3",
"@angular/platform-browser-dynamic": "~4.1.3",
"@angular/router": "~4.1.3",
"core-js": "^2.4.1",
"rxjs": "5.0.1",
"zone.js": "^0.7.4"
},
"devDependencies": {
"angular2-template-loader": "^0.6.0",
"awesome-typescript-loader": "^3.0.4",
"angular2-template-loader": "~0.6.2",
"awesome-typescript-loader": "~3.1.3",
"css-loader": "^0.26.1",
"extract-text-webpack-plugin": "2.0.0-beta.5",
"file-loader": "^0.9.0",
"html-loader": "^0.4.3",
"extract-text-webpack-plugin": "~2.1.0",
"file-loader": "~0.11.1",
"html-loader": "~0.4.5",
"html-webpack-plugin": "^2.16.1",
"jasmine-core": "^2.4.1",
"karma": "^1.2.0",
@ -58,19 +58,18 @@
"raw-loader": "^0.5.1",
"rimraf": "^2.5.4",
"style-loader": "^0.13.1",
"typescript": "~2.2.0",
"typescript": "~2.3.3",
"url-loader": "^0.5.8",
"webpack": "2.2.1",
"webpack-dev-server": "2.4.1",
"webpack-merge": "^3.0.0",
"webpack": "~2.6.1",
"webpack-dev-server": "~2.4.5",
"webpack-merge": "~4.1.0",
"bootstrap": "^3.3.6",
"jquery": "^3.1.1",
"jsrender": "^0.9.75",
"syncfusion-javascript": "^15.1.33",
"ej-angular2": "^15.1.33",
"@types/ej.web.all": "^14.4.1",
"jquery": "~3.2.1",
"jsrender": "~0.9.84",
"syncfusion-javascript": "^15.2.41",
"ej-angular2": "^15.2.41",
"@types/ej.web.all": "^15.2.0",
"@types/jquery": "2.0.34",
"@types/es6-shim": "0.31.32",
"@types/node": "^6.0.46"
}
}

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

@ -9,14 +9,17 @@
"removeComments": false,
"noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true,
"lib": [
"es2015",
"dom"
],
"typeRoots": [
"./../node_modules/@types/"
],
"types": [
"jquery",
"ej.web.all",
"node",
"es6-shim"
"node"
]
}
}