-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.41 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.41 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
{
"name": "truncatestring",
"version": "2.2.0",
"description": "A function to shorten strings with options.",
"main": "dist/truncateString.min.js",
"scripts": {
"test": "nyc --reporter=html mocha",
"lint": "eslint src/truncateString.js",
"compile": "npm run transpile && npm run minify",
"transpile": "babel --presets es2015 src/truncateString.js --out-file dist/truncateString.js",
"minify": "google-closure-compiler-js dist/truncateString.js > dist/truncateString.min.js",
"build": "npm run lint && npm run compile && npm test",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/micjan/truncateString.git"
},
"keywords": [
"truncate",
"shorten",
"cutting",
"string",
"options",
"ellipsis",
"helper",
"function",
"method",
"vanilla js",
"no dependencies",
"independent",
"es6",
"es2015"
],
"author": "Michael Janssen",
"license": "MIT",
"bugs": {
"url": "https://github.com/micjan/truncateString/issues"
},
"homepage": "https://github.com/micjan/truncateString#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-import": "^2.7.0",
"google-closure-compiler-js": "^20170626.0.0",
"mocha": "^3.4.2",
"nyc": "^11.0.3"
}
}