-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.89 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
{
"name": "rehype-all-the-thumbs-curate",
"version": "0.4.3",
"description": "Supporting rehype-all-the-thumbs by finding elements to be processed",
"files": [
"src/",
"dist/",
"typings/"
],
"main": "dist/umd/index.js",
"types": "src/index.ts",
"scripts": {
"test": "npm run 'build:tsc'; tape tests/**/*.test.js",
"tests": "rm -f src/index.js; ts-node tests/index.test.js",
"removeBuild": "rm -f src/index.js",
"test:NYC": "nyc --branches=75 --functions=75 --lines=90 --statements=80 npm run tests | tap-nyc ",
"test:lcov": "nyc --branches=75 --functions=75 --lines=90 --statements=80 --reporter=lcovonly npm run tests",
"test:clover": "nyc --branches=75 --functions=75 --lines=90 --statements=80 --reporter=clover npm run tests",
"genDocs": "typedoc src/index.ts",
"openDocs": "open docs/index.html",
"cp-dts": "npm run cp-dts-umd; npm run cp-dts-cjs; npm run cp-dts-dist",
"cp-dts-umd": "cp src/index.d.ts dist/umd/index.d.ts",
"cp-dts-cjs": "cp src/index.d.ts dist/cjs/index.d.ts",
"cp-dts-dist": "cp src/index.d.ts dist/index.d.ts",
"coverage": "nyc report --reporter=text-lcov | codecov --pipe",
"lint": "eslint src/index.ts",
"lint:fix": "eslint --fix src/index.ts",
"build": "npm run build:esb",
"build:tsc": "tsc",
"build:esb": "npm run esbuild",
"esbuild": "mkdir -p dist/umd ; mkdir -p dist/cjs ; npm run esbuild:umd ; npm run esbuild:cjs ; npm run esbuild:min",
"esbuild:umd": "esbuild src/index.ts --bundle --platform=node --target=node10 > dist/umd/index.js",
"esbuild:cjs": "esbuild src/index.ts --platform=node --target=node10 > dist/cjs/index.cjs",
"esbuild:min": "esbuild src/index.ts --bundle --platform=node --target=node10 --minify > dist/index.min.js"
},
"dependencies": {
"hast-util-select": "^4.0.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/mustache": "^4.0.1",
"@types/sharp": "^0.26.0",
"@types/vfile": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"codecov": "^3.8.0",
"esbuild": "^0.8.0",
"eslint": "^7.20.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"husky": "^4.3.0",
"json-diff": "^0.5.4",
"lodash.get": "^4.4.2",
"np": "^7.0.0",
"nyc": "^15.0.0",
"rehype-format": "^3.1.0",
"rehype-parse": "^7.0.1",
"rehype-stringify": "^8.0.0",
"tap-nyc": "^1.0.3",
"tape": "^5.0.1",
"tape-promise": "^4.0.0",
"ts-node": "^9.1.1",
"typedoc": "^0.20.28",
"typescript": "^4.2.2",
"unified": "^9.2.0",
"vfile": "^4.2.0",
"vfile-reporter": "^6.0.1",
"vfile-reporter-pretty": "^5.0.0"
},
"author": {
"name": "Eric D Moore",
"url": "https://im.ericdmoore.com"
},
"license": "MIT",
"homepage": "https://github.com/ericdmoore/rehype-all-the-thumbs-curate#readme",
"bugs": {
"url": "https://github.com/ericdmoore/rehype-all-the-thumbs-curate/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/ericdmoore/rehype-all-the-thumbs-curate.git"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:fix; npm test",
"pre-push": "npm run lint:fix ; npm test; npm run cp-dts"
}
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 90
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"directories": {
"lib": "src",
"doc": "docs",
"test": "tests"
},
"keywords": [
"unified",
"unifiedjs",
"rehype",
"rehypejs",
"rehype-plugin",
"plugin",
"thumbnails",
"picture",
"responsive",
"images",
"html",
"tree"
]
}