mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-24 03:00:05 +00:00
102 lines
3.3 KiB
JSON
102 lines
3.3 KiB
JSON
{
|
|
"name": "topola-viewer",
|
|
"version": "1.0.0",
|
|
"main": "src/index.tsx",
|
|
"dependencies": {
|
|
"@artsy/fresnel": "^1.3.1",
|
|
"array.prototype.flatmap": "^1.2.4",
|
|
"buffer": "^6.0.3",
|
|
"canvas-toBlob": "^1.0.0",
|
|
"d3-array": "^2.12.1",
|
|
"d3-interpolate": "^2.0.1",
|
|
"d3-selection": "^2.0.0",
|
|
"d3-transition": "^2.0.0",
|
|
"d3-zoom": "^2.0.0",
|
|
"debounce": "^1.2.1",
|
|
"detect-browser": "^5.2.0",
|
|
"fflate": "^0.8.2",
|
|
"file-saver": "^2.0.5",
|
|
"javascript-natural-sort": "^0.7.1",
|
|
"js-cookie": "^2.2.1",
|
|
"jspdf": "^2.3.1",
|
|
"lunr": "^2.3.9",
|
|
"lunr-languages": "^1.4.0",
|
|
"md5": "^2.3.0",
|
|
"original-fs": "^1.2.0",
|
|
"parse-gedcom": "^1.0.5",
|
|
"query-string": "^7.0.0",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-intl": "^5.15.5",
|
|
"react-linkify": "^0.2.2",
|
|
"react-router-dom": "^5.2.0",
|
|
"rehype-stringify": "^9.0.2",
|
|
"remark-parse": "^10.0.0",
|
|
"remark-rehype": "^10.0.0",
|
|
"semantic-ui-css": "^2.4.1",
|
|
"semantic-ui-react": "^2.0.3",
|
|
"topola": "^3.7.4",
|
|
"turbocommons-ts": "^3.8.0",
|
|
"unified": "^10.1.0",
|
|
"wikitree-js": "^0.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/adm-zip": "^0.5.0",
|
|
"@types/array.prototype.flatmap": "^1.2.2",
|
|
"@types/d3-array": "^2.9.0",
|
|
"@types/d3-interpolate": "^2.0.0",
|
|
"@types/d3-selection": "^2.0.0",
|
|
"@types/d3-transition": "^2.0.0",
|
|
"@types/d3-zoom": "^2.0.0",
|
|
"@types/debounce": "^1.2.0",
|
|
"@types/file-saver": "^2.0.1",
|
|
"@types/history": "^4.7.8",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/js-cookie": "^2.2.4",
|
|
"@types/lunr": "^2.3.3",
|
|
"@types/md5": "^2.3.0",
|
|
"@types/react": "^17.0.3",
|
|
"@types/react-dom": "^17.0.3",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
"@typescript-eslint/parser": "^4.19.0",
|
|
"cypress": "^13.17.0",
|
|
"gh-pages": "^3.1.0",
|
|
"prettier": "^3.4.2",
|
|
"react-scripts": "^5.0.1",
|
|
"run-script-os": "^1.1.6",
|
|
"start-server-and-test": "^2.0.9",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"typescript": "^4.2.3"
|
|
},
|
|
"scripts": {
|
|
"start": "run-script-os",
|
|
"start: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 start",
|
|
"start:windows": "react-scripts start",
|
|
"build": "run-script-os",
|
|
"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} --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",
|
|
"deploy-wikitree": "./deploy-wikitree.sh",
|
|
"cy:run": "cypress run",
|
|
"cy:start-and-run": "BROWSER=none start-server-and-test start 3000 cy:run"
|
|
},
|
|
"homepage": ".",
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
],
|
|
"eslintConfig": {
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-use-before-define": "off"
|
|
}
|
|
}
|
|
}
|