forked from patrik-piskay/react-truncate-markup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.14 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
{
"name": "react-truncate-markup",
"version": "3.0.1",
"description": "React component for truncating JSX markup",
"main": "lib/index.js",
"jsnext:main": "es/index.js",
"types": "index.d.ts",
"module": "es/index.js",
"files": [
"es",
"lib",
"umd",
"index.d.ts"
],
"keywords": [
"react",
"truncate",
"markup",
"jsx",
"ellipsis"
],
"repository": {
"type": "git",
"url": "https://github.com/parsable/react-truncate-markup.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"git add"
]
},
"scripts": {
"precommit": "lint-staged",
"start": "nwb serve-react-demo",
"build": "nwb build-react-component",
"clean": "nwb clean-module && nwb clean-demo",
"test": "yarn lint && yarn browser-test && yarn screenshot-test",
"test:ci": "yarn lint && yarn browser-test && docker run -t react-truncate-markup",
"lint": "eslint src/**/*.js demo/src/*.js",
"browser-test": "yarn nwb test",
"screenshot-test": "docker build -t react-truncate-markup . && docker run -t -v ${PWD}:/app -v /app/node_modules -v /app/__tests__/app/node_modules react-truncate-markup",
"release": "release-it"
},
"peerDependencies": {
"prop-types": ">=15",
"react": ">=15"
},
"devDependencies": {
"babel-eslint": "8.0.1",
"eslint": "4.9.0",
"eslint-config-airbnb": "16.0.0",
"eslint-config-prettier": "2.6.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.4.0",
"expect": "^23.6.0",
"husky": "0.14.3",
"jest": "^23.6.0",
"lint-staged": "4.2.3",
"nwb": "0.19.0",
"polyserve": "^0.27.12",
"prettier": "1.7.4",
"prismjs": "1.8.1",
"prop-types": "15.6.0",
"puppeteer": "^1.5.0",
"puppeteer-screenshot-tester": "^1.0.4",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-resizable": "1.7.5",
"release-it": "3.1.2"
},
"dependencies": {
"line-height": "0.3.1",
"resize-observer-polyfill": "1.5.0"
},
"author": "Patrik Piskay",
"license": "Apache-2.0"
}