mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-24 03:00:05 +00:00
118 lines
4.2 KiB
JSON
118 lines
4.2 KiB
JSON
{
|
|
"name": "topola-viewer",
|
|
"version": "1.0.0",
|
|
"main": "src/index.tsx",
|
|
"dependencies": {
|
|
"@artsy/fresnel": "^6.2.1",
|
|
"array.prototype.flatmap": "^1.2.4",
|
|
"buffer": "^6.0.3",
|
|
"canvas-toBlob": "^1.0.0",
|
|
"d3-array": "^3.2.4",
|
|
"d3-interpolate": "^3.0.1",
|
|
"d3-selection": "^3.0.0",
|
|
"d3-transition": "^3.0.1",
|
|
"d3-zoom": "^3.0.0",
|
|
"debounce": "^2.2.0",
|
|
"detect-browser": "^5.2.0",
|
|
"family-chart": "^0.2.1",
|
|
"fflate": "^0.8.2",
|
|
"file-saver": "^2.0.5",
|
|
"javascript-natural-sort": "^0.7.1",
|
|
"js-cookie": "^3.0.5",
|
|
"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": "^9.1.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-intl": "^6.8.9",
|
|
"react-linkify": "^1.0.0-alpha",
|
|
"react-router-dom": "^5.3.4",
|
|
"rehype-stringify": "^10.0.1",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-rehype": "^11.1.1",
|
|
"semantic-ui-css": "^2.4.1",
|
|
"semantic-ui-react": "^2.0.3",
|
|
"topola": "^3.8.0",
|
|
"turbocommons-ts": "^3.8.0",
|
|
"unified": "^11.0.5",
|
|
"wikitree-js": "^0.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
"@formatjs/fast-memoize": "^2.2.6",
|
|
"@formatjs/intl": "^2.10.15",
|
|
"@types/adm-zip": "^0.5.0",
|
|
"@types/array.prototype.flatmap": "^1.2.2",
|
|
"@types/d3-array": "^3.2.1",
|
|
"@types/d3-interpolate": "^3.0.4",
|
|
"@types/d3-selection": "^3.0.11",
|
|
"@types/d3-transition": "^3.0.9",
|
|
"@types/d3-zoom": "^3.0.8",
|
|
"@types/debounce": "^1.2.0",
|
|
"@types/file-saver": "^2.0.1",
|
|
"@types/history": "^4.7.8",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/lunr": "^2.3.3",
|
|
"@types/md5": "^2.3.0",
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
"@typescript-eslint/parser": "^4.19.0",
|
|
"cypress": "^13.17.0",
|
|
"gh-pages": "^6.3.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.9.5"
|
|
},
|
|
"scripts": {
|
|
"start": "run-script-os",
|
|
"start:default": "GENERATE_SOURCEMAP=false 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": "set \"GENERATE_SOURCEMAP=false\" && react-scripts start",
|
|
"build": "run-script-os",
|
|
"build:default": "GENERATE_SOURCEMAP=false 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": "set \"GENERATE_SOURCEMAP=false\" && 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"
|
|
}
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"d3-array": "<rootDir>/node_modules/d3-array/dist/d3-array.js",
|
|
"d3-color": "<rootDir>/node_modules/d3-color/dist/d3-color.js",
|
|
"d3-ease": "<rootDir>/node_modules/d3-ease/dist/d3-ease.js",
|
|
"d3-hierarchy": "<rootDir>/node_modules/d3-hierarchy/dist/d3-hierarchy.js",
|
|
"d3-interpolate": "<rootDir>/node_modules/d3-interpolate/dist/d3-interpolate.js",
|
|
"d3-selection": "<rootDir>/node_modules/d3-selection/dist/d3-selection.js",
|
|
"d3-timer": "<rootDir>/node_modules/d3-timer/dist/d3-timer.js",
|
|
"d3-transition": "<rootDir>/node_modules/d3-transition/dist/d3-transition.js"
|
|
}
|
|
}
|
|
}
|