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