-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2 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
{
"name": "@wymp/indexed-debouncer",
"version": "1.1.0",
"description": "A class that can be instantiated as a dependency and which can keep track of named debounces across various function executions. This was built specifically to address React component mount/unmount chaos.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"clean": "rm -Rf dist || true; rm -Rf docs || true",
"docs:gen": "typedoc src/index.ts --sort visibility --sort static-first --sort source-order",
"docs:serve": "pnpx http-server ./docs",
"format": "pnpm prettier:fix && pnpm lint:fix",
"lint": "eslint src tests",
"lint:fix": "pnpm lint --fix",
"preinstall": "npx only-allow pnpm",
"prepublishOnly": "pnpm clean && pnpm build && npm run docs:gen",
"prettier": "prettier src tests --check",
"prettier:fix": "pnpm prettier --write",
"test": "pnpm typecheck && pnpm prettier && pnpm lint && pnpm test:jest",
"test:jest": "jest --verbose",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+ssh://github.com:wymp/indexed-debouncer.git"
},
"keywords": [],
"author": "Some Developers",
"license": "ISC",
"bugs": {
"url": "https://github.com/wymp/indexed-debouncer/issues"
},
"homepage": "https://github.com/wymp/indexed-debouncer#readme",
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.4",
"typescript": "^5.3.3"
},
"prettier": {
"printWidth": 120,
"trailingComma": "es5"
},
"jest": {
"roots": [
"<rootDir>/tests"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.test.json"
}
}
}
}