-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.41 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.41 KB
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
{
"name": "react-anchorme",
"version": "5.1.0",
"description": "React component to detect links in text and make them clickable",
"repository": "https://github.com/potty/react-anchorme",
"main": "dist/react-anchorme.js",
"module": "dist/react-anchorme.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/react-anchorme.esm.js",
"require": "./dist/react-anchorme.js",
"types": "./dist/index.d.ts"
}
},
"author": "Pavel Potáček <potacek.pavel@gmail.com>",
"license": "MIT",
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist",
"prebuild": "pnpm clean",
"build": "rollup -c",
"lint": "pnpm lint:check --fix && pnpm prettier",
"lint:check": "eslint ./src --ext .tsx,.ts --report-unused-disable-directives",
"prettier": "prettier --write './src/**/*.ts' './src/**/*.tsx'",
"release": "np",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --coverage",
"test:watch": "pnpm test:coverage -- --watchAll",
"prepublishOnly": "pnpm lint && pnpm test && pnpm clean && pnpm build",
"prepare": "husky install"
},
"files": [
"dist",
"README.md"
],
"dependencies": {
"anchorme": "^3.0.8"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18 || ^19"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.3.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^29.5.14",
"@types/node": "^24.12.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^13.3.0",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rollup": "^4.60.0",
"rollup-plugin-sizes": "^1.0.5",
"ts-jest": "^29.4.6",
"tslib": "^2.8.1",
"typescript": "^5.8.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
}