-
Notifications
You must be signed in to change notification settings - Fork 146
/
package.json
222 lines (222 loc) · 5.95 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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"name": "gluegun",
"version": "5.2.0",
"description": "A delightful toolkit for building Node-powered CLIs.",
"repository": "infinitered/gluegun",
"bin": {
"gluegun": "bin/gluegun"
},
"main": "build/index.js",
"types": "build/types/index.d.ts",
"scripts": {
"format": "prettier --write \"{**/*.ts,**/*.js,.circleci/**/*.js}\" --loglevel error && eslint . --fix",
"clean-build": "rimraf ./build && node ./.circleci/removeDirect.js",
"compile": "tsc -p .",
"copy-templates": "cp -a ./src/cli/templates ./build/cli/",
"create-direct": "node ./.circleci/createDirect.js",
"clean-types": "node .circleci/cleanDir.js ./build/types",
"build": "yarn format && yarn clean-build && yarn compile && yarn copy-templates && yarn create-direct && yarn clean-types && echo 'Run yarn clean-build to remove build artifacts.'",
"lint": "eslint .",
"integration": "yarn build && jest --config=./.circleci/jest-integration.config.json",
"test": "jest",
"watch": "jest --watch",
"snapupdate": "jest --updateSnapshot",
"windows:test": "yarn && yarn format && yarn test && yarn clean-build && yarn compile && yarn copy-templates && jest --config=./.circleci/jest-integration.config.json",
"ci:test": "yarn lint && yarn test --maxWorkers=2 && yarn integration",
"ci:publish": "yarn build && yarn semantic-release",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"author": {
"name": "Infinite Red, Inc.",
"email": "[email protected]",
"url": "https://github.com/infinitered/gluegun"
},
"files": [
"docs",
"bin",
"build",
"sniff.js",
"sniff-async.js",
"toolbox.js",
"filesystem.js",
"strings.js",
"print.js",
"system.js",
"semver.js",
"http.js",
"patching.js",
"prompt.js",
"LICENSE",
"readme.md"
],
"license": "MIT",
"dependencies": {
"apisauce": "^2.1.5",
"app-module-path": "^2.2.0",
"cli-table3": "0.6.0",
"colors": "1.4.0",
"cosmiconfig": "7.0.1",
"cross-spawn": "7.0.3",
"ejs": "3.1.8",
"enquirer": "2.3.6",
"execa": "5.1.1",
"fs-jetpack": "4.3.1",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
"lodash.lowercase": "^4.3.0",
"lodash.lowerfirst": "^4.3.1",
"lodash.pad": "^4.5.1",
"lodash.padend": "^4.6.1",
"lodash.padstart": "^4.6.1",
"lodash.repeat": "^4.1.0",
"lodash.snakecase": "^4.1.1",
"lodash.startcase": "^4.4.0",
"lodash.trim": "^4.5.1",
"lodash.trimend": "^4.5.1",
"lodash.trimstart": "^4.5.1",
"lodash.uppercase": "^4.3.0",
"lodash.upperfirst": "^4.3.1",
"ora": "4.0.2",
"pluralize": "^8.0.0",
"semver": "7.3.5",
"which": "2.0.2",
"yargs-parser": "^21.0.0"
},
"devDependencies": {
"@semantic-release/git": "10.0.1",
"@types/cli-table2": "0.2.3",
"@types/jest": "27.4.0",
"@types/node": "16.11.12",
"@types/pluralize": "0.0.29",
"@types/sinon": "10.0.6",
"@typescript-eslint/eslint-plugin": "5.6.0",
"@typescript-eslint/parser": "5.6.0",
"cpy-cli": "3.1.1",
"eslint": "8.4.1",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "25.3.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.2.0",
"eslint-plugin-standard": "5.0.0",
"expect": "27.4.2",
"husky": "^7.0.0",
"jest": "27.4.7",
"jest-mock": "27.4.6",
"lint-staged": "12.1.2",
"mock-stdin": "1.0.0",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"semantic-release": "18.0.1",
"sinon": "12.0.1",
"strip-ansi": "6.0.1",
"temp-write": "4.0.0",
"ts-jest": "^27.1.3",
"ts-node": "^10.9.1",
"typescript": "4.5.2",
"unique-temp-dir": "1.0.0"
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "(\\.|/)(test)\\.ts$",
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"jest"
],
"env": {
"node": true,
"es6": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"eslint-config-standard",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"node/no-path-concat": 0,
"no-use-before-define": 0
},
"overrides": [
{
"files": [
"sniff.js",
"./src/fixtures/**/*.js"
],
"rules": {
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-empty-function": 0,
"no-empty": 0
}
}
]
},
"eslintIgnore": [
"build"
],
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.md": [
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": "package.json",
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}