-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.51 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
{
"name": "@foxeian/react-read-more",
"version": "1.1.5",
"description": "A React.js package for creating short text with a \"read more\" button to expand the text, built with TypeScript support. This package provides a simple and easy-to-use component for truncating and expanding text with a customizable button.",
"source": "./src/index.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"/dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Foxeian/react-read-more.git"
},
"keywords": [
"reactjs",
"read-more",
"readmore",
"read-less",
"readless",
"nextjs",
"typescript",
"javascript"
],
"author": "Immanuel Ehsan (Foxeian)",
"license": "MIT",
"bugs": {
"url": "https://github.com/Foxeian/react-read-more/issues"
},
"homepage": "https://github.com/Foxeian/react-read-more#readme",
"peerDependencies": {
"react": ">= 17.0.0",
"react-dom": ">= 17.0.0"
},
"devDependencies": {
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/react": "18.0.34",
"@types/react-dom": "18.0.11",
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"concurrently": "^8.2.2",
"eslint": "8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "^5.1.1",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-jest": "^29.1.2",
"typescript": "5.3.3"
},
"overrides": {
"typescript": "5.3.3"
},
"scripts": {
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build:esm:watch": "tsc -w",
"build:cjs:watch": "tsc --module commonjs --outDir dist/cjs -w",
"build:watch": "concurrently \"npm run build:esm:watch\" \"npm run build:cjs:watch\"",
"prepare": "npm run build",
"prepublishOnly": "npm run prettier && npm run lint"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}