-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.9 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
{
"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": "[email protected]",
"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.defaults": "4.2.0",
"lodash.template": "4.5.0",
"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.7.40",
"@swc/jest": "0.2.36",
"@types/jest": "29.5.14",
"@types/lodash.defaults": "4.2.9",
"@types/lodash.template": "4.5.3",
"@types/node": "20.8.9",
"@types/slug": "5.0.9",
"eslint": "8.57.1",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"size-limit": "11.1.6",
"ts-jest-resolver": "2.0.1",
"typescript": "5.6.3"
},
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}