-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
79 lines (79 loc) · 2.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "react-pdf-ner-annotator",
"version": "3.4.1",
"private": false,
"files": [
"lib"
],
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"dependencies": {
"@react-hook/mouse-position": "^4.1.3",
"lodash": "^4.17.21",
"object-hash": "^3.0.0",
"pdfjs-dist": "2.4.456",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intersection-observer": "^9.4.0",
"react-router-dom": "^6.4.1",
"react-scripts": "^4.0.1",
"tesseract.js": "^3.0.3"
},
"scripts": {
"start-development": "npm start",
"link": "npm link example/node_modules/react",
"start": "npm run link && npm run build && npm start --prefix example",
"build": "rimraf lib && tsc -p ./ --declaration --outDir lib/ && npm run sass-compile && npm run copy",
"sass-compile": "sass --no-source-map --style=compressed src/scss:lib/css",
"copy": "copyfiles -u 1 \"./src/**/*{.svg,scss,js}\" \"lib\"",
"test": "react-scripts test",
"lint": "eslint \"src/**/*{.ts,tsx}\" --fix",
"prettier": "prettier --write \"src/**/*{.ts,tsx}\""
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/MaartenBloemen/react-pdf-ner-annotator.git"
},
"author": "Maarten Bloemen",
"license": "MIT",
"bugs": {
"url": "https://github.com/MaartenBloemen/react-pdf-ner-annotator/issues"
},
"keywords": [
"react-component",
"typescript",
"PDF",
"NER"
],
"devDependencies": {
"@types/lodash": "^4.14.185",
"@types/node": "^18.7.20",
"@types/pdfjs-dist": "^2.10.378",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"copyfiles": "^2.4.1",
"eslint": "^7.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.7.1",
"sass": "^1.55.0",
"typescript": "^4.8.3"
}
}