-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 2.24 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "rmby",
"version": "1.1.1",
"description": "A zero-dependency library with a fluent interface for removing files asynchronously by certain filters",
"author": "Yadullah Duman",
"license": "MIT",
"main": "lib/rmby.js",
"types": "lib/rmby.d.ts",
"engines": {
"node": ">=10"
},
"repository": {
"type": "git",
"url": "https://github.com/yduman/rmby.git"
},
"files": [
"lib/**/*",
"README.md",
"LICENSE"
],
"keywords": [
"file",
"files",
"folder",
"folders",
"remove",
"destroy",
"trash",
"filter",
"async",
"fs",
"delete",
"unlink",
"readdir",
"stat",
"promises",
"clean",
"cleaning",
"cleanup",
"rm",
"rmrf",
"rimraf",
"removeby"
],
"scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
"preversion": "npm run lint",
"test": "jest",
"test:cov": "jest --coverage",
"test:watch": "jest --watch"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"tempy": "^0.7.0",
"ts-jest": "^26.3.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js"
],
"rootDir": ".",
"testRegex": ".test.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"./src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"node_modules/",
"test/"
],
"coverageThreshold": {
"global": {
"statements": 100
}
}
},
"lint-staged": {
"src/**/*.ts": [
"npm run lint",
"npm run format"
],
"test/**/*.ts": [
"npm run lint",
"npm run format"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}