forked from pablosichert/react-truncate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
117 lines (117 loc) · 3.56 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
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
{
"name": "@nosferatu500/react-truncate",
"version": "3.0.1",
"description": "React component for truncating multi-line spans and adding an ellipsis",
"main": "./index.js",
"types": "./index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./index.d.ts",
"module": "./esm/index.js",
"import": "./esm/index.mjs",
"default": "./index.js"
}
},
"files": [
"**"
],
"sideEffects": false,
"scripts": {
"prebuild": "yarn clean",
"build": "rollup -c",
"clean": "rimraf dist",
"lint": "eslint '*.{js,json}' '{src,test}/**/*.{ts,tsx}'",
"prepublishOnly": "yarn build",
"postbuild": "yarn copy",
"copy": "rimraf dist/tests.d.ts && shx cp -r dist/*.d.ts dist/esm && shx mv dist/* dist && shx cp package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this['lint-staged']=undefined;\"",
"test": "env TS_NODE_PROJECT=\"tsconfig.testing.json\" mocha --require ts-node/register 'test/**/*.js'",
"travis": "yarn lint && yarn compile && yarn test"
},
"repository": {
"type": "git",
"url": "https://github.com/nosferatu500/react-truncate"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/nosferatu500/react-truncate",
"keywords": [
"react",
"truncate",
"ellipsis",
"multiline"
],
"author": "Pablo Sichert <mail@pablosichert.com>",
"contributors": [
"Vitalii Shvetsov"
],
"license": "ISC",
"engines": {
"node": ">=14"
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"bracketSameLine": true,
"tabWidth": 2,
"printWidth": 80
},
"peerDependencies": {
"prop-types": "^15.7.2",
"react": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/helper-module-imports": "^7.16.0",
"@babel/plugin-transform-react-jsx": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@babel/types": "^7.16.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-typescript": "^8.3.0",
"@types/react": "^17.0.36",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"acorn-jsx": "^5.3.2",
"common-tags": "^1.8.2",
"esbuild": "^0.13.15",
"eslint": "^8.3.0",
"eslint-config-airbnb": "^19.0.1",
"eslint-config-airbnb-typescript": "^16.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-sonarjs": "^0.10.0",
"eslint-plugin-unicorn": "^39.0.0",
"jsdom": "^17.0.0",
"json": "^11.0.0",
"mocha": "^9.1.3",
"prettier": "^2.4.1",
"prop-types": "^15.7.2",
"raf": "^3.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.60.1",
"rollup-plugin-esbuild": "^4.7.2",
"shx": "^0.3.3",
"sinon": "^11.1.2",
"ts-node": "^10.4.0",
"tslib": "^2.3.1",
"typescript": "^4.5.2",
"unexpected": "^12.0.3",
"unexpected-dom": "^5.0.1",
"unexpected-react": "^6.0.2",
"unexpected-sinon": "^11.0.1"
}
}