-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.66 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
{
"name": "img-src-placeholder",
"version": "1.1.2",
"description": "Replace src=# in <img> tags with a data URL of a transparent 1 pixel image (CLI for package.json scripts)",
"license": "MIT",
"type": "module",
"module": "dist/img-src-placeholder.js",
"types": "dist/img-src-placeholder.d.ts",
"exports": "./dist/img-src-placeholder.js",
"files": [
"dist"
],
"bin": {
"img-src-placeholder": "bin/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/img-src-placeholder.git"
},
"homepage": "https://github.com/center-key/img-src-placeholder",
"bugs": "https://github.com/center-key/img-src-placeholder/issues",
"docs": "https://github.com/center-key/img-src-placeholder#readme",
"author": "Center Key (https://centerkey.com)",
"keywords": [
"base64",
"cli",
"data-url",
"html",
"img",
"placeholder",
"src"
],
"jshintConfig": {
"esversion": 11,
"strict": "implied",
"eqeqeq": true,
"undef": true,
"unused": true,
"varstmt": true,
"node": true,
"mocha": true
},
"eslintConfig": {
"ignorePatterns": [
"build",
"dist",
"node_modules"
],
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
},
"runScriptsConfig": {
"clean": [
"rimraf build dist spec/fixtures/target"
],
"lint": [
"jshint . --exclude-path .gitignore",
"eslint --max-warnings 0 . --ext .ts"
],
"build": [
"tsc",
"add-dist-header build dist"
]
},
"scripts": {
"pretest": "run-scripts clean lint build",
"test": "mocha spec/*.spec.js",
"posttest": "html-validator spec/fixtures"
},
"dependencies": {
"chalk": "~5.3",
"cli-argv-util": "~1.2",
"fancy-log": "~2.0",
"istextorbinary": "~9.5",
"replacer-util": "~1.3",
"slash": "~5.1"
},
"devDependencies": {
"@eslint/js": "~9.3",
"@types/fancy-log": "~2.0",
"@types/node": "~20.12",
"add-dist-header": "~1.4",
"assert-deep-strict-equal": "~1.2",
"copy-file-util": "~1.2",
"eslint": "8.57.0",
"jshint": "~2.13",
"mocha": "~10.4",
"rimraf": "~5.0",
"run-scripts-util": "~1.2",
"typescript": "~5.4",
"typescript-eslint": "~7.11",
"w3c-html-validator": "~1.8"
}
}