-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
94 lines (94 loc) · 2.32 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
{
"name": "puppeteer-table-parser",
"description": "Library to make parsing website tables much easier!",
"keywords": [
"puppeteer",
"puppeteer table parser",
"parsing html tables"
],
"version": "2.2.0",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"default": "./dist/index.js",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"homepage": "https://github.com/Tomas2D/puppeteer-table-parser#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Tomas2D/puppeteer-table-parser.git"
},
"bugs": {
"url": "https://github.com/Tomas2D/puppeteer-table-parser/issues"
},
"author": "Tomáš Dvořák <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"build": "rm -Rf dist; tsc --noEmit --project tsconfig.build.json && tsup",
"watch": "yarn build -- --watch src",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"format": "prettier --write \"src/**/*.ts\"",
"changelog": "npx gitmoji-changelog",
"release": "yarn version",
"version": "yarn changelog && code --wait CHANGELOG.md && git add README.md CHANGELOG.md",
"prepublishOnly": "yarn build",
"test": "jest"
},
"peerDependencies": {
"puppeteer": ">=10.0.0"
},
"devDependencies": {
"@types/express": "^5.0.0",
"@types/jest": "^29.1.2",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^9.0.0",
"express": "^4.18.1",
"husky": "^8.0.1",
"jest": "^29.2.0",
"lint-staged": "^14.0.0",
"prettier": "^3.0.1",
"puppeteer": "^21.0.1",
"ts-jest": "^29.0.3",
"tsup": "^7.1.0",
"typescript": "^5.0.4"
},
"resolutions": {
"set-value": ">=4.0.1"
},
"jest": {
"preset": "ts-jest",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"testTimeout": 15000,
"testRegex": ".test.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testEnvironment": "node"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}