-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
96 lines (96 loc) · 2.49 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
{
"name": "react-truncate-string",
"version": "1.3.0",
"description": "",
"main": "dist/truncateString.js",
"source": "src/truncateString.js",
"size-limit": [
{
"limit": "5 KB",
"path": "dist/truncateString.js"
}
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"size": "size-limit",
"prepare": "npm run build",
"test": "jest",
"test:updateSnapshots": "jest --updateSnapshot"
},
"author": "Albino Tonnina <[email protected]> (http://www.albinotonnina.com)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/albinotonnina/react-truncate-string.git"
},
"keywords": [
"react",
"react-dom",
"ui",
"react-component",
"stack",
"truncation"
],
"peerDependencies": {
"react": ">=0.13.x <=16.x.x",
"react-dom": ">=0.13.x <=16.x.x"
},
"dependencies": {
"throttle-debounce": "^2.0.1"
},
"files": [
"dist",
"src"
],
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.6",
"babel-loader": "^7.1.5",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^22.4.3",
"jest-enzyme": "^6.0.3",
"jest-puppeteer-react": "^1.4.0",
"prop-types": "^15.6.1",
"puppeteer": "^1.7.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-testing-library": "^5.0.0",
"rollup": "^0.57.0",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^3.2.0",
"rollup-plugin-uglify": "^3.0.0",
"size-limit": "^0.17.0",
"webpack": "^4.17.1"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/test-lib/setup/setup-test-framework.js",
"setupFiles": [
"<rootDir>/test-lib/setup/enzyme.js"
],
"preset": "jest-puppeteer-react",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"./src/__tests__/",
"./test-lib/"
],
"transform": {
"^.+\\.js?$": "babel-jest"
}
}
}