mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-17 17:21:48 +00:00
Use wikitree-js library for WikiTree API
This commit is contained in:
@@ -33,7 +33,8 @@
|
||||
"semantic-ui-css": "^2.4.1",
|
||||
"semantic-ui-react": "^2.0.3",
|
||||
"topola": "^3.5.0",
|
||||
"unified": "^10.1.0"
|
||||
"unified": "^10.1.0",
|
||||
"wikitree-js": "^0.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/array.prototype.flatmap": "^1.2.2",
|
||||
@@ -71,7 +72,7 @@
|
||||
"build:default": "REACT_APP_CHANGELOG=`cat CHANGELOG.md` REACT_APP_GIT_SHA=`git rev-parse --short HEAD` REACT_APP_GIT_TIME=`git log -1 --format=%ci` react-scripts build",
|
||||
"build:windows": "react-scripts build",
|
||||
"test": "react-scripts test --env=jsdom",
|
||||
"prettier": "prettier --write src/**/*.{ts,tsx,json} && prettier --write src/*.{ts,tsx,json}",
|
||||
"prettier": "prettier --write src/**/*.{ts,tsx,json} --end-of-line lf && prettier --write src/*.{ts,tsx,json} --end-of-line lf",
|
||||
"predeploy": "npm run build",
|
||||
"deploy": "gh-pages -d build",
|
||||
"predeploy-wikitree": "npm run build",
|
||||
|
||||
Reference in New Issue
Block a user