forked from potty/react-anchorme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.13 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
{
"name": "react-anchorme",
"version": "2.1.1",
"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",
"author": "Pavel Potáček <potacek.pavel@gmail.com>",
"license": "MIT",
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist",
"prebuild": "yarn clean",
"build": "rollup -c",
"lint": "yarn lint:check --fix && yarn 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": "yarn test:coverage -- --watchAll",
"prepublishOnly": "yarn lint && yarn test && yarn clean && yarn build"
},
"files": [
"dist",
"README.md"
],
"dependencies": {
"anchorme": "^2.1.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^11.0.2",
"@types/jest": "^26.0.13",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"eslint": "^7.0.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.2.0",
"np": "^6.2.3",
"prettier": "^2.0.5",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rollup": "^2.7.5",
"rollup-plugin-sizes": "^1.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
}
}