91 lines
5.9 KiB
JSON
91 lines
5.9 KiB
JSON
{
|
|
"name": "@appserver/files",
|
|
"version": "1.2.0",
|
|
"private": true,
|
|
"homepage": "/products/files",
|
|
"scripts": {
|
|
"build": "webpack --mode production",
|
|
"build:personal": "webpack --mode production --env personal=true",
|
|
"build:test": "webpack --env minimize=false --mode production",
|
|
"build:test.translation": "webpack --env minimize=false hideText=true --mode production",
|
|
"build:test.translation:personal": "webpack --env minimize=false hideText=true personal=true --mode production",
|
|
"clean": "shx rm -rf dist",
|
|
"deploy": "shx --silent mkdir -p ../../../build/deploy/products/ASC.Files/client && shx cp -r dist/* ../../../build/deploy/products/ASC.Files/client",
|
|
"serve": "serve dist -p 5008",
|
|
"start": "webpack-cli serve",
|
|
"start:personal": "webpack-cli serve --env personal=true",
|
|
"start-prod": "webpack --mode production && serve dist -p 5008",
|
|
"test:codeceptjs": "npx codeceptjs run --reporter mocha-multi",
|
|
"test:mobile": "cross-env DEVICE_TYPE=mobile yarn test:codeceptjs",
|
|
"test:smallTablet": "cross-env DEVICE_TYPE=smallTablet yarn test:codeceptjs",
|
|
"test:tablet": "cross-env DEVICE_TYPE=tablet yarn test:codeceptjs",
|
|
"test:desktop": "cross-env DEVICE_TYPE=desktop yarn test:codeceptjs ",
|
|
"test:translation": "cross-env DEVICE_TYPE=desktop translation=true yarn test:codeceptjs --profile chromium ",
|
|
"test:translation:personal": "cross-env DEVICE_TYPE=desktop translation=true personal=true yarn test:codeceptjs --profile chromium ",
|
|
"test:mobile:model": "cross-env DEVICE_TYPE=mobile MODEL=true yarn test:codeceptjs",
|
|
"test:smallTablet:model": "cross-env DEVICE_TYPE=smallTablet MODEL=true yarn test:codeceptjs",
|
|
"test:tablet:model": "cross-env DEVICE_TYPE=tablet MODEL=true yarn test:codeceptjs",
|
|
"test:desktop:model": "cross-env DEVICE_TYPE=desktop MODEL=true yarn test:codeceptjs",
|
|
"test:translation:model": "cross-env DEVICE_TYPE=desktop MODEL=true translation=true yarn test:codeceptjs --profile chromium && node tests/helpers/cloneModelScreenshot.js",
|
|
"test:translation:model:personal": "cross-env DEVICE_TYPE=desktop MODEL=true translation=true personal=true yarn test:codeceptjs --profile chromium && node tests/helpers/cloneModelScreenshot.js",
|
|
"test:chromium:parallel": "run-p -c \"test:mobile --profile chromium \" \"test:smallTablet --profile chromium \" \"test:tablet --profile chromium \" \"test:desktop --profile chromium \" && yarn test:parse-xml",
|
|
"test:chromium:sequential": "run-s -c \"test:mobile --profile chromium \" \"test:smallTablet --profile chromium \" \"test:tablet --profile chromium \" \"test:desktop --profile chromium \" && yarn test:parse-xml",
|
|
"test:chromium:model": "run-s -c \"test:mobile:model --profile chromium \" \"test:smallTablet:model --profile chromium \" \"test:tablet:model --profile chromium \" \"test:desktop:model --profile chromium \" && yarn test:parse-xml",
|
|
"test:firefox:parallel": "run-p -c \"test:mobile --profile firefox \" \"test:smallTablet --profile firefox \" \"test:tablet --profile firefox \" \"test:desktop --profile firefox \" && yarn test:parse-xml",
|
|
"test:firefox:sequential": "run-s -c \"test:mobile --profile firefox \" \"test:smallTablet --profile firefox \" \"test:tablet --profile firefox \" \"test:desktop --profile firefox \" && yarn test:parse-xml",
|
|
"test:firefox:model": "run-s -c \"test:mobile:model --profile firefox \" \"test:smallTablet:model --profile firefox \" \"test:tablet:model --profile firefox \" \"test:desktop:model --profile firefox \" && yarn test:parse-xml",
|
|
"test:webkit:parallel": "run-p -c \"test:mobile --profile webkit \" \"test:smallTablet --profile webkit \" \"test:tablet --profile webkit \" \"test:desktop --profile webkit \" && yarn test:parse-xml",
|
|
"test:webkit:sequential": "run-s -c \"test:mobile --profile webkit \" \"test:smallTablet --profile webkit \" \"test:tablet --profile webkit \" \"test:desktop --profile webkit \" && yarn test:parse-xml",
|
|
"test:webkit:model": "run-s -c \"test:mobile:model --profile webkit \" \"test:smallTablet:model --profile webkit \" \"test:tablet:model --profile webkit \" \"test:desktop:model --profile webkit \" && yarn test:parse-xml",
|
|
"test:sequential": "run-s -c test:chromium:sequential test:firefox:sequential test:webkit:sequential && yarn test:parse-xml",
|
|
"test:model": "run-s -c test:chromium:model test:firefox:model test:webkit:model && yarn test:parse-xml",
|
|
"test:parse-xml": "node tests/helpers/parserXML.js"
|
|
},
|
|
"dependencies": {
|
|
"copy-to-clipboard": "^3.3.1",
|
|
"file-saver": "^2.0.5",
|
|
"react-hotkeys-hook": "^3.4.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
"@babel/plugin-proposal-export-default-from": "^7.14.5",
|
|
"@babel/plugin-transform-runtime": "^7.15.0",
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@codeceptjs/configure": "^0.7.0",
|
|
"@codeceptjs/examples": "^1.2.1",
|
|
"@codeceptjs/ui": "^0.4.6",
|
|
"@svgr/webpack": "^5.5.0",
|
|
"babel-loader": "^8.2.2",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"codeceptjs": "^3.2.2",
|
|
"codeceptjs-resemblehelper": "^1.9.5",
|
|
"copy-webpack-plugin": "^9.0.1",
|
|
"css-loader": "^6.2.0",
|
|
"element-resize-detector": "^1.2.4",
|
|
"external-remotes-plugin": "^1.0.0",
|
|
"file-loader": "^6.2.0",
|
|
"html-webpack-plugin": "5.3.2",
|
|
"json-loader": "^0.5.7",
|
|
"mocha": "^9.1.3",
|
|
"mocha-junit-reporter": "^2.0.2",
|
|
"mocha-multi": "^1.1.5",
|
|
"mochawesome": "^7.0.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"playwright": "^1.17.1",
|
|
"sass": "^1.39.2",
|
|
"sass-loader": "^12.1.0",
|
|
"serve": "12.0.1",
|
|
"shx": "^0.3.3",
|
|
"source-map-loader": "^3.0.0",
|
|
"style-loader": "3.2.1",
|
|
"terser-webpack-plugin": "^5.2.4",
|
|
"webpack": "5.52.1",
|
|
"webpack-cli": "4.9.0",
|
|
"webpack-dev-server": "4.3.1"
|
|
},
|
|
"id": "e67be73d-f9ae-4ce1-8fec-1880cb518cb4",
|
|
"title": "ONLYOFFICE"
|
|
}
|