-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 2.33 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
{
"name": "cross-process-lock",
"version": "2.1.1",
"description": "Cross-process file locking solution with lock-queue",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "npm run buildUpdate && npm test && npm run docs",
"buildUpdate": "npm run clean && npm run compile && npm run copyToDist",
"copyToDist": "copyfiles -f *.txt *.md package.json dist",
"docs": "typedoc --out ./docs ./src && touch ./docs/.nojekyll",
"clean": "rimraf ./dist ./docs ./reports ./coverage",
"test": "dotenv-ng --var JEST_JUNIT_OUTPUT_DIR=./reports -- jest --coverage",
"lint": "eslint . --ext .ts --fix",
"compile": "tsc && npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/szikszail/cross-process-lock.git"
},
"keywords": [
"file",
"lock"
],
"author": "Laszlo Szikszai <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/szikszail/cross-process-lock/issues"
},
"homepage": "https://github.com/szikszail/cross-process-lock#readme",
"files": [
"**/*.js",
"**/*.d.ts",
"**/*.js.map"
],
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"tslib": "^2.6.2",
"debug": "^4.3.4"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/debug": "^4.1.12",
"@types/node": "^18.19.3",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"copyfiles": "^2.4.1",
"dotenv-ng": "^1.2.1",
"jest": "^29.7.0",
"jest-junit": "^15.0.0",
"proxyquire": "^2.1.3",
"rimraf": "^4.1.2",
"sinon": "^19.0.0",
"eslint": "^9.15.0",
"ts-jest": "^29.0.5",
"typedoc": "^0.25.1",
"typescript": "^4.9.5",
"yargs": "^17.6.2"
},
"jest": {
"reporters": [
"default",
"jest-junit"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testEnvironment": "node",
"testMatch": [
"**/tests/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"dist"
],
"coverageDirectory": "./coverage",
"collectCoverageFrom": [
"./src/**/*.ts"
],
"moduleFileExtensions": [
"ts",
"js"
],
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 85,
"lines": 85,
"statements": 85
}
}
}
}