-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
138 lines (138 loc) · 4.58 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "react-middle-truncate",
"version": "1.0.3",
"description": "A React component for intelligently truncating text in the middle of the string.",
"author": "Matt Fairbrass <matt@mattfairbrass.com>",
"license": "MIT",
"main": "lib/react-middle-truncate.js",
"module": "src/react-middle-truncate/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/matt-d-rat/react-middle-truncate.git"
},
"bugs": {
"url": "https://github.com/matt-d-rat/react-middle-truncate/issues"
},
"homepage": "https://github.com/matt-d-rat/react-middle-truncate#readme",
"scripts": {
"build:demo": "cross-env webpack --config ./config/webpack.prod.config.js",
"build:dll": "cross-env webpack --config ./config/webpack.dll.config.js",
"build:lib": "cross-env webpack --config ./config/webpack.lib.config.js",
"check": "mongodb-js-precommit \"./src/**/*{.js,.jsx}\"",
"check:staged": "lint-staged",
"clean": "rimraf build && rimraf lib && rimraf demo",
"cover": "cross-env nyc npm run test && nyc report --reporter=lcov",
"predist": "cross-env npm run clean && npm run build:dll",
"dist": "cross-env NODE_ENV=production npm run build:lib",
"postdist": "cross-env NODE_ENV=production npm run build:demo",
"serve": "cross-env NODE_ENV=development node dev-server.js",
"start": "cross-env NODE_ENV=development npm run serve",
"test": "cross-env NODE_ENV=test mocha-webpack \"./src/**/*.spec.js\" --interactive false",
"test:watch": "cross-env NODE_ENV=test mocha-webpack \"./src/**/*.spec.js\" --watch",
"test:karma": "cross-env NODE_ENV=test karma start"
},
"precommit": [
"check:staged"
],
"lint-staged": {
"src/**/*{.js,.jsx}": "mongodb-js-precommit"
},
"dependency-check": {
"ignore": [
"components",
"containers",
"lib"
]
},
"keywords": [
"react",
"truncate",
"truncation",
"text"
],
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"add-asset-html-webpack-plugin": "^2.1.3",
"autoprefixer": "^8.6.2",
"babel-loader": "^8.0.0",
"babel-preset-minify": "^0.4.3",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-enzyme": "^1.0.0-beta.0",
"compression-webpack-plugin": "^1.1.11",
"connect-history-api-fallback": "^1.5.0",
"cross-env": "^5.1.6",
"css-loader": "^3.2.0",
"cssnano": "^4.1.10",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-config-mongodb-js": "^3.0.1",
"eslint-plugin-mocha": "^5.0.0",
"express": "^4.16.3",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"ignore-loader": "^0.1.2",
"inject-loader": "^4.0.1",
"istanbul-instrumenter-loader": "^3.0.1",
"jsdom": "^11.11.0",
"jsdom-global": "^3.0.2",
"karma": "^4.2.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.0-beta.0",
"lint-staged": "^7.1.3",
"mini-css-extract-plugin": "^0.8.0",
"mocha": "^5.2.0",
"mocha-webpack": "^2.0.0-beta.0",
"mongodb-js-precommit": "^2.0.0",
"node-sass": "^4.12.0",
"nyc": "^14.1.1",
"postcss-loader": "^3.0.0",
"pre-commit": "^1.2.2",
"prop-types": "^15.6.1",
"raf": "^3.4.0",
"raw-loader": "^0.5.1",
"react": ">=15.5.4",
"react-addons-test-utils": ">=15.5.4",
"react-dom": ">=15.5.4",
"react-hot-loader": "^4.3.1",
"react-test-renderer": ">=15.5.4",
"redbox-react": "^1.6.0",
"resolve-url-loader": "^2.3.0",
"rimraf": "^2.6.2",
"sass-loader": "^7.0.3",
"sinon": "^5.1.1",
"sinon-chai": "^3.1.0",
"sinon-stub-promise": "^4.0.0",
"style-loader": "^0.21.0",
"url-loader": "^1.0.1",
"webpack": "^4.12.0",
"webpack-cli": "^3.0.3",
"webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.22.2",
"webpack-merge": "^4.1.2",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"classnames": "^2.2.6",
"lodash": "^4.17.15",
"normalize.css": "^8.0.0",
"units-css": "^0.4.0"
},
"peerDependencies": {
"react": ">=15.5.4",
"react-dom": ">=15.5.4"
}
}