-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·86 lines (86 loc) · 2.41 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
{
"version": "1.2.3",
"name": "html-extract-data",
"description": "Extract data from the DOM using a JSON config",
"author": "Arjan van Wijk <[email protected]> (https://github.com/thanarie)",
"homepage": "https://www.thanarie.nl/",
"license": "MIT",
"keywords": [
"html",
"extract"
],
"bugs": {
"url": "https://github.com/thanarie/html-extract-data/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/thanarie/html-extract-data.git"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"files": [
"dist/**/*",
"README.md"
],
"types": "./dist/esm/index.d.ts",
"scripts": {
"prepublishOnly": "npm-run-all -s validate build",
"validate": "npm-run-all -p lint test",
"dev": "npm-run-all -p dev:*",
"dev:ts": "tsc --noEmit --allowJs --watch",
"build": "npm-run-all -s clean build:*",
"build:ts-cjs": "tsc -p ./tsconfig.build.cjs.json",
"build:ts-esm": "tsc -p ./tsconfig.build.esm.json",
"clean": "npm-run-all clean:*",
"clean:test": "shx rm -rf coverage .nyc_output",
"clean:npm": "shx rm -rf dist",
"test": "jest ./src/",
"test:dev": "jest ./src/ -w",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src --cache",
"prettify": "prettier --write \"src/**/*.{js,ts,json}\"",
"precommit": "lint-staged"
},
"lint-staged": {
"gitDir": "./",
"linters": {
"src/**/*.{js,ts,json}": [
"prettier --write",
"git add"
],
"src/**/*.ts": [
"npm run lint:js"
]
}
},
"devDependencies": {
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"cross-env": "^7.0.2",
"eslint": "^7.5.0",
"eslint-config-airbnb": ">= 18",
"eslint-config-airbnb-base": ">= 13",
"eslint-config-prettier": ">= 4",
"eslint-friendly-formatter": "^4.0.1",
"eslint-import-resolver-webpack": "^0.12.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.3.0",
"lint-staged": "^10.5.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.0",
"shx": "^0.3.3",
"ts-jest": "^26.2.0",
"typescript": "^4.5.4"
},
"dependencies": {
"@types/lodash.mergewith": "^4.6.6",
"lodash.mergewith": "^4.6.2"
}
}