/
package.json
261 lines (261 loc) · 7.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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
{
"_from": "istextorbinary@^3.0.0",
"_id": "istextorbinary@3.3.0",
"_inBundle": false,
"_integrity": "sha512-Tvq1W6NAcZeJ8op+Hq7tdZ434rqnMx4CCZ7H0ff83uEloDvVbqAwaMTZcafKGJT0VHkYzuXUiCY4hlXQg6WfoQ==",
"_location": "/istextorbinary",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "istextorbinary@^3.0.0",
"name": "istextorbinary",
"escapedName": "istextorbinary",
"rawSpec": "^3.0.0",
"saveSpec": null,
"fetchSpec": "^3.0.0"
},
"_requiredBy": [
"/gulp-replace"
],
"_resolved": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-3.3.0.tgz",
"_shasum": "06b1c57d948da11461bd237c00ce09e9902964f2",
"_spec": "istextorbinary@^3.0.0",
"_where": "/Users/jyothish/Documents/corona-free-dark-bootstrap-admin-template/template/node_modules/gulp-replace",
"author": {
"name": "2012+ Bevry Pty Ltd",
"email": "us@bevry.me",
"url": "http://bevry.me"
},
"babel": {
"env": {
"edition-browsers": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": "defaults",
"modules": false
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
}
}
},
"badges": {
"list": [
"travisci",
"npmversion",
"npmdownloads",
"daviddm",
"daviddmdev",
"---",
"githubsponsors",
"patreon",
"flattr",
"liberapay",
"buymeacoffee",
"opencollective",
"crypto",
"paypal",
"wishlist"
],
"config": {
"githubSponsorsUsername": "balupton",
"buymeacoffeeUsername": "balupton",
"cryptoURL": "https://bevry.me/crypto",
"flattrUsername": "balupton",
"liberapayUsername": "bevry",
"opencollectiveUsername": "bevry",
"patreonUsername": "bevry",
"paypalURL": "https://bevry.me/paypal",
"wishlistURL": "https://bevry.me/wishlist",
"travisTLD": "com"
}
},
"browser": "edition-browsers/index.js",
"bugs": {
"url": "https://github.com/bevry/istextorbinary/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Benjamin Lupton",
"email": "b@lupton.cc",
"url": "http://balupton.com"
},
{
"name": "Shinnosuke Watanabe",
"email": "snnskwtnb@gmail.com",
"url": "http://shinnn.github.io"
},
{
"name": "Ian Sibner",
"email": "sibnerian@gmail.com",
"url": "http://www.sibnerian.com/"
},
{
"name": "Sean",
"email": "sean@albinodrought.com",
"url": "http://albinodrought.com/"
},
{
"name": "dependabot[bot]",
"url": "http://github.com/apps/dependabot"
},
{
"name": "shinnn",
"url": "http://qiita.com/shinnn"
},
{
"name": "dependabot-preview[bot]",
"url": "http://github.com/apps/dependabot-preview"
}
],
"dependencies": {
"binaryextensions": "^2.2.0",
"textextensions": "^3.2.0"
},
"deprecated": false,
"description": "Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.",
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"assert-helpers": "^5.8.0",
"eslint": "^6.7.2",
"eslint-config-bevry": "^2.3.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.1",
"jsdoc": "^3.6.3",
"kava": "^4.3.0",
"minami": "^1.2.3",
"prettier": "^1.19.1",
"projectz": "^1.15.0",
"surge": "^0.21.3",
"valid-directory": "^1.5.0"
},
"editions": [
{
"description": "esnext source code with require for modules",
"directory": "source",
"entry": "index.js",
"tags": [
"javascript",
"esnext",
"require"
],
"engines": {
"node": "8 || 10 || 12",
"browsers": false
}
},
{
"description": "esnext compiled for browsers with require for modules",
"directory": "edition-browsers",
"entry": "index.js",
"tags": [
"javascript",
"require"
],
"engines": {
"node": false,
"browsers": "defaults"
}
}
],
"engines": {
"node": ">=8"
},
"eslintConfig": {
"extends": [
"bevry"
]
},
"funding": "https://bevry.me/fund",
"homepage": "https://github.com/bevry/istextorbinary",
"keywords": [
"bin",
"binary",
"check",
"detect",
"encoding",
"ext",
"extension",
"extensions",
"file",
"is binary file",
"is binary",
"is text file",
"is text or binary file",
"is text or binary",
"is text",
"is",
"isbinary",
"isbinaryfile",
"istext",
"istextfile",
"path",
"text"
],
"license": "MIT",
"main": "source/index.js",
"maintainers": [
{
"name": "Benjamin Lupton",
"email": "b@lupton.cc",
"url": "http://balupton.com"
},
{
"name": "Rob Loach",
"email": "robloach@gmail.com",
"url": "https://github.com/robloach"
},
{
"name": "Michael Mooring",
"email": "mike@mdm.cc",
"url": "https://github.com/mikeumus"
}
],
"name": "istextorbinary",
"prettier": {
"semi": false,
"singleQuote": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/bevry/istextorbinary.git"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:edition-browsers",
"our:compile:edition-browsers": "env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:docs && npm run our:meta:projectz",
"our:meta:docs": "npm run our:meta:docs:jsdoc",
"our:meta:docs:jsdoc": "rm -Rf ./docs && jsdoc --recurse --pedantic --access all --destination ./docs --package ./package.json --readme ./README.md --template ./node_modules/minami ./source && mv ./docs/$npm_package_name/$npm_package_version/* ./docs/ && rm -Rf ./docs/$npm_package_name/$npm_package_version",
"our:meta:projectz": "projectz compile",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",
"our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
"our:release:check-dirty": "git diff --exit-code",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:push": "git push origin master && git push origin --tags",
"our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"",
"our:setup": "npm run our:setup:install",
"our:setup:install": "npm install",
"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier",
"our:verify:directory": "npx valid-directory",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:prettier": "prettier --write ./source/**",
"test": "node ./source/test.js"
},
"title": "Is Text or Binary?",
"type": "commonjs",
"version": "3.3.0"
}