Check for node version in postinstall script (#4657)
Added open collective as a bonus. I notice a lot of user still fork parse-server-example. They then update to the latest version but their engines.node in package.json stays the same. This will output directions to support latest version.
This commit is contained in:
@@ -73,7 +73,8 @@
|
||||
"test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine",
|
||||
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 nyc jasmine",
|
||||
"start": "node ./bin/parse-server",
|
||||
"prepublish": "npm run build"
|
||||
"prepublish": "npm run build",
|
||||
"postinstall": "node -p 'require(\"./postinstall.js\")()'"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.11.4"
|
||||
|
||||
Reference in New Issue
Block a user