mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[npm] Add checkFileExpire.js to npm scripts
This commit is contained in:
9
npm-shrinkwrap.json
generated
9
npm-shrinkwrap.json
generated
@ -1733,6 +1733,15 @@
|
||||
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
|
||||
"integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40="
|
||||
},
|
||||
"cross-env": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
|
||||
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"cross-spawn": "^7.0.1"
|
||||
}
|
||||
},
|
||||
"cross-spawn": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||
|
||||
@ -64,9 +64,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "29.5.0",
|
||||
"cross-env": "7.0.3",
|
||||
"jest": "29.5.0"
|
||||
},
|
||||
"scripts": {
|
||||
"perf-expired": "cd ./DocService&& cross-env NODE_ENV=development-windows NODE_CONFIG_DIR=../Common/config node ../tests/perf/checkFileExpire.js",
|
||||
"unit tests": "cd ./DocService && jest unit --config=../tests/jest.config.js",
|
||||
"integration tests": "cd ./DocService && jest integration --config=../tests/jest.config.js",
|
||||
"tests": "cd ./DocService && jest --inject-globals=false --config=../tests/jest.config.js"
|
||||
|
||||
@ -44,8 +44,8 @@ const storage = require('./../../Common/sources/storage-base');
|
||||
const storageFs = require('./../../Common/sources/storage-fs');
|
||||
const operationContext = require('./../../Common/sources/operationContext');
|
||||
const utils = require('./../../Common/sources/utils');
|
||||
const docsCoServer = require("./DocsCoServer");
|
||||
const gc = require("./gc");
|
||||
const docsCoServer = require("./../../DocService/sources/DocsCoServer");
|
||||
const gc = require("./../../DocService/sources/gc");
|
||||
|
||||
let ctx = operationContext.global;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user