forked from lipis/flag-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.17 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
{
"name": "flag-icon-css",
"version": "3.5.0",
"author": "Panayiotis Lipiridis <[email protected]>",
"licenses": [
{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
],
"repository": {
"type": "git",
"url": "http://github.com/lipis/flag-icon-css"
},
"devDependencies": {
"grunt": "1.1.0",
"grunt-contrib-connect": "2.1.0",
"grunt-contrib-cssmin": "3.0.0",
"grunt-contrib-less": "2.0.0",
"grunt-contrib-watch": "1.1.0",
"husky": "4.2.5",
"lint-staged": "10.2.11",
"prettier": "2.0.5",
"svgo": "1.3.2"
},
"lint-staged": {
"*.{json,md,scss,less,yaml,yml}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"scripts": {
"build": "grunt build",
"svgo": "svgo --pretty --indent=2 --precision=1 --config=svgo.yaml",
"svgo:min": "find flags | grep '\\.svg$' | xargs -Iz -n 1 svgo --config=svgo.yaml z",
"svgo:all": "find flags | grep '\\.svg$' | xargs -Iz -n 1 yarn svgo z",
"fix": "yarn prettier --write",
"prettier": "prettier \"**/*.{json,md,scss,less,yaml,yml}\"",
"test": "yarn prettier --list-different"
}
}