/
package.json
208 lines (208 loc) · 7 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "@atao60/fse-cli",
"version": "0.0.63",
"description": "A cli for fs-extra",
"exports": "./dist/index.js",
"types": "./dist/index-types.d.ts",
"type": "module",
"bin": {
"fse": "./bin/fse.js",
"fse-cli": "./bin/fse.js",
"fse-remove": "./bin/fse.js",
"fse-rimraf": "./bin/fse.js",
"fse-ensureDir": "./bin/fse.js",
"fse-mkdirs": "./bin/fse.js",
"fse-mkdirp": "./bin/fse.js",
"fse-emptyDir": "./bin/fse.js",
"fse-copy": "./bin/fse.js",
"fse-ensureFile": "./bin/fse.js",
"fse-touch": "./bin/fse.js",
"fse-move": "./bin/fse.js",
"fse-version": "./bin/fse.js",
"fse-help": "./bin/fse.js",
"fse-cli-remove": "./bin/fse.js",
"fse-cli-rimraf": "./bin/fse.js",
"fse-cli-ensureDir": "./bin/fse.js",
"fse-cli-mkdirs": "./bin/fse.js",
"fse-cli-mkdirp": "./bin/fse.js",
"fse-cli-emptyDir": "./bin/fse.js",
"fse-cli-copy": "./bin/fse.js",
"fse-cli-ensureFile": "./bin/fse.js",
"fse-cli-touch": "./bin/fse.js",
"fse-cli-move": "./bin/fse.js",
"fse-cli-version": "./bin/fse.js",
"fse-cli-help": "./bin/fse.js"
},
"publishConfig": {
"access": "public"
},
"files": [
"bin/",
"dist/",
"MANUAL.md",
"USAGE",
"CONTRIBUTING.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"scripts": {
"start": "npm test",
"rimraf": "node scripts/rmdir.js",
"clean:deps": "npm run rimraf -- ./package-lock.json ./npm-shrinkwrap.json ./node_modules ./node_modules_bak",
"clean:dev": "npm run rimraf -- ./dist ./.build",
"clean:full": "npm run clean:dev && npm run clean:deps",
"clean": "npm run clean:dev",
"refresh": "npm run clean:full && npm install && npm shrinkwrap",
"compile:app:prod": "babel ./src --out-dir ./dist --extensions '.ts,.js' --delete-dir-on-start --source-maps",
"compile:app:types": "tsc --project ./src/tsconfig.types.json",
"compile:prod": "npm run compile:app:prod && npm run compile:app:types",
"build": "cross-env NODE_ENV=\"production\" npm run compile:prod",
"compile:app:dev": "babel ./src --out-dir ./dist --extensions '.ts,.js' --delete-dir-on-start --source-maps",
"compile:test:dev": "babel ./test --out-dir ./.build/test --extensions '.ts,.js' --delete-dir-on-start --source-maps",
"compile:dev": "npm run compile:app:dev && npm run compile:test:dev",
"test:dev:run": "mocha --config ./.mocharc.json",
"test:dev": "npm run compile:dev && npm run test:dev:run",
"test:dev:debug": "cross-env CLI_TEST_DEBUG=true npm run test:dev",
"test:dev:watch": "nodemon --config ./nodemon-it.json",
"test": "npm run test:dev:watch",
"node:version": "node --version",
"fullcheck": "npm run node:version && npm run test:dev && npm run lint",
"unstaged:check": "git diff-index --quiet HEAD --",
"commit": "git-cz",
"prerelease": "npm run unstaged:check && npm run fullcheck && npm run build && npm run update:copyright && git add -A",
"release": "cross-env HUSKY_SKIP_HOOKS=1 standard-version -a",
"postrelease": "cross-env HUSKY_SKIP_HOOKS=1 git push --follow-tags",
"lint:quiet": "tsc --project src && eslint src/**/* test/**/* scripts/**/* --quiet",
"lint:fix": "eslint --fix src/ test/ scripts/",
"lint": "tsc --project src && eslint src/**/* test/**/* scripts/**/*",
"analyse": "npx pkgfiles && npm list",
"cli:publish:build": "npm ci && npm run fullcheck && npm run build",
"cli:publish:pack": "ts-node ./tools/prepublish '' '../..'",
"cli:publish": "npm run cli:publish:npm && npm run cli:publish:gh",
"cli:publish:npm": "npm run cli:publish:build && npm run cli:publish:pack && npm publish ./publish --access public",
"cli:publish:gh": "ts-node ./tools/publish-gh",
"test:scripts": "mocha --config ./.mocharc-scripts.json",
"update:copyright": "node ./scripts/update-copyright",
"preinstall": "npm run lock:create && npx npm-force-resolutions",
"lock:create": "npx path-exists-cli package-lock.json || npm install --package-lock-only --ignore-scripts",
"prepare": "husky install"
},
"keywords": [
"fse",
"fse-cli",
"cli",
"fs",
"extra",
"node",
"nodejs",
"node.js",
"fs-extra",
"file",
"file system",
"copy",
"directory",
"emptyDir",
"ensureDir",
"mkdirp",
"mkdirs",
"mkdir",
"recursive",
"json",
"read",
"write",
"delete",
"remove",
"ensureFile",
"touch",
"create",
"text",
"output",
"move",
"version",
"help"
],
"author": "Pierre Raoul <atao60.dev@gmail.com>",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0",
"npm": ">=6.14.11"
},
"dependencies": {
"@babel/runtime": "^7.13.10",
"arg": "^5.0.0",
"chalk": "^4.1.0",
"core-js": "^3.10.1",
"fs-extra": "^10.0.0",
"graceful-fs": "^4.2.6",
"inquirer": "^8.0.0",
"regenerator-runtime": "^0.13.7",
"source-map-support": "^0.5.19",
"terminal-link": "^3.0.0",
"tslib": "^2.2.0"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.15",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.13.15",
"@babel/plugin-transform-runtime": "^7.13.15",
"@babel/plugin-transform-typescript": "^7.13.0",
"@babel/preset-env": "^7.13.15",
"@babel/preset-typescript": "^7.13.0",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@octokit/request": "^5.4.15",
"@types/babel-types": "^7.0.9",
"@types/chai": "^4.2.16",
"@types/concat-stream": "^1.6.0",
"@types/core-js": "^2.5.4",
"@types/cross-spawn": "^6.0.2",
"@types/fs-extra": "^9.0.11",
"@types/graceful-fs": "^4.1.5",
"@types/inquirer": "^7.3.1",
"@types/lodash": "^4.14.168",
"@types/micromatch": "^4.0.1",
"@types/mocha": "^8.2.2",
"@types/node": "^15.12.4",
"@types/supports-color": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-node-source-map-support": "0.0.1",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"concat-stream": "^2.0.0",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.24.0",
"eslint-config-node": "^4.1.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^6.0.0",
"lodash": "^4.17.21",
"micromatch": "^4.0.4",
"mocha": "^9.0.1",
"nodemon": "^2.0.7",
"npm-force-resolutions": "0.0.10",
"readdirp": "^3.6.0",
"standard-version": "^9.2.0",
"supports-color": "^9.0.1",
"ts-node": "^10.0.0",
"typescript": "^4.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/atao60/fse-cli.git"
},
"bugs": {
"url": "https://github.com/atao60/fse-cli/issues"
},
"homepage": "https://github.com/atao60/fse-cli#readme",
"resolutions": {
"trim-newlines": "3.0.1"
}
}