OCR-Form-Tools/package.json

135 строки
4.6 KiB
JSON
Исходник Обычный вид История

2020-02-04 00:31:46 +03:00
{
"name": "oflt",
2021-07-12 17:10:43 +03:00
"version": "2.1.0",
2020-02-04 00:31:46 +03:00
"author": {
"name": "Microsoft",
"url": "https://github.com/microsoft/OCR-Form-Tools"
},
2020-07-08 01:56:38 +03:00
"description": "Form OCR Testing Tool - an labeling tool for forms.",
"homepage": ".",
2020-02-04 00:31:46 +03:00
"repository": {
"type": "git",
"url": "https://github.com/microsoft/OCR-Form-Tools"
},
"license": "MIT",
"private": true,
"main": "build/main.js",
"dependencies": {
2020-08-25 03:40:15 +03:00
"@azure/storage-blob": "12.1.2",
"@fluentui/react": "^7.117.2",
"@microsoft/applicationinsights-react-js": "^3.0.1",
"@microsoft/applicationinsights-web": "^2.5.6",
2020-02-04 00:31:46 +03:00
"axios": "^0.19.0",
"bootstrap": "^4.4.1",
"chart.js": "^2.9.3",
"exif-js": "^2.3.0",
"file-type": "^14.6.2",
"jszip": "^3.5.0",
"localforage": "^1.9.0",
2020-12-02 08:46:39 +03:00
"lodash": "^4.17.20",
2020-02-04 00:31:46 +03:00
"ol": "^5.3.3",
"path-to-regexp": "^6.2.0",
"promise.allsettled": "^1.0.2",
2020-02-04 00:31:46 +03:00
"rc-align": "^2.4.5",
"rc-checkbox": "^2.1.8",
"react": "^16.13.1",
2020-02-04 00:31:46 +03:00
"react-color": "^2.17.3",
"react-dom": "^16.13.1",
2020-02-04 00:31:46 +03:00
"react-jsonschema-form": "^1.3.0",
"react-localization": "^1.0.15",
"react-redux": "^7.1.3",
"react-router-dom": "^5.1.2",
"react-split-pane": "^0.1.89",
"react-toastify": "^5.4.1",
"react-virtualized": "^9.21.2",
"reactstrap": "^8.2.0",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0",
Support supervised table labeling/training/prediction with new data schema. (#828) * added new icons * feat: support table tag creation * feat: support labeling * fix: zoomIn keyboar shortcut for macOS * fix: appId * fix: icons scr url (#593) * Alex krasn/rtl refactor to functional components (#594) * refactor to funct componenet - tableTagConfig.tsx * tagInputItemLabel.tsx- refactor to functional component * fix format error detected by tslint * support dropdown options (#603) * support dropdown options * add format filter on cell type choice * reset format on type change * add default theme to dropdowns * refactor: introduce and lift state of table body * Alex krasn/rtl create table view styles (#620) * styles (resize pane WIP) * styles * enable feature (#621) * Alex krasn/rtl support validation of user input on config table (#611) * -merge with changes * feat: enable user input validation * add strings * fix wording * - on save show only generic error message * custom error message for textfield * reset type and format of rows/columnst on save + refactor * refactor: support interfaces and lift state for labeling * feat: persist table labeling * feat: enable deleting headers (#627) * feat: table view styles (#629) * feat: table view styles * add styles for 'cells' * feat: table preview (#630) * Alex krasn/rtl eanble reordering of headers (#631) * enable reordering * fix checkmark and addButton styles * pipe line test fix * styles fix * fix resize pane width * fix: allow deleting and reassigning of table regions * feat: add table label description * fix: support selecting regions without opening table labeling * fix: react unique keys errors * fix: selection behaviour + refactor * disable move btns when a selection reached list's edges * disable delete btns when it's just one row/col * makes inputs placeholder less visible * support large tables in tableConfig + support resize pane (#634) * support large tables in tableConfig + support resize pane * cleanup * support large tables in tableLabeling * fix: buttons container nesting * fix: setup initial container width, and setup min and max headers width * add reconfigure btn to tableLabeling.tsx + some styling * add HOW TO label the table * add strings to tableLabeling.tsx * disable "table" type as an option for headers type * fix: spelling * feat: not allow tag type change if it is tableTag * disable tagtype and format from table tag dropdown submenu * delete table type options for all other tags (not table) * fix: support reconfigure button * fix: scroll unnecessary scrollbar in tableLabeling * refactor: rename + types * support row dynamic table in tableTagConfig * support table name in tableTagLabeling.tsx * support view of row dynamic tables in tableTagLabeling.tsx table view * add reconfig button to tag menu items * add table tag color bar under table name in table labeling view * add "Add row" btn for labeling row dynamic tables * fix: wording and strings for Confirm message on reconfigure table * fix: trim all inputted names during config validation * fix: on resize right splitpane to width less than min allowed * support rowDynamic table in tableLabeling table view * fix: table labeling view styles * add row indices for tableLabel table view * add indices in tableConfig + support some reconfig func * fix: dont show "Row #" for fixed tables in tableTagLabeling.tsx * fix: restore right pane size for basic input mode * feat: support row dynamic labeling * fix: tableName validation erorr * fix: show one row for rowDynmic in preview * refactor: validateInputAndSave * refactor: support adding rows for row dynamic tables * refactor: support row dynamic labeling * fix: trim rows * merge master into RTL branch (#647) * merge master into RTL branch * fix an API icon * add stings to tableConfig * fix: typo in tableTagToAdd * tableLabeling: refactor, styles, strings * tableLabeling: add spanish strings * refactor: optimize inputs validation * fix: TableElements enum spelling * fix: use correct table format values * fix: spelling * enable reconfigure button from tag menu dropdown * refactor: remove not needed customizer * fix: conditional Enum for headersFormatAndTypeOptions * feat: support reconfigure table map * feat: cross out columns when renaming * fix: scrollbar visibilty + style adjustments * fix: scroll issue on open * feat: support tracking changed and deleted headers * autofocus on last added input * fix: delete extra colon * fix: class name for renamed header + forgoten variable * enable reconfigure [cancel] button * styles for renamed headers * display original col/row name on reconfigure * fix: delete autofocus on btns * fix: revert accidentally deleted ref + whitespaces * display table name in preview * fix: support deleted headers and style change * feat: support reconfig deleting fields * feat: support deleting tables * fix margin + and Lunk styles * restore deleted row/col: Link => ActionButton * fix: splitpane and labelng/config styles * add: tag color for reconfigure * fix: tableName color for config * feat: support saving reconfigure * analyze results * fix: delete red table border * fix reconfigure name validation and toast message * fix on reconfigure projectAction assets update * add higlight table results in analyze * feat: redraw canvas with changed regions * fix: add reconfigure support for tag name change * handle long row/col names without spaces * temp fix for unique column names in analyzeOutput.json * feat: handle long col and row names in tableTagConfig * feat: enable drawn region icon and selection marks * feat: add progress to table reconfigure * feat: support rowKeys and columnKeys for analysis * feat: support tracking column and row count * fix: reconfigure progess spinner styles * feat: highlight table cell bounding box on mouse enter * fix: reconfigure state on close() * fix: commnet out testing config in predictPage * fix: check for rowKeys in updatedAssetMetadata * fix: on reconfigure when adding columns (rdt) * new row/col headers icons * fix: update asset after reconfigure * fix: check if theres tags * fix: update document bounding boxes after reconfigure * fix: handle region reset after reconfigure * refactor: hardcode to preview.3 api * feat: support rename of table tag * merge with master as of 11/16 * feat: enable table support for labeledTags filter * fix: table labeling issues * fix issue of "Trained label doesn't show as manually labeled after revisioni" (cherry picked from commit d17e8a0c7ab3c421a9868f2e0eed684672f9b7ea) * fix: display analyze results * Merge branch 'stew-ro/support-table-labeling' of https://github.com/microsoft/OCR-Form-Tools into rtl_merge_with_master * support new schema for prediction * support highlighting of tableTag and tableCell in editor page * display table in tag view and support highlight after schema change * feat: support row/col header selectionMark logic * display column header after schema change in prediction results * handle empty rows after schema change predict * use fieldType Object and Array for new schema * write new schema to field.json * fix on 'definitions' undefiened on reconfigure * support writing to field.json and removing rowKeys and columnKey logic * fix: remove label type when invalid * fix: use default rows and columns if field is null * feat: support label files for new schema * support encoding * fix decoding and encoding logic * fix remove label with empy value * update taginput toolbar * change row dynamic starting index to zero * support reconfigure after schema change * support drawn region logic for table labeling * support encoding for refactoring table * support rename and delete tag * support empty table for analysis * fix: support empty tables for analysis * Fix pipeline build failures. Co-authored-by: alex-krasn <v-alexkr@microsoft.com> Co-authored-by: stew-ro <v-stewro@microsoft.com> Co-authored-by: alex-krasn <64093224+alex-krasn@users.noreply.github.com> Co-authored-by: Alex Chen <v-yongbc@microsoft.com> Co-authored-by: Starain chen <v-stachen@microsoft.com> Co-authored-by: Alexander Krasnorutskiy <alexk@Alexanders-MBP.domain>
2021-01-01 15:38:06 +03:00
"rfdc": "^1.1.4",
"rimraf": "^3.0.2",
"serialize-javascript": "^5.0.1",
2020-02-04 00:31:46 +03:00
"shortid": "^2.2.15",
"utif": "^3.1.0",
"vott-react": "^0.2.12"
2020-02-04 00:31:46 +03:00
},
"scripts": {
"start": "env-cmd -f .env.electron nf start -p 3000",
2020-02-04 00:31:46 +03:00
"compile": "tsc",
"build": "node ./scripts/dump_git_info.js && react-scripts build",
"react-start": "node ./scripts/dump_git_info.js && react-scripts start",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"webpack:dev": "webpack --config ./config/webpack.dev.js",
"webpack:prod": "webpack --config ./config/webpack.prod.js",
"electron:run:dev": "yarn webpack:dev && electron . --remote-debugging-port=9223",
"electron:run:prod": "yarn webpack:prod && electron . --remote-debugging-port=9223",
"electron:start:dev": "yarn electron-start",
"electron:start:prod": "yarn webpack:prod && yarn electron-start",
"electron-start": "node src/electron/start",
"release": "env-cmd -f .env.electron yarn build && yarn webpack:prod && yarn electron-builder",
"tslint": "./node_modules/.bin/tslint 'src/**/*.ts*'",
"tslintfix": "./node_modules/.bin/tslint 'src/**/*.ts*' --fix"
2020-02-04 00:31:46 +03:00
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/enzyme": "^3.10.4",
"@types/history": "^4.7.3",
"@types/jest": "23.3.9",
2020-11-09 14:52:15 +03:00
"@types/lodash": "4.14.108",
2020-02-04 00:31:46 +03:00
"@types/react": "^16.9.15",
"@types/react-dom": "^16.9.4",
"@types/react-jsonschema-form": "^1.6.6",
"@types/react-router-dom": "^5.1.3",
"@types/react-split-pane": "^0.1.67",
"@types/react-toastify": "^4.1.0",
"@types/reactstrap": "^8.2.0",
"@types/redux-logger": "^3.0.7",
"acorn": "^7.1.1",
"electron": "10.1.5",
"electron-builder": "^22.9.1",
2020-09-12 00:24:37 +03:00
"env-cmd": "^10.1.0",
2020-02-04 00:31:46 +03:00
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint-utils": "^1.4.3",
"foreman": "^3.0.1",
"jest-enzyme": "^7.1.2",
"kind-of": "^6.0.3",
"mime": "^2.4.6",
"minimist": "^1.2.2",
2020-09-26 00:03:55 +03:00
"node-forge": "^0.10.0",
"node-sass": "^4.14.1",
"pdfjs-dist": "^2.9.359",
"react-scripts": "3.4.1",
2020-02-04 00:31:46 +03:00
"redux-immutable-state-invariant": "^2.1.0",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.4",
"rimraf": "^3.0.2",
"ts-loader": "^7.0.1",
"tslint": "^6.1.1",
"typescript": "^3.9.5",
"webpack-cli": "^3.3.11",
"webpack-merge": "^4.2.2",
"yarn": "^1.22.10"
2020-02-04 00:31:46 +03:00
},
"engines": {
"node": ">=12.13.1",
2020-02-04 00:31:46 +03:00
"npm": ">=6.4.1"
}
}