forked from lipis/flag-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.01 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
{
"name": "flag-icons",
"version": "6.1.1",
"author": "Panayiotis Lipiridis <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/lipis/flag-icons"
},
"files": [
"css",
"flags",
"less",
"sass",
"country.json"
],
"devDependencies": {
"http-server": "14.1.0",
"less": "4.1.2",
"prettier": "2.5.1",
"svgo": "2.8.0"
},
"scripts": {
"build": "yarn build:dev && yarn build:min",
"build:dev": "lessc less/flag-icons.less > css/flag-icons.css",
"build:min": "lessc -x less/flag-icons.less > css/flag-icons.min.css",
"start": "http-server -a localhost -p 8000",
"svgo": "svgo --pretty --indent=2 --precision=1",
"svgo:min": "find flags | grep '\\.svg$' | xargs -Iz -n 1 svgo z",
"svgo:all": "find flags | grep '\\.svg$' | xargs -Iz -n 1 yarn svgo z",
"fix": "yarn prettier --write",
"prettier": "prettier \"**/*.{html,json,md,scss,less,yaml,yml}\"",
"test": "yarn prettier --list-different"
}
}