mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 09:54:11 +03:00
Add a "build" and "clean" NPM script (#1548)
This commit is contained in:
parent
1978e05c5d
commit
11cdbd7073
@ -26,11 +26,13 @@
|
||||
"uglify-js": "^3.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node scripts/build-package.js",
|
||||
"clean": "rm icons/*.js index.js",
|
||||
"jsonlint": "jsonlint _data/simple-icons.json -q -V .jsonlintschema",
|
||||
"svglint": "svglint icons/* --ci",
|
||||
"wslint": "editorconfig-checker --ignore",
|
||||
"prepublishOnly": "node scripts/prepublish.js",
|
||||
"postpublish": "rm icons/*.js index.js",
|
||||
"prepublishOnly": "npm run build",
|
||||
"postpublish": "npm run clean",
|
||||
"test": "jest",
|
||||
"pretest": "npm run prepublishOnly",
|
||||
"posttest": "npm run postpublish",
|
||||
|
0
scripts/prepublish.js → scripts/build-package.js
Executable file → Normal file
0
scripts/prepublish.js → scripts/build-package.js
Executable file → Normal file
Loading…
Reference in New Issue
Block a user