-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
110 lines (110 loc) · 2.87 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
{
"name": "@lzwme/dir-fast-copy",
"version": "1.5.0",
"description": "nodejs 实现的文件夹快速复制工具。适用于对存在海量小文件的目录进行选择性复制的需求场景。",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"bin": {
"dfc": "bin/dfc.js"
},
"repository": {
"type": "git",
"url": "https://github.com/lzwme/dir-fast-copy.git"
},
"license": "MIT",
"keywords": [
"fast",
"copy",
"cp",
"文件复制"
],
"author": {
"name": "lzwme",
"url": "https://lzw.me"
},
"maintainers": [
{
"name": "renxia",
"url": "https://lzw.me"
}
],
"scripts": {
"dev": "tsc -w",
"build": "run-s clean && run-p build:*",
"build:dist": "tsc -p tsconfig.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"test": "run-s build test:*",
"test:lint": "prettier \"src/**/*[^.spec].ts\" --list-different",
"test:unit": "nyc --silent ava",
"watch": "run-s clean build:dist && run-p \"build:dist -- -w\" \"test:unit -- --watch\"",
"watch:src": "run-s clean build:dist && run-p \"build:dist -- -w\"",
"cov": "run-s build test:unit cov:html && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:send": "nyc report --reporter=lcov && codecov",
"cov:summary": "nyc report --reporter=text-summary",
"cov:check": "nyc report && nyc check-coverage --lines 40 --functions 30 --branches 30",
"version": "standard-version",
"reset": "git clean -dfx && git reset --hard && pnpm install",
"clean": "trash dist cjs esm",
"preinstall": "husky install",
"prepare-release": "run-s test cov:check version"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com"
},
"packageManager": "[email protected]",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/node": "^20",
"ava": "^6.0.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"open-cli": "^7.2.0",
"prettier": "^3.1.1",
"standard-version": "^9.5.0",
"trash-cli": "^5.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"commander": "^11.1.0",
"console-log-colors": "^0.4.0",
"glob-to-regexp": "^0.4.1"
},
"ava": {
"failFast": true,
"files": [
"dist/**/*.spec.js"
],
"watchMode": {
"ignoreChanges": [
"dist/**/*.js"
]
}
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": [
"**/*.spec.js"
]
},
"prettier": {
"singleQuote": true
},
"lint-staged": {
"*.ts": [
"prettier --parser typescript --write --cache"
],
"*.json": [
"prettier --parser json --write"
]
}
}