Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Mar 1, 2017
1 parent e2734eb commit 7f607ef
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 40 deletions.
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@
},
"homepage": "https://github.com/plantain-00/tree-component#readme",
"devDependencies": {
"@angular/common": "2.4.6",
"@angular/compiler": "2.4.6",
"@angular/core": "2.4.6",
"@angular/forms": "2.4.6",
"@angular/platform-browser": "2.4.6",
"@angular/platform-browser-dynamic": "2.4.6",
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@types/node": "7.0.5",
"@types/react": "15.0.6",
"@types/react-dom": "0.14.22",
"clean-css-cli": "4.0.7",
"@types/react": "15.0.13",
"@types/react-dom": "0.14.23",
"clean-css-cli": "4.0.8",
"core-js": "2.4.1",
"html-minifier": "3.3.3",
"html-minifier": "3.4.0",
"image2base64-cli": "1.0.3",
"raw-loader": "0.5.1",
"react": "15.4.2",
"react-dom": "15.4.2",
"rev-static": "1.3.1",
"rxjs": "5.1.0",
"stylelint": "7.8.0",
"rev-static": "2.1.1",
"rxjs": "5.2.0",
"stylelint": "7.9.0",
"stylelint-config-standard": "16.0.0",
"tslint": "4.4.2",
"typescript": "2.1.5",
"vue": "2.1.10",
"vue-class-component": "4.4.0",
"tslint": "4.5.1",
"typescript": "2.2.1",
"vue": "2.2.1",
"vue-class-component": "5.0.0",
"webpack": "2.2.1",
"zone.js": "0.7.6"
"zone.js": "0.7.7"
},
"dependencies": {
"tslib": "1"
Expand Down
17 changes: 17 additions & 0 deletions rev-static.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
inputFiles: [
"demo/vue.bundle.js",
"demo/vue/index.ejs.html",
"demo/react.bundle.js",
"demo/react/index.ejs.html",
"demo/angular.bundle.js",
"demo/angular/index.ejs.html"
],
outputFiles: file => file.replace(".ejs", ""),
json: false,
ejsOptions: {
rmWhitespace: true
},
sha: 256,
customNewFileName: (filePath, fileString, md5String, baseName, extensionName) => baseName + "-" + md5String + extensionName,
}
20 changes: 0 additions & 20 deletions rev-static.config.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function ondragleave(target: HTMLElement, data: TreeData[]) {
}

export function ondrop(target: HTMLElement, dragTarget: HTMLElement | null, data: TreeData[], next: (dropData: DropData) => void) {
const sourcePath = dragTarget!.dataset["path"].split(",").map(s => +s);
const sourcePath = dragTarget!.dataset["path"]!.split(",").map(s => +s);
const targetPathString = target.dataset["path"];
if (targetPathString) {
const targetPath = targetPathString.split(",").map(s => +s);
Expand Down
3 changes: 2 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"jsx": "react",
"outDir": "../dist",
"declaration": true,
"experimentalDecorators": true
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true
}
}

0 comments on commit 7f607ef

Please sign in to comment.