Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove element when right click (#49)
* feat: remove element when right click * fix: wrong type definition * test: update case
- Loading branch information
Showing
7 changed files
with
130 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
{ | ||
"name": "mini-xmind", | ||
"version": "1.1.3", | ||
"scripts": { | ||
"start": "nino go -e ./src/go", | ||
"test": "nino test", | ||
"build": "tsc && nino koei -c scripts/nino.koei.js", | ||
"compile": "tsc && nino compile", | ||
"codecov": "nino test -d", | ||
"lint": "tslint -c tslint.json 'src/**/*.ts[x]'", | ||
"prettier": "nino prettier", | ||
"lint-staged": "lint-staged", | ||
"backup": "npm config set registry=https://registry.npmjs.org && npm publish && npm config set registry=https://registry.npm.taobao.org", | ||
"pub": "npm run build && npm run compile && git push origin master && npm publish", | ||
"pre-deploy": "node scripts/copyCircleCiConfig.js", | ||
"deploy": "npm run build && npm run pre-deploy && bash scripts/gh-pages.sh" | ||
}, | ||
"description": "A tool to make mind-mapping easier", | ||
"files": [ | ||
"lib", | ||
"dist" | ||
], | ||
"license": "MIT", | ||
"main": "lib/index", | ||
"dependencies": { | ||
"antd": "^3.16.2", | ||
"react-draggable": "^3.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/classnames": "^2.2.7", | ||
"@types/enzyme": "^3.9.1", | ||
"@types/react": "^16.8.13", | ||
"@types/react-dom": "^16.8.3", | ||
"dekko": "^0.2.1", | ||
"lint-staged": "^8.1.5", | ||
"nino-cli": "^0.7.2", | ||
"tslint": "^5.15.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-eslint-rules": "^5.4.0", | ||
"tslint-react": "^4.0.0", | ||
"typescript": "^3.4.3" | ||
}, | ||
"pre-commit": [ | ||
"lint-staged" | ||
], | ||
"lint-staged": { | ||
"*.{ts,tsx}": [ | ||
"npm run prettier", | ||
"git add" | ||
] | ||
} | ||
} | ||
{ | ||
"name": "mini-xmind", | ||
"version": "1.1.3", | ||
"scripts": { | ||
"start": "nino go -e ./src/go", | ||
"test": "nino test", | ||
"build": "tsc && nino koei -c scripts/nino.koei.js", | ||
"compile": "tsc && nino compile", | ||
"codecov": "nino test -d", | ||
"lint": "tslint -c tslint.json 'src/**/*.ts[x]'", | ||
"prettier": "nino prettier", | ||
"lint-staged": "lint-staged", | ||
"backup": "npm config set registry=https://registry.npmjs.org && npm publish && npm config set registry=https://registry.npm.taobao.org", | ||
"pub": "npm run build && npm run compile && git push origin master && npm publish", | ||
"pre-deploy": "node scripts/copyCircleCiConfig.js", | ||
"deploy": "npm run build && npm run pre-deploy && bash scripts/gh-pages.sh" | ||
}, | ||
"description": "A tool to make mind-mapping easier", | ||
"files": [ | ||
"lib", | ||
"dist" | ||
], | ||
"license": "MIT", | ||
"main": "lib/index", | ||
"dependencies": { | ||
"antd": "^3.16.2", | ||
"react-draggable": "^3.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/classnames": "^2.2.7", | ||
"@types/enzyme": "^3.9.1", | ||
"@types/react": "^16.8.13", | ||
"@types/react-dom": "^16.8.3", | ||
"dekko": "^0.2.1", | ||
"lint-staged": "^8.1.5", | ||
"nino-cli": "^0.7.2", | ||
"tslint": "^5.15.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-eslint-rules": "^5.4.0", | ||
"tslint-react": "^4.0.0", | ||
"typescript": "^3.4.3" | ||
}, | ||
"pre-commit": [ | ||
"lint-staged" | ||
], | ||
"lint-staged": { | ||
"*.{ts,tsx}": [ | ||
"npm run prettier", | ||
"git add" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.