forked from axa-group/Parsr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
108 lines (108 loc) · 3.63 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "parsr",
"version": "1.1.2",
"description": "Turn your documents into data!",
"main": "dist/bin/index.js",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/axa-group/Parsr.git"
},
"author": "AXA rev",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/axa-group/Parsr/issues"
},
"homepage": "https://github.com/axa-group/Parsr#readme",
"directories": {
"test": "test"
},
"scripts": {
"install:pre": "node ./scripts/preinstall",
"test": "mocha -t 15000 -r ts-node/register test/**/**/*.spec.ts",
"copyAssets": "node ./scripts/copyFiles",
"postinstall": "npm run copyAssets",
"build:ts": "npm run copyAssets && tsc --outDir ./dist",
"build:ts:watch": "npm run copyAssets && tsc -w --outDir ./dist",
"install:api": "npm install --prefix api/server",
"start:web:vue": "npm run start:api:background && cd demo/vue-viewer && npm install && npm run serve",
"run:debug": "ts-node server/bin/index.ts",
"lint": "npm run eslint:api && npm run eslint:vue && npm run eslint:core",
"eslint:api": "eslint api/server/src/*",
"eslint:vue": "eslint \"demo/vue-viewer/**/*.{vue,js,json}\"",
"eslint:core": "eslint \"server/**/*.{ts,json}\" \"scripts/**/*.js\" \"*.json\"",
"start:api": "npm run build:ts && npm run install:api && npm run --prefix api/server start",
"start:api:background": "npm run start:api&",
"format": "prettier --write --list-different \"{,!(dist)/**/}*.{js,md,ts,css,scss}\"",
"remark": "remark -fqu 'remark-lint-no-dead-urls=\"skipLocalhost\": true, \"skipOffline\": true' -u remark-validate-links -i .remark-ignore ."
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test && npm audit && npm run remark"
}
},
"lint-staged": {
"!(docker|test)/*": "eslint"
},
"dependencies": {
"@google-cloud/vision": "^2.1.2",
"an-array-of-english-words": "^1.3.1",
"archiver": "^3.1.1",
"aws-sdk": "^2.713.0",
"axios": "^0.21.1",
"clone": "^2.1.2",
"commander": "^2.20.0",
"concaveman": "^1.2.0",
"convert-html-to-pdf": "^1.0.1",
"csv-stringify": "^5.5.0",
"file-type": "^9.0.0",
"html-entities": "^1.3.1",
"limit-async": "^1.3.0",
"lodash": "^4.17.21",
"mailparser": "^2.7.7",
"pdfjs-dist": "2.3.200",
"pdfmerge": "^1.0.2",
"pino": "^5.17.0",
"pino-pretty": "^2.6.1",
"shelljs": "^0.8.4",
"string-similarity": "^1.2.1",
"webpack": "^4.43.0",
"xml-stream": "^0.4.5",
"xml2js": "^0.4.23",
"yargs-unparser": "^1.6.3"
},
"devDependencies": {
"@types/archiver": "^3.1.0",
"@types/chai": "^4.2.11",
"@types/clone": "^0.1.30",
"@types/concaveman": "^1.1.3",
"@types/gapi.client.vision": "^1.0.1",
"@types/html-entities": "^1.2.16",
"@types/mocha": "^5.2.7",
"@types/node": "^10.17.27",
"@types/pdfjs-dist": "^2.1.4",
"@types/pino": "^5.20.0",
"@types/string-similarity": "^3.0.0",
"@types/xml2js": "^0.4.4",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"chai": "^4.1.2",
"eslint": "^7.4.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^6.2.2",
"husky": "^1.3.1",
"leche": "^2.3.0",
"lint-staged": "^10.2.11",
"mocha": "^7.2.0",
"prettier": "^1.18.2",
"remark-cli": "^7.0.1",
"remark-lint-no-dead-urls": "^1.0.2",
"remark-validate-links": "^9.2.0",
"ts-node": "^8.10.2",
"typescript": "^3.9.6"
}
}