forked from dollarshaveclub/shave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.54 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
{
"name": "shave",
"version": "2.5.3",
"description": "Shave is a javascript plugin that truncates multi-line text within a html element based on set max height",
"main": "dist/shave.js",
"module": "dist/shave.es.js",
"unpkg": "dist/shave.min.js",
"files": [
"dist",
"src",
"types"
],
"types": "types/index.d.ts",
"scripts": {
"build": "rollup --config rollup.config.js",
"chore:delete-changelog-branch": "if git show-ref --quiet refs/heads/chore-changelog; then git branch -D chore-changelog; fi",
"chore:branch": "git checkout -b chore-changelog",
"chore:changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s -r 0",
"chore:setup-next-work": "git checkout master && npm run chore:delete-changelog-branch",
"chore:pr": "git add . && git commit -m '[chore] updates changelog' --no-verify && git push origin chore-changelog -f",
"chore:setup-changelog": "git checkout master && git pull",
"chore": "npm run chore:delete-changelog-branch && npm run chore:branch && npm run chore:changelog && npm run chore:pr && npm run chore:setup-next-work",
"eslint": "eslint . --fix",
"eslint:ci": "eslint .",
"postpublish": "git tag $npm_package_version && git push origin --tags && npm run chore",
"prepush": "npm run build && npm test && npm run eslint:ci",
"test": "npm run test:acceptance && npm run test:es-check",
"test:acceptance": "node ./scripts/acceptance.js --coverage",
"test:es-check": "es-check es5 dist/shave.min.js dist/shave.js dist/jquery.shave.js dist/jquery.shave.min.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dollarshaveclub/shave.git"
},
"keywords": [
"ellipsis",
"truncate",
"truncation",
"truncated",
"semantic",
"js",
"content",
"shorten",
"javascript",
"text",
"shave",
"trim"
],
"author": "Jeff Wainwright <yowainwright@gmail.com> (jeffry.in)",
"license": "MIT",
"bugs": {
"url": "https://github.com/dollarshaveclub/shave/issues"
},
"homepage": "https://github.com/dollarshaveclub/shave#readme",
"devDependencies": {
"@babel/core": "^7.0.0-beta.44",
"@babel/preset-env": "^7.0.0-beta.40",
"babel-core": "^7.0.0-bridge.0",
"conventional-changelog-cli": "^2.0.11",
"es-check": "5.0.0",
"eslint": "^5.0.0",
"eslint-config-dollarshaveclub": "^3.1.0",
"husky": "^2.0.0",
"node-qunit-phantomjs": "^2.0.0",
"rollup": "^1.15.1",
"rollup-plugin-babel": "^4.0.0-beta.0",
"rollup-plugin-uglify": "^6.0.1",
"typescript": "^3.0.1"
}
}