mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +02: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"
|
"uglify-js": "^3.6.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "node scripts/build-package.js",
|
||||||
|
"clean": "rm icons/*.js index.js",
|
||||||
"jsonlint": "jsonlint _data/simple-icons.json -q -V .jsonlintschema",
|
"jsonlint": "jsonlint _data/simple-icons.json -q -V .jsonlintschema",
|
||||||
"svglint": "svglint icons/* --ci",
|
"svglint": "svglint icons/* --ci",
|
||||||
"wslint": "editorconfig-checker --ignore",
|
"wslint": "editorconfig-checker --ignore",
|
||||||
"prepublishOnly": "node scripts/prepublish.js",
|
"prepublishOnly": "npm run build",
|
||||||
"postpublish": "rm icons/*.js index.js",
|
"postpublish": "npm run clean",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"pretest": "npm run prepublishOnly",
|
"pretest": "npm run prepublishOnly",
|
||||||
"posttest": "npm run postpublish",
|
"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