forked from nzambello/ellipsed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 969 Bytes
/
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
{
"name": "ellipsed",
"version": "1.4.1",
"description": "A JavaScript library for multilined text ellipsis",
"license": "MIT",
"homepage": "https://nzambello.github.io/ellipsed/",
"repository": {
"type": "git",
"url": "https://github.com/nzambello/ellipsed"
},
"main": "lib/ellipsed.js",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"husky": "^3.0.5",
"lint-staged": "^9.3.0",
"prettier": "^1.18.2",
"serve": "^11.1.0"
},
"scripts": {
"build": "babel src -d lib && yarn prettier-all",
"watch": "babel src -d lib --watch",
"start": "serve . -p 3000 -o",
"prettier-all": "prettier --write '**/*.{js,json,css}'",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,json,css}": [
"prettier --write",
"git add"
]
}
}