* Introduces flow types for storage * Better typing of QueryOptions * Adds flow types to SchemaCOntroller, - runs flow on pre tests - fixes flow * Adds ClassLevelPermissions type * Moves Controller types into a single file * Changes import styles * Changes import styles * fixing method setIndexesWithSchemaFormat (#4454) Fixing invalid database code in method `setIndexesWithSchemaFormat`: * It must be a transaction, not a task, as it executes multiple database changes * It should contain the initial queries inside the transaction, providing the context, not outside it; * Replaced the code with the ES6 Generator notation * Removing the use of batch, as the value of the result promise is irrelevant, only success/failure that matters * nits * Fixes tests, improves flow typing
94 lines
2.6 KiB
JSON
94 lines
2.6 KiB
JSON
{
|
|
"name": "parse-server",
|
|
"version": "2.7.1",
|
|
"description": "An express module providing a Parse-compatible API server",
|
|
"main": "lib/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ParsePlatform/parse-server"
|
|
},
|
|
"files": [
|
|
"bin/",
|
|
"lib/",
|
|
"public_html/",
|
|
"views/",
|
|
"LICENSE",
|
|
"PATENTS",
|
|
"README.md"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"dependencies": {
|
|
"@parse/fs-files-adapter": "1.0.1",
|
|
"@parse/push-adapter": "2.0.2",
|
|
"@parse/s3-files-adapter": "1.2.1",
|
|
"@parse/simple-mailgun-adapter": "1.0.1",
|
|
"bcryptjs": "2.4.3",
|
|
"body-parser": "1.18.2",
|
|
"commander": "2.12.1",
|
|
"deepcopy": "0.6.3",
|
|
"express": "4.16.2",
|
|
"intersect": "1.0.1",
|
|
"lodash": "4.17.4",
|
|
"lru-cache": "4.1.1",
|
|
"mime": "2.1.0",
|
|
"mongodb": "3.0.1",
|
|
"multer": "1.3.0",
|
|
"parse": "1.11.0",
|
|
"pg-promise": "7.3.2",
|
|
"redis": "2.8.0",
|
|
"request": "2.83.0",
|
|
"semver": "5.4.1",
|
|
"tv4": "1.3.0",
|
|
"uuid": "^3.1.0",
|
|
"winston": "2.4.0",
|
|
"winston-daily-rotate-file": "1.7.2",
|
|
"ws": "3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "6.26.0",
|
|
"babel-core": "6.26.0",
|
|
"babel-eslint": "^8.0.0",
|
|
"babel-plugin-transform-flow-strip-types": "6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-preset-env": "1.6.1",
|
|
"bcrypt-nodejs": "0.0.3",
|
|
"cross-env": "5.1.3",
|
|
"deep-diff": "0.3.8",
|
|
"eslint": "^4.9.0",
|
|
"eslint-plugin-flowtype": "^2.39.1",
|
|
"flow-bin": "^0.59.0",
|
|
"gaze": "1.1.2",
|
|
"jasmine": "2.8.0",
|
|
"jasmine-spec-reporter": "^4.1.0",
|
|
"mongodb-runner": "3.6.1",
|
|
"nodemon": "1.14.6",
|
|
"nyc": "^11.0.2",
|
|
"request-promise": "4.2.2"
|
|
},
|
|
"scripts": {
|
|
"dev": "npm run build && node bin/dev",
|
|
"lint": "flow && eslint --cache ./",
|
|
"build": "babel src/ -d lib/ --copy-files",
|
|
"pretest": "npm run lint",
|
|
"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"
|
|
},
|
|
"engines": {
|
|
"node": ">=6.11.4"
|
|
},
|
|
"bin": {
|
|
"parse-server": "./bin/parse-server"
|
|
},
|
|
"optionalDependencies": {
|
|
"bcrypt": "1.0.3",
|
|
"uws": "^9.14.0"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/parse-server",
|
|
"logo": "https://opencollective.com/parse-server/logo.txt?reverse=true&variant=binary"
|
|
}
|
|
}
|