Skip to content

Commit

Permalink
fix(package): update
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Jan 25, 2018
1 parent f8ae7dd commit 109988d
Show file tree
Hide file tree
Showing 3 changed files with 402 additions and 116 deletions.
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
},
"devDependencies": {
"angular-mocks": "~1.6.8",
"angular": "~1.6.8",
"angular-animate": "~1.6.8",
"angular-aria": "~1.6.8",
"angular-busy": "~4.1.4",
"angular-material": "~1.1.6",
"angular-material-icons": "^0.7.1",
"codecov.io": "~0.1.6",
"sanji-common-devs-ui": "^7.0.0",
"semantic-release": "^12.2.4",
Expand All @@ -42,10 +48,10 @@
"keywords": ["sanji", "angular-sanji", "angular-sanji-window"],
"license": "MIT",
"homepage": "https://github.com/Sanji-IO/angular-sanji-window",
"dependencies": {
"angular": "~1.6.8",
"angular-animate": "~1.6.8",
"angular-aria": "~1.6.8",
"peerDependencies": {
"angular": ">=1.5.0 <1.7.0",
"angular-animate": ">=1.5.0 <1.7.0",
"angular-aria": ">=1.5.0 <1.7.0",
"angular-busy": "~4.1.4",
"angular-material": "~1.1.6",
"angular-material-icons": "^0.7.1"
Expand Down
27 changes: 1 addition & 26 deletions webpack.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,7 @@ config.entry = {
};
config.output.library = 'sjWindow';
config.output.libraryTarget = 'umd';
config.externals = {
angular: {
root: 'angular',
commonjs2: 'angular',
commonjs: 'angular',
amd: 'angular'
},
'angular-material': {
root: 'ngMaterial',
commonjs2: 'angular-material',
commonjs: 'angular-material',
amd: 'angular-material'
},
'angular-busy': {
root: 'ngBusy',
commonjs2: 'angular-busy',
commonjs: 'angular-busy',
amd: 'angular-busy'
},
'angular-material-icons': {
root: 'ngMdIcons',
commonjs2: 'angular-material-icons',
commonjs: 'angular-material-icons',
amd: 'angular-material-icons'
}
};
config.externals = ['angular', 'angular-material', 'angular-busy', 'angular-material-icons'];

config.module.rules = [
{
Expand Down
Loading

0 comments on commit 109988d

Please sign in to comment.