0
0
mirror of https://github.com/lipis/flag-icons.git synced 2024-11-22 19:47:45 +01:00
flags/package.json
Panayiotis Lipiridis 841feee1db 6.0.0
2021-12-28 15:09:39 +02:00

36 lines
1.0 KiB
JSON

{
"name": "flag-icons",
"version": "6.0.0",
"author": "Panayiotis Lipiridis <lipiridis@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/lipis/flag-icons"
},
"files": [
"css",
"flags",
"less",
"sass",
"country.json"
],
"devDependencies": {
"http-server": "14.0.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"
}
}