-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 2.24 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
{
"author": "Binh Quan <binhqd@gmail.com>",
"name": "str_shorten",
"main": "dist-modules",
"module": "dist-es6",
"jsnext:main": "dist-es6",
"description": "Shorten string by character length with word boundary supported",
"version": "1.0.17",
"keywords": [
"str_shorten",
"truncate",
"shorten",
"string"
],
"repository": {
"type": "git",
"url": "git@github.com:binhqd/str_shorten.git"
},
"scripts": {
"start": "catalog start docs",
"test": "istanbul cover node_modules/.bin/_mocha -- -- -u exports -R spec ./test/test.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"dist:es6": "del-cli ./dist-es6 && cross-env BABEL_ENV=es6 babel ./src --out-dir ./dist-es6",
"dist:modules": "del-cli ./dist-modules && cross-env BABEL_ENV=modules babel ./src --out-dir ./dist-modules",
"prepublishOnly": "npm run dist:es6 && npm run dist:modules",
"gh-pages": "catalog build docs",
"gh-pages:deploy": "gh-pages -d docs/build",
"preversion": "npm run test",
"postpublish": "npm run gh-pages && npm run gh-pages:deploy"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"catalog": "^3.4.0",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"cross-env": "^5.1.3",
"del-cli": "^1.1.0",
"eslint": "^4.18.2",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"gh-pages": "^1.1.0",
"git-prepush-hook": "^1.0.2",
"istanbul": "^0.4.5",
"mocha": "^5.0.1",
"react": "^16.2.0",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.2.0",
"react-github-corner": "^2.1.0"
},
"jest": {
"collectCoverage": true,
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules",
"packages"
]
},
"pre-push": [
"test"
]
}