-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
72 lines (72 loc) · 2.05 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
{
"name": "neo-scraper",
"version": "0.9.0",
"description": "Scrape a booru-like post object from the DOM.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.js",
"scripts": {
"test": "cross-env JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest",
"test:ci": "cross-env JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest --colors --silent",
"test:debug": "cross-env JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs HEADLESS=false jest --testTimeout=100000000",
"build": "tsc",
"watch": "tsc -w",
"lint": "eslint src scripts",
"summary-table": "npm run build && node --experimental-specifier-resolution=node --loader ts-node/esm scripts/summary-table.ts"
},
"author": "neobooru",
"license": "MIT",
"dependencies": {
"js-cookie": "^3.0.5",
"turndown": "^7.1.2"
},
"devDependencies": {
"@types/expect-puppeteer": "^5.0.5",
"@types/jest": "^29.5.7",
"@types/jest-environment-puppeteer": "^5.0.5",
"@types/js-cookie": "^3.0.5",
"@types/jsdom": "^12.2.4",
"@types/turndown": "^5.0.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cross-env": "^7.0.3",
"eslint": "8.7.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0",
"jest-puppeteer": "^9.0.1",
"jest-ts-webcompat-resolver": "^1.0.0",
"jsdom": "^15.2.1",
"prettier": "2.5.1",
"puppeteer": "^22.12.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"exports": {
".": "./dist/index.js",
"./": "./dist/"
},
"jest": {
"preset": "./jest.preset.cjs",
"resolver": "jest-ts-webcompat-resolver",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.test.json"
}
]
},
"moduleFileExtensions": [
"ts",
"js"
],
"testTimeout": 30000,
"testRegex": "^.+\\.test\\.ts$",
"setupFilesAfterEnv": [
"./src/test/jest.setup.ts"
]
}
}