-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 3.21 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 3.21 KB
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
{
"name": "npm-script-selector",
"version": "1.4.0",
"description": "The NPM Script Selector is a CLI tool for discovering and running project scripts within package.json files.",
"author": {
"name": "Justin L. Sunday",
"email": "[email protected]",
"url": "https://jlsunday.com"
},
"homepage": "https://jlsunday.com/npm-script-selector/",
"repository": {
"type": "git",
"url": "git+https://github.com/sundayj/npm-script-selector.git"
},
"bugs": "https://github.com/sundayj/npm-script-selector/issues",
"license": "MIT",
"keywords": [
"typescript",
"npm",
"package",
"utility",
"scripts",
"script runner",
"dev tool",
"tool"
],
"main": "app.js",
"scripts": {
"build": "tsc",
"test": "jasmine",
"start": "node ./dist/app.js -h",
"devstart": "npm run build && node ./dist/app.js -h",
"devStartWithFile": "npm run build && node ./dist/app.js -f C:\\Users\\justi\\npm-script-selector\\package.json",
"devstartHideBanner": "npm run build && node ./dist/app.js -f C:\\Users\\justi\\npm-script-selector\\package.json -hb",
"devstartNewBanner": "npm run build && node ./dist/app.js -f C:\\Users\\justi\\npm-script-selector\\package.json -b \"Test Banner\" -bf \"Small\""
},
"bin": {
"npmss": "dist/app.js",
"npm-script-selector": "dist/app.js"
},
"config": {
"scriptName": "npmss",
"cliOptions": {
"file": {
"option": "-f, --file <value>",
"description": "Path to the package.json."
},
"banner": {
"option": "-b, --banner <value>",
"description": "Value for the title to be displayed to the user. (Replaces the NPM-Script-Selector banner.)"
},
"hideBanner": {
"option": "-hb, --hide-banner",
"description": "Use this flag if you'd like to not display a banner at all."
},
"bannerFont": {
"option": "-bf, --banner-font <value>",
"description": "Pass the name of a font listed at the following url to print the banner in the desired font. https://github.com/DefinitelyTyped/DefinitelyTyped/blob/53d91777b0daa1b5b6b0beac63ab0b25126b7b13/types/figlet/index.d.ts#L2"
}
},
"errorMessages": {
"filePathArgMissing": "Please provide a path to the package.json file using the -f or --file option.",
"fileNotFound": "File not found at:",
"noScriptsFound": "No \"scripts\" section found in the package.json file. Did you provide the right package path?",
"errorParsingJson": "Error reading or parsing JSON file:",
"noPackageJsonFound": "No package.json found in the current directory or any parent directories.",
"useNpmssCommand": "Please use 'npmss' instead of 'npm-script-selector' to run this tool."
}
},
"dependencies": {
"@inquirer/confirm": "^2.0.14",
"@inquirer/prompts": "^3.2.0",
"commander": "^11.1.0",
"figlet": "^1.6.0",
"inquirer-autocomplete-standalone": "^0.8.1",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@types/figlet": "^1.5.7",
"@types/inquirer-autocomplete-prompt": "^3.0.3",
"@types/jasmine": "^5.1.1",
"@types/node": "^20.8.7",
"jasmine": "^5.1.0",
"nyc": "^15.1.0",
"typescript": "^5.2.2"
}
}