-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.82 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
{
"name": "@shelf/table-of-contents",
"version": "1.3.0",
"description": "Fork of node-toc to reduce bundle size & rewritten in TypeScript",
"license": "MIT",
"author": {
"name": "Vlad Holubiev",
"email": "vlad@shelf.io",
"url": "https://shelf.io"
},
"sideEffects": false,
"type": "module",
"exports": "./lib/index.js",
"module": "./lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "rm -rf lib/ && tsc",
"coverage": "yarn test --coverage",
"lint": "eslint . --ext .js,.ts,.json --fix",
"lint:ci": "eslint . --ext .js,.ts,.json",
"lint:size": "size-limit",
"prepack": "yarn build",
"test": "TZ=UTC jest src",
"test:watch": "TZ=UTC jest src --watch",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"lint-staged": {
"*.{html,md,yml}": [
"prettier --write"
],
"*.{js,ts,json}": [
"eslint --fix"
]
},
"prettier": "@shelf/prettier-config",
"dependencies": {
"entities": "5.0.0",
"lodash-es": "4.17.21",
"slug": "9.1.0"
},
"devDependencies": {
"@shelf/eslint-config": "3.15.1",
"@shelf/prettier-config": "1.0.0",
"@shelf/tsconfig": "0.1.0",
"@size-limit/esbuild-why": "11.1.6",
"@size-limit/preset-small-lib": "11.1.6",
"@swc/core": "1.9.3",
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@types/lodash-es": "4.17.12",
"@types/node": "20.8.9",
"@types/slug": "5.0.9",
"eslint": "8.57.1",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "15.2.10",
"prettier": "3.4.1",
"size-limit": "11.1.6",
"ts-jest-resolver": "2.0.1",
"typescript": "5.7.2"
},
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}