-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
67 lines (67 loc) · 2.01 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
{
"name": "rehype-img-size",
"version": "1.0.1",
"description": "rehype plugin to set local image size properties to img tag",
"license": "MIT",
"keywords": [
"rehype",
"rehype-plugin",
"image",
"size",
"html"
],
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"type": "module",
"repository": "ksoichiro/rehype-img-size",
"bugs": "https://github.com/ksoichiro/rehype-img-size/issues",
"author": {
"name": "Soichiro Kashima",
"email": "soichiro.kashima@gmail.com",
"url": "https://github.com/ksoichiro"
},
"main": "cjs/index.cjs",
"exports": {
"import": "./index.js",
"require": "./cjs/index.cjs"
},
"types": "./index.d.ts",
"files": [
"index.js",
"index.d.ts",
"cjs/index.cjs"
],
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"jest": "^27.3.1",
"rehype-stringify": "^9.0.2",
"remark-parse": "^10.0.0",
"remark-rehype": "^10.0.1",
"rollup": "^2.64.0",
"to-vfile": "^7.2.2",
"unified": "^10.1.0",
"vfile-reporter": "^6.0.2"
},
"dependencies": {
"image-size": "^1.0.0",
"unist-util-visit": "^4.1.0"
},
"scripts": {
"build:example": "(cd examples/cjs && npm i); (cd examples/esm && npm i); (cd examples/ts && npm i)",
"pretest": "(npm run build) && (cd examples/cjs && npm run build --if-present); (cd examples/esm && npm run build --if-present); (cd examples/ts && npm run build --if-present)",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"build": "rollup --config --file cjs/index.cjs"
},
"jest": {
"collectCoverageFrom": [
"*.js"
],
"transform": {},
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/cjs"
]
}
}