# [5.0.0](https://github.com/parse-community/parse-server/compare/4.5.0...5.0.0) (2022-03-14) ### Bug Fixes * add deprecation warning for `Parse.Cloud.httpRequest` ([#7595](https://github.com/parse-community/parse-server/issues/7595)) ([ab1dddd](ab1dddd406)) * add support for descending sorting of full text search ([#7496](https://github.com/parse-community/parse-server/issues/7496)) ([8ed9442](8ed94421e6)) * allow LiveQuery on Parse.Session ([#7554](https://github.com/parse-community/parse-server/issues/7554)) ([caee281](caee281bc5)) * combined `and` query with relational query condition returns incorrect results ([#7593](https://github.com/parse-community/parse-server/issues/7593)) ([174886e](174886e385)) * empty file tags cause upload error for some providers ([#7300](https://github.com/parse-community/parse-server/issues/7300)) ([4d16702](4d167026ae)) * **Logger:** Handle interpolating stdout ([#7114](https://github.com/parse-community/parse-server/issues/7114)) ([1ede078](1ede078154)) * improve security by deprecating creating users with public access by default ([#7319](https://github.com/parse-community/parse-server/issues/7319)) ([484c2e8](484c2e81ca)) * node engine range has no upper limit to exclude incompatible node versions ([#7693](https://github.com/parse-community/parse-server/issues/7693)) ([6a54dac](6a54dac24d)) * package.json & package-lock.json to reduce vulnerabilities ([#7112](https://github.com/parse-community/parse-server/issues/7112)) ([7b8d8dd](7b8d8ddbb0)) * package.json & package-lock.json to reduce vulnerabilities ([#7218](https://github.com/parse-community/parse-server/issues/7218)) ([0476832](047683219d)) * package.json & package-lock.json to reduce vulnerabilities ([#7373](https://github.com/parse-community/parse-server/issues/7373)) ([b6843de](b6843de904)) * package.json & package-lock.json to reduce vulnerabilities ([#7405](https://github.com/parse-community/parse-server/issues/7405)) ([d915bac](d915bacee7)) * package.json & package-lock.json to reduce vulnerabilities ([#7423](https://github.com/parse-community/parse-server/issues/7423)) ([bea4707](bea4707783)) * package.json & package-lock.json to reduce vulnerabilities ([#7509](https://github.com/parse-community/parse-server/issues/7509)) ([65c967a](65c967a4c4)) * Pass customObjectId in beforeSave ([#7167](https://github.com/parse-community/parse-server/issues/7167)) ([7224cde](7224cde023)), closes [#6733](https://github.com/parse-community/parse-server/issues/6733) * **utils:** permutation helper ([#7355](https://github.com/parse-community/parse-server/issues/7355)) ([91be6bb](91be6bb59a)) * schema cache not cleared in some cases ([#7771](https://github.com/parse-community/parse-server/issues/7771)) ([3b92fa1](3b92fa1ca9)) * security upgrade follow-redirects from 1.14.2 to 1.14.7 ([#7772](https://github.com/parse-community/parse-server/issues/7772)) ([4bd34b1](4bd34b189b)) * security upgrade follow-redirects from 1.14.7 to 1.14.8 ([#7802](https://github.com/parse-community/parse-server/issues/7802)) ([7029b27](7029b274ca)) * security vulnerability that allows remote code execution (GHSA-p6h4-93qp-jhcm) ([#7843](https://github.com/parse-community/parse-server/issues/7843)) ([971adb5](971adb5438)) * set objects in afterFind triggers ([#7311](https://github.com/parse-community/parse-server/issues/7311)) ([68a3a87](68a3a87501)) * setting a field to null does not delete it via GraphQL API ([#7649](https://github.com/parse-community/parse-server/issues/7649)) ([626fad2](626fad2e71)) * unable to use objectId size higher than 19 on GraphQL API ([#7722](https://github.com/parse-community/parse-server/issues/7722)) ([8ee0445](8ee0445c0a)) * upgrade @apollographql/graphql-playground-html from 1.6.26 to 1.6.27 ([#7274](https://github.com/parse-community/parse-server/issues/7274)) ([a05e9b1](a05e9b1c0f)) * upgrade @apollographql/graphql-playground-html from 1.6.27 to 1.6.28 ([#7411](https://github.com/parse-community/parse-server/issues/7411)) ([c58bf57](c58bf57f51)) * upgrade @apollographql/graphql-playground-html from 1.6.28 to 1.6.29 ([#7473](https://github.com/parse-community/parse-server/issues/7473)) ([39f7c83](39f7c831e6)) * upgrade @parse/simple-mailgun-adapter from 1.1.0 to 1.2.0 ([#7109](https://github.com/parse-community/parse-server/issues/7109)) ([8ff0d08](8ff0d08dcf)) * upgrade apollo-server-express from 2.19.0 to 2.19.1 ([#7122](https://github.com/parse-community/parse-server/issues/7122)) ([33bdd87](33bdd87092)) * upgrade apollo-server-express from 2.19.1 to 2.19.2 ([#7165](https://github.com/parse-community/parse-server/issues/7165)) ([4b6e9ff](4b6e9ffc3d)) * upgrade apollo-server-express from 2.19.2 to 2.20.0 ([#7239](https://github.com/parse-community/parse-server/issues/7239)) ([d10e990](d10e99007b)) * upgrade apollo-server-express from 2.21.0 to 2.21.1 ([#7308](https://github.com/parse-community/parse-server/issues/7308)) ([3dc4597](3dc459746d)) * upgrade apollo-server-express from 2.21.1 to 2.22.1 ([#7357](https://github.com/parse-community/parse-server/issues/7357)) ([25690ad](25690ad515)) * upgrade apollo-server-express from 2.22.1 to 2.22.2 ([#7362](https://github.com/parse-community/parse-server/issues/7362)) ([181fbf9](181fbf9d46)) * upgrade apollo-server-express from 2.22.2 to 2.23.0 ([#7380](https://github.com/parse-community/parse-server/issues/7380)) ([87476da](87476da31e)) * upgrade apollo-server-express from 2.23.0 to 2.24.0 ([#7395](https://github.com/parse-community/parse-server/issues/7395)) ([ff5755b](ff5755b05a)) * upgrade apollo-server-express from 2.24.0 to 2.24.1 ([#7424](https://github.com/parse-community/parse-server/issues/7424)) ([bfdb6a9](bfdb6a93e8)) * upgrade apollo-server-express from 2.24.1 to 2.25.0 ([#7435](https://github.com/parse-community/parse-server/issues/7435)) ([4e5eba6](4e5eba6c6c)) * upgrade apollo-server-express from 2.25.0 to 2.25.1 ([#7449](https://github.com/parse-community/parse-server/issues/7449)) ([682f1bf](682f1bf143)) * upgrade apollo-server-express from 2.25.1 to 2.25.2 ([#7465](https://github.com/parse-community/parse-server/issues/7465)) ([1fe4708](1fe47087a9)) * upgrade follow-redirects from 1.13.0 to 1.13.1 ([#7106](https://github.com/parse-community/parse-server/issues/7106)) ([16b4aad](16b4aadfe2)) * upgrade follow-redirects from 1.13.1 to 1.13.2 ([#7194](https://github.com/parse-community/parse-server/issues/7194)) ([738ba9f](738ba9fc70)) * upgrade follow-redirects from 1.13.2 to 1.13.3 ([#7285](https://github.com/parse-community/parse-server/issues/7285)) ([d144819](d144819d21)) * upgrade follow-redirects from 1.13.3 to 1.14.0 ([#7389](https://github.com/parse-community/parse-server/issues/7389)) ([38c01c6](38c01c6bc3)) * upgrade follow-redirects from 1.14.0 to 1.14.1 ([#7408](https://github.com/parse-community/parse-server/issues/7408)) ([8976ecc](8976ecc4a9)) * upgrade graphql from 15.4.0 to 15.5.0 ([#7201](https://github.com/parse-community/parse-server/issues/7201)) ([5a09687](5a0968721d)) * upgrade graphql from 15.5.0 to 15.5.1 ([#7462](https://github.com/parse-community/parse-server/issues/7462)) ([bbd7ee7](bbd7ee7313)) * upgrade graphql from 15.5.1 to 15.5.2 ([#7587](https://github.com/parse-community/parse-server/issues/7587)) ([dee4d96](dee4d96627)) * upgrade graphql from 15.5.2 to 15.5.3 ([#7596](https://github.com/parse-community/parse-server/issues/7596)) ([bcbc035](bcbc035627)) * upgrade graphql from 15.5.3 to 15.6.0 ([#7612](https://github.com/parse-community/parse-server/issues/7612)) ([407ed6e](407ed6ee36)) * upgrade graphql-relay from 0.6.0 to 0.7.0 ([#7443](https://github.com/parse-community/parse-server/issues/7443)) ([770e36f](770e36ff43)) * upgrade graphql-relay from 0.7.0 to 0.8.0 ([#7467](https://github.com/parse-community/parse-server/issues/7467)) ([9923cd3](9923cd3869)) * upgrade graphql-tag from 2.10.1 to 2.12.0 ([#7234](https://github.com/parse-community/parse-server/issues/7234)) ([add67fd](add67fdd22)) * upgrade graphql-tag from 2.12.0 to 2.12.1 ([#7282](https://github.com/parse-community/parse-server/issues/7282)) ([36de1db](36de1db65d)) * upgrade graphql-tag from 2.12.1 to 2.12.2 ([#7325](https://github.com/parse-community/parse-server/issues/7325)) ([50e5557](50e55571fd)) * upgrade graphql-tag from 2.12.2 to 2.12.4 ([#7396](https://github.com/parse-community/parse-server/issues/7396)) ([8099cb0](8099cb05a4)) * upgrade graphql-tag from 2.12.4 to 2.12.5 ([#7466](https://github.com/parse-community/parse-server/issues/7466)) ([2b3355c](2b3355cb02)) * upgrade jwks-rsa from 1.11.0 to 1.12.0 ([#7102](https://github.com/parse-community/parse-server/issues/7102)) ([029edbf](029edbf706)) * upgrade jwks-rsa from 1.12.1 to 1.12.2 ([#7147](https://github.com/parse-community/parse-server/issues/7147)) ([bcb2b52](bcb2b52f7a)) * upgrade jwks-rsa from 1.12.2 to 1.12.3 ([#7284](https://github.com/parse-community/parse-server/issues/7284)) ([a53d74c](a53d74c13b)) * upgrade ldapjs from 2.2.2 to 2.2.3 ([#7095](https://github.com/parse-community/parse-server/issues/7095)) ([fb465e5](fb465e599e)) * upgrade ldapjs from 2.2.3 to 2.2.4 ([#7275](https://github.com/parse-community/parse-server/issues/7275)) ([35f0c55](35f0c55e93)) * upgrade ldapjs from 2.2.4 to 2.3.0 ([#7436](https://github.com/parse-community/parse-server/issues/7436)) ([7df6c02](7df6c020b1)) * upgrade ldapjs from 2.3.0 to 2.3.1 ([#7524](https://github.com/parse-community/parse-server/issues/7524)) ([dee5a13](dee5a13a85)) * upgrade mime from 2.4.6 to 2.4.7 ([#7110](https://github.com/parse-community/parse-server/issues/7110)) ([fefcabe](fefcabe858)) * upgrade mime from 2.4.7 to 2.5.0 ([#7166](https://github.com/parse-community/parse-server/issues/7166)) ([6097e82](6097e82194)) * upgrade mime from 2.5.0 to 2.5.2 ([#7261](https://github.com/parse-community/parse-server/issues/7261)) ([687f4b7](687f4b7cf2)) * upgrade mongodb from 3.6.6 to 3.6.7 ([#7425](https://github.com/parse-community/parse-server/issues/7425)) ([61affe2](61affe2629)) * upgrade mongodb from 3.6.7 to 3.6.8 ([#7430](https://github.com/parse-community/parse-server/issues/7430)) ([c36588e](c36588e3c2)) * upgrade mongodb from 3.6.8 to 3.6.9 ([#7445](https://github.com/parse-community/parse-server/issues/7445)) ([17cf1a4](17cf1a46e5)) * upgrade mongodb from 3.6.9 to 3.6.10 ([#7474](https://github.com/parse-community/parse-server/issues/7474)) ([45d29cc](45d29cc58c)) * upgrade mustache from 4.1.0 to 4.2.0 ([#7358](https://github.com/parse-community/parse-server/issues/7358)) ([94b7b32](94b7b32006)) * upgrade parse from 3.1.0 to 3.2.0 ([#7378](https://github.com/parse-community/parse-server/issues/7378)) ([e9f54e2](e9f54e2bdd)) * upgrade pg-promise from 10.10.1 to 10.10.2 ([#7399](https://github.com/parse-community/parse-server/issues/7399)) ([d365f1f](d365f1f7cb)) * upgrade pg-promise from 10.10.2 to 10.11.0 ([#7510](https://github.com/parse-community/parse-server/issues/7510)) ([a967e79](a967e79219)) * upgrade pg-promise from 10.8.1 to 10.8.6 ([#7118](https://github.com/parse-community/parse-server/issues/7118)) ([8851810](8851810a85)) * upgrade pg-promise from 10.8.6 to 10.8.7 ([#7148](https://github.com/parse-community/parse-server/issues/7148)) ([231c669](231c669133)) * upgrade pg-promise from 10.8.7 to 10.9.0 ([#7168](https://github.com/parse-community/parse-server/issues/7168)) ([fcacd4d](fcacd4d24e)) * upgrade pg-promise from 10.9.0 to 10.9.1 ([#7170](https://github.com/parse-community/parse-server/issues/7170)) ([cca493b](cca493b9fb)) * upgrade pg-promise from 10.9.1 to 10.9.2 ([#7209](https://github.com/parse-community/parse-server/issues/7209)) ([c05102b](c05102b90c)) * upgrade redis from 3.1.1 to 3.1.2 ([#7387](https://github.com/parse-community/parse-server/issues/7387)) ([f65bd22](f65bd228fb)) * upgrade semver from 7.3.2 to 7.3.4 ([#7092](https://github.com/parse-community/parse-server/issues/7092)) ([7e687b1](7e687b1e94)) * upgrade subscriptions-transport-ws from 0.9.19 to 0.10.0 ([#7450](https://github.com/parse-community/parse-server/issues/7450)) ([d36a53b](d36a53b2bf)) * upgrade uuid from 8.3.1 to 8.3.2 ([#7101](https://github.com/parse-community/parse-server/issues/7101)) ([f17a063](f17a063209)) * upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1 ([#7309](https://github.com/parse-community/parse-server/issues/7309)) ([8643ae4](8643ae438f)) * upgrade winston-daily-rotate-file from 4.5.1 to 4.5.2 ([#7376](https://github.com/parse-community/parse-server/issues/7376)) ([e143fb1](e143fb1bf6)) * upgrade winston-daily-rotate-file from 4.5.2 to 4.5.3 ([#7398](https://github.com/parse-community/parse-server/issues/7398)) ([e9d8ed4](e9d8ed4acb)) * upgrade winston-daily-rotate-file from 4.5.3 to 4.5.4 ([#7402](https://github.com/parse-community/parse-server/issues/7402)) ([4f80a5f](4f80a5f4af)) * upgrade winston-daily-rotate-file from 4.5.4 to 4.5.5 ([#7407](https://github.com/parse-community/parse-server/issues/7407)) ([5abbeeb](5abbeeb8d1)) * upgrade ws from 7.4.0 to 7.4.1 ([#7098](https://github.com/parse-community/parse-server/issues/7098)) ([1068838](106883809c)) * upgrade ws from 7.4.1 to 7.4.2 ([#7132](https://github.com/parse-community/parse-server/issues/7132)) ([857d4ec](857d4ecfd5)) * upgrade ws from 7.4.2 to 7.4.3 ([#7224](https://github.com/parse-community/parse-server/issues/7224)) ([ec8f784](ec8f78424f)) * upgrade ws from 7.4.3 to 7.4.4 ([#7298](https://github.com/parse-community/parse-server/issues/7298)) ([a080e4c](a080e4c766)) * upgrade ws from 7.4.4 to 7.4.5 ([#7381](https://github.com/parse-community/parse-server/issues/7381)) ([34f3dd9](34f3dd9e7e)) * upgrade ws from 7.5.3 to 8.2.1 ([#7580](https://github.com/parse-community/parse-server/issues/7580)) ([c3da290](c3da2908fa)) * upgrade ws from 8.2.1 to 8.2.2 ([#7598](https://github.com/parse-community/parse-server/issues/7598)) ([20cb333](20cb3333ab)) ### Features * add support for Postgres 14 ([#7644](https://github.com/parse-community/parse-server/issues/7644)) ([090350a](090350a7a0)) * add user-defined schema and migrations ([#7418](https://github.com/parse-community/parse-server/issues/7418)) ([25d5c30](25d5c30be2)) * alphabetical graphql api, fix internal reassign, enhanced Graphql schema cache system ([#7344](https://github.com/parse-community/parse-server/issues/7344)) ([85ef721](85ef7217b0)) * bump required node engine to >=12.22.10 ([#7848](https://github.com/parse-community/parse-server/issues/7848)) ([23a3488](23a3488f15)) * **LiveQuery:** Support $and, $nor, $containedBy, $geoWithin ([#7113](https://github.com/parse-community/parse-server/issues/7113)) ([93781b2](93781b2195)) * **AggregateRouter:** support native mongodb syntax in aggregation pipelines ([#7339](https://github.com/parse-community/parse-server/issues/7339)) ([8fddac3](8fddac39bf)) ### Reverts * refactor: allow ES import for cloud string if package type is module ([#7691](https://github.com/parse-community/parse-server/issues/7691)) ([200d4ba](200d4ba9a5)) ### BREAKING CHANGES * This requires Node.js version >=12.22.10. ([23a3488](23a3488)) * To delete a field via the GraphQL API, the field value has to be set to `null`. Previously, setting a field value to `null` would save a null value in the database, which was not according to the [GraphQL specs](https://spec.graphql.org/June2018/#sec-Null-Value). To delete a file field use `file: null`, the previous way of using `file: { file: null }` has become obsolete. ([626fad2](626fad2))
168 lines
6.2 KiB
JSON
168 lines
6.2 KiB
JSON
{
|
|
"name": "parse-server",
|
|
"version": "5.0.0",
|
|
"description": "An express module providing a Parse-compatible API server",
|
|
"main": "lib/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/parse-community/parse-server"
|
|
},
|
|
"files": [
|
|
"bin/",
|
|
"lib/",
|
|
"public_html/",
|
|
"views/",
|
|
"LICENSE",
|
|
"PATENTS",
|
|
"postinstall.js",
|
|
"README.md"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"dependencies": {
|
|
"@apollographql/graphql-playground-html": "1.6.29",
|
|
"@graphql-tools/links": "6.2.5",
|
|
"@graphql-tools/stitch": "6.2.4",
|
|
"@graphql-tools/utils": "6.2.4",
|
|
"@parse/fs-files-adapter": "1.2.0",
|
|
"@parse/push-adapter": "3.4.1",
|
|
"apollo-server-express": "2.25.2",
|
|
"bcryptjs": "2.4.3",
|
|
"body-parser": "1.19.0",
|
|
"commander": "5.1.0",
|
|
"cors": "2.8.5",
|
|
"deepcopy": "2.1.0",
|
|
"express": "4.17.1",
|
|
"follow-redirects": "1.14.8",
|
|
"graphql": "15.6.0",
|
|
"graphql-list-fields": "2.0.2",
|
|
"graphql-relay": "0.7.0",
|
|
"graphql-tag": "2.12.5",
|
|
"graphql-upload": "11.0.0",
|
|
"intersect": "1.0.1",
|
|
"jsonwebtoken": "8.5.1",
|
|
"jwks-rsa": "1.12.3",
|
|
"ldapjs": "2.3.1",
|
|
"lodash": "4.17.21",
|
|
"lru-cache": "5.1.1",
|
|
"mime": "2.5.2",
|
|
"mongodb": "3.6.11",
|
|
"mustache": "4.2.0",
|
|
"parse": "3.3.1",
|
|
"pg-monitor": "1.4.1",
|
|
"pg-promise": "10.11.0",
|
|
"pluralize": "8.0.0",
|
|
"redis": "3.1.2",
|
|
"semver": "7.3.5",
|
|
"subscriptions-transport-ws": "0.10.0",
|
|
"tv4": "1.3.0",
|
|
"uuid": "8.3.2",
|
|
"winston": "3.3.3",
|
|
"winston-daily-rotate-file": "4.5.5",
|
|
"ws": "8.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "1.2.6",
|
|
"@babel/cli": "7.10.0",
|
|
"@babel/core": "7.10.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.10.0",
|
|
"@babel/plugin-transform-flow-strip-types": "7.9.0",
|
|
"@babel/preset-env": "7.10.0",
|
|
"@parse/minami": "1.0.0",
|
|
"@semantic-release/changelog": "5.0.1",
|
|
"@semantic-release/commit-analyzer": "8.0.1",
|
|
"@semantic-release/git": "9.0.0",
|
|
"@semantic-release/github": "7.2.3",
|
|
"@semantic-release/npm": "7.1.3",
|
|
"@semantic-release/release-notes-generator": "9.0.3",
|
|
"all-node-versions": "8.0.0",
|
|
"apollo-cache-inmemory": "1.6.6",
|
|
"apollo-client": "2.6.10",
|
|
"apollo-link": "1.2.14",
|
|
"apollo-link-http": "1.5.17",
|
|
"apollo-link-ws": "1.0.20",
|
|
"apollo-upload-client": "13.0.0",
|
|
"apollo-utilities": "1.3.4",
|
|
"babel-eslint": "10.1.0",
|
|
"bcrypt-nodejs": "0.0.3",
|
|
"cross-env": "7.0.2",
|
|
"deep-diff": "1.0.2",
|
|
"eslint": "6.8.0",
|
|
"eslint-plugin-flowtype": "5.1.3",
|
|
"flow-bin": "0.119.1",
|
|
"form-data": "3.0.0",
|
|
"husky": "4.2.5",
|
|
"jasmine": "3.5.0",
|
|
"jasmine-spec-reporter": "7.0.0",
|
|
"jsdoc": "3.6.3",
|
|
"jsdoc-babel": "0.5.0",
|
|
"lint-staged": "10.2.3",
|
|
"madge": "5.0.1",
|
|
"mock-files-adapter": "file:spec/dependencies/mock-files-adapter",
|
|
"mock-mail-adapter": "file:spec/dependencies/mock-mail-adapter",
|
|
"mongodb-runner": "4.8.1",
|
|
"mongodb-version-list": "1.0.0",
|
|
"node-fetch": "2.6.1",
|
|
"nyc": "15.1.0",
|
|
"prettier": "2.0.5",
|
|
"semantic-release": "17.4.6",
|
|
"yaml": "1.10.0"
|
|
},
|
|
"scripts": {
|
|
"ci:check": "node ./ci/ciCheck.js",
|
|
"ci:checkNodeEngine": "node ./ci/nodeEngineCheck.js",
|
|
"definitions": "node ./resources/buildConfigDefinitions.js && prettier --write 'src/Options/*.js'",
|
|
"docs": "jsdoc -c ./jsdoc-conf.json",
|
|
"lint": "flow && eslint --cache ./",
|
|
"lint-fix": "eslint --fix --cache ./",
|
|
"build": "babel src/ -d lib/ --copy-files",
|
|
"watch": "babel --watch src/ -d lib/ --copy-files",
|
|
"test:mongodb:runnerstart": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner start",
|
|
"test:mongodb:testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=$npm_config_dbversion} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 jasmine",
|
|
"test:mongodb": "npm run test:mongodb:runnerstart --dbversion=$npm_config_dbversion && npm run test:mongodb:testonly --dbversion=$npm_config_dbversion",
|
|
"test:mongodb:4.0.27": "npm run test:mongodb --dbversion=4.0.27",
|
|
"test:mongodb:4.2.17": "npm run test:mongodb --dbversion=4.2.17",
|
|
"test:mongodb:4.4.10": "npm run test:mongodb --dbversion=4.4.10",
|
|
"posttest:mongodb": "mongodb-runner stop",
|
|
"pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner start",
|
|
"testonly": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 jasmine",
|
|
"test": "npm run testonly",
|
|
"posttest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} mongodb-runner stop",
|
|
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.4.10} MONGODB_TOPOLOGY=${MONGODB_TOPOLOGY:=standalone} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:=wiredTiger} TESTING=1 nyc jasmine",
|
|
"start": "node ./bin/parse-server",
|
|
"prettier": "prettier --write {src,spec}/{**/*,*}.js",
|
|
"prepare": "npm run build",
|
|
"postinstall": "node -p 'require(\"./postinstall.js\")()'",
|
|
"madge:circular": "node_modules/.bin/madge ./src --circular"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.22.10 <16"
|
|
},
|
|
"bin": {
|
|
"parse-server": "bin/parse-server"
|
|
},
|
|
"optionalDependencies": {
|
|
"@node-rs/bcrypt": "1.1.0"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/parse-server",
|
|
"logo": "https://opencollective.com/parse-server/logo.txt?reverse=true&variant=binary"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/parse-server"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{src,spec}/{**/*,*}.js": [
|
|
"prettier --write",
|
|
"eslint --fix --cache",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|