mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 05:36:18 +01:00
Remove install script, building from source is now opt-in
The vast majority of people don't need this. Package managers are (correctly) starting to block install scripts by default, so this change should reduce install-time warnings.
This commit is contained in:
@@ -93,8 +93,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node install/build.js",
|
||||
"install": "node install/check.js || npm run build",
|
||||
"clean": "rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*",
|
||||
"clean": "rm -rf src/build/ test/fixtures/output.*",
|
||||
"test": "npm run lint && npm run test-unit",
|
||||
"lint": "npm run lint-cpp && npm run lint-js && npm run lint-types",
|
||||
"lint-cpp": "cpplint --quiet src/*.h src/*.cc",
|
||||
|
||||
Reference in New Issue
Block a user