-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
96 lines (96 loc) · 3.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
87
88
89
90
91
92
93
94
95
96
{
"name": "scrape-pages",
"version": "3.5.2",
"description": "generalized scraping using a single config object for any site that can be scraped without a headless browser",
"scripts": {
"format": "prettier --write --ignore-path=.gitignore \"**/!(*.api).{json,ts,js}\"",
"format:check": "prettier --check --ignore-path=.gitignore \"**/!(*.api).{json,ts,js}\"",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch",
"lint": "eslint --ignore-path .gitignore \"**/*.ts\"",
"clean": "shx rm -rf build test/.run-output node_modules/.build-artifacts node_modules/.cache/tsbuild-info.json",
"compile": "webpack --mode=production",
"compile:declarations": "ttsc --declaration --emitDeclarationOnly --declarationMap --outDir node_modules/.build-artifacts/declarations",
"compile:bundle:declarations": "api-extractor run --local --verbose",
"copy-assets": "shx cp package.json README.md build",
"build:types": "run-s clean compile:declarations compile:bundle:declarations",
"build": "run-s clean compile compile:declarations compile:bundle:declarations copy-assets",
"test": "run-s clean typecheck test:unit test:functional lint format:check",
"test:watch": "mochapack \"{test,src}/**/*.test.ts\" --watch --clear-terminal",
"test:unit": "mochapack \"src/**/*.unit.test.ts\"",
"test:functional": "mochapack \"test/functional/**/*functional.test.ts\"",
"test:packaged": "./test/packaged/setup.sh",
"test:coverage": "nyc mochapack --webpack-env=coverage \"{test,src}/**/*.test.ts\""
},
"repository": {
"type": "git",
"url": "git@github.com/andykais/scrape-pages.git"
},
"keywords": [
"crawler",
"emitter",
"http",
"scraper"
],
"author": "Andrew Kaiser",
"license": "MIT",
"devDependencies": {
"@microsoft/api-extractor": "7.8.2-pr1796.0",
"@types/better-sqlite3": "^5.4.0",
"@types/chai": "^4.2.12",
"@types/cheerio": "^0.22.21",
"@types/mocha": "^8.0.0",
"@types/mocha-steps": "^1.3.0",
"@types/nearley": "^2.11.1",
"@types/node": "^14.0.26",
"@types/node-fetch": "^2.5.7",
"@types/readline-sync": "^1.4.3",
"@types/seamless-immutable": "^7.1.13",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^3.7.1",
"chai": "^4.2.0",
"eslint": "^7.5.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"istanbul-instrumenter-loader": "^3.0.1",
"mocha": "^8.0.1",
"mocha-steps": "^1.3.0",
"mochapack": "^2.0.3",
"nearley-loader": "^2.0.0",
"nock": "^13.0.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pre-push": "^0.1.1",
"prettier": "^2.0.5",
"readline-sync": "^1.4.10",
"shx": "^0.3.2",
"ts-loader": "^8.0.1",
"ttypescript": "^1.5.10",
"typescript": "^3.9.7",
"typescript-transform-paths": "^1.1.14",
"webpack": "~4.44.0",
"webpack-cli": "^3.3.12",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"abort-controller": "^3.0.0",
"better-sqlite3": "^7.1.0",
"bunyan": "^1.8.14",
"cheerio": "^1.0.0-rc.3",
"handlebars": "^4.7.6",
"jsonata": "^1.8.3",
"nearley": "^2.19.5",
"node-fetch": "^2.6.0",
"rxjs": "^6.6.0",
"seamless-immutable": "^7.1.4",
"typescript-is": "^0.16.3"
},
"engines": {
"node": ">=10.0"
},
"main": "build/index.js",
"types": "build/scrape-pages-public.d.ts",
"pre-push": [
"test"
]
}