UNPKG

1.57 kBJSONView Raw
1{
2 "name": "isbinaryfile",
3 "description": "Detects if a file is binary in Node.js. Similar to Perl's -B.",
4 "version": "4.0.8",
5 "keywords": [
6 "text",
7 "binary",
8 "encoding",
9 "istext",
10 "is text",
11 "isbinary",
12 "is binary",
13 "is text or binary",
14 "is text or binary file",
15 "isbinaryfile",
16 "is binary file",
17 "istextfile",
18 "is text file"
19 ],
20 "dependencies": {},
21 "devDependencies": {
22 "@types/jest": "^23.3.14",
23 "@types/node": "^10.17.59",
24 "jest": "^25.5.4",
25 "prettier": "^1.19.1",
26 "release-it": "^14.6.1",
27 "ts-jest": "^26.5.5",
28 "tslint": "^5.20.1",
29 "tslint-config-prettier": "^1.18.0",
30 "typescript": "^3.9.9"
31 },
32 "engines": {
33 "node": ">= 8.0.0"
34 },
35 "files": [
36 "lib/**/*"
37 ],
38 "license": "MIT",
39 "main": "lib/index.js",
40 "types": "lib/index.d.ts",
41 "maintainers": [
42 {
43 "name": "Garen J. Torikian",
44 "email": "gjtorikian@gmail.com"
45 }
46 ],
47 "funding": "https://github.com/sponsors/gjtorikian/",
48 "repository": {
49 "type": "git",
50 "url": "https://github.com/gjtorikian/isBinaryFile"
51 },
52 "scripts": {
53 "build": "tsc",
54 "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
55 "lint": "tslint -p tsconfig.json",
56 "prepare": "npm run build",
57 "release": "release-it",
58 "prepublishOnly": "npm test && npm run lint",
59 "preversion": "npm run lint",
60 "version": "npm run format && git add -A src",
61 "postversion": "git push && git push --tags",
62 "test": "jest --config jestconfig.json",
63 "watch": "tsc -w"
64 }
65}