-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.55 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 4.55 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "react-simple-clamp",
"version": "1.2.1",
"description": "React clamping component, supporting both text and html inline content.",
"main": "dist/index.js",
"module": "dist/index.es.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=16",
"npm": ">=8"
},
"repository": "https://github.com/AlbertAZ1992/react-simple-clamp.git",
"author": {
"name": "AlbertAZ1992",
"url": "https://github.com/AlbertAZ1992",
"email": "ziyuximing@163.com"
},
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"html-react-parser": "^1.4.14"
},
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/plugin-transform-typescript": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^17.0.3",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-sucrase": "^3.1.0",
"@size-limit/preset-big-lib": "^8.0.1",
"@testing-library/dom": "^8.16.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.2",
"@types/jest": "^27.0.3",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^3.7.1",
"conventional-changelog-cli": "^2.0.34",
"eslint": "^7.5.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.4",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-unicorn": "^21.0.0",
"husky": "^8.0.1",
"jest": "^27.4.3",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.23.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-progress": "^1.1.2",
"rollup-plugin-serve": "^2.0.0",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"size-limit": "^8.0.1",
"standard-version": "^9.5.0",
"stylelint": "^14.10.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^20.0.0",
"ts-jest": "^27.1.1",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
},
"scripts": {
"commit": "git-cz",
"lint": "npm run eslint && npm run stylelint",
"lint:fix": "npm run eslint:fix && npm run stylelint:fix",
"eslint": "eslint . --ext .js,.jsx,.tsx,.ts",
"eslint:fix": "eslint . --ext .js,.jsx,.tsx,.ts --fix",
"stylelint": "stylelint \"**/*.{css,scss,sass}\" --allow-empty-input",
"stylelint:fix": "stylelint \"**/*.{css,scss,sass}\" --fix --allow-empty-input",
"size-limit": "size-limit",
"dev": "npm run build && rollup -w -c ./scripts/dev.js",
"build": "npm run clean && rollup -c ./scripts/rollup.config.js",
"clean": "rimraf dist",
"clean-typings": "node ./scripts/cleanTypings.js",
"prepare": "husky install",
"prerelease": "npm run lint:fix && npm run test:coverage && npm run build",
"release": "standard-version",
"release-patch": "npm run release -- --release-as patch",
"release-minor": "npm run release -- --release-as minor",
"release-major": "npm run release -- --release-as major",
"push": "git push --follow-tags origin master && npm publish",
"prepublishOnly": "npm run build",
"postpublish": "npm run clean",
"tsc": "tsc",
"test": "jest --passWithNoTests",
"test:coverage": "jest --coverage --forceExit --colors --passWithNoTests"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"bugs": {
"url": "https://github.com/AlbertAZ1992/react-simple-clamp/issues"
},
"homepage": "https://github.com/AlbertAZ1992/react-simple-clamp#readme",
"keywords": [
"clamp",
"clamping",
"clamp text",
"clamp html",
"inline html clamp",
"react clamp",
"clamp lines",
"react clamp lines",
"react clamping component",
"react ellipsis"
]
}