strona-czynna/package.json

166 lines
5.3 KiB
JSON

{
"name": "sealious-app",
"version": "0.1.1",
"description": "",
"main": "./dist/back/index.js",
"type": "module",
"scripts": {
"start": "docker compose up -d db && node .",
"start-watch": "SEALIOUS_PORT=$SEALIOUS_PORT SEALIOUS_BASE_URL=$SEALIOUS_BASE_URL nodemon --enable-source-maps --ignore ./uploaded_files --ignore ./cache .",
"typecheck:back": "tsc --noEmit --target es6 --lib es2021,dom -p tsconfig-back.json",
"typecheck:front": "tsc --noEmit --target es6 --lib es2021,dom -p tsconfig-front.json",
"typecheck": "npm run typecheck:back && npm run typecheck:front",
"prewatch": "rm -rf dist/* && npm run build --ignore-scripts",
"build": "rm -rf dist && sealgen build ",
"postbuild": "npm run typecheck && npm run lint",
"watch": "multiple-scripts-tmux -p watch",
"reset-db": "docker compose down -v && docker compose up -d",
"pretest": "rm -rf coverage && npm run build && docker compose up -d",
"test": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:3000/ npx playwright test",
"test:ui": "npm run test -- --ui",
"test-ci": "TESTS_RUN_IN_DOCKER=true PW_TEST_CONNECT_WS_ENDPOINT=ws://playwright:3000/ npx playwright test",
"prepare": "husky",
"lint-css": "stylelint \"**/*.css\" --config ./.stylelintrc.json",
"lint-css-fix": "npm run lint-css -- --fix",
"lint-css-report": "npm run --silent lint-css -- --formatter json --output-file .stylelint-result.json",
"lint-js": "eslint src",
"lint-js-report": "npm run --silent lint-js -- --format json > .eslint-result.json",
"lint": "npm run lint-js && npm run lint-css",
"lint-report": "npm run lint-js-report; npm run lint-css-report",
"cover-html": "npm run test; c8 report --reporter lcov --all --src src && xdg-open coverage/lcov-report/index.html",
"cover-arcanist": "c8 report --reporter cobertura --all --src src && node ./convert-cobertura-to-arcanist.mjs"
},
"tmux-scripts": {
"watch": [
"npm run typecheck:back -- --watch",
"npx sealgen build --watch",
"npm run typecheck:front -- --watch",
"npm run start-watch"
]
},
"sealgen": {
"styleDirs": [
"node_modules/@sealcode/jdd-editor/assets",
"node_modules/@sealcode/sortable/src/stimulus-styles"
],
"controllerDirs": [
"node_modules/@sealcode/jdd-editor/src/controllers",
"node_modules/@sealcode/sortable/src/controllers",
"node_modules/@sealcode/sealgen/src/controllers"
],
"copyToPublic": [
{
"from": "node_modules/@sealcode/jdd-editor/assets/icons",
"to": "dist/jdd-page/icons"
},
{
"from": "node_modules/@sealcode/sealgen/assets",
"to": "dist/sealgen"
},
{
"from": "node_modules/@sealcode/simplemde/dist/simplemde.min.css",
"to": "dist/simplemde.min.css"
},
{
"from": "node_modules/@sealcode/simplemde/dist/simplemde.min.js",
"to": "dist/simplemde.min.js"
},
{
"from": "node_modules/@sealcode/sealcodemirror/lib/codemirror.js",
"to": "dist/codemirror.js"
},
{
"from": "node_modules/@sealcode/sealcodemirror/lib/codemirror.css",
"to": "dist/codemirror.css"
},
{
"from": "node_modules/@sealcode/sealcodemirror/mode/javascript/javascript.js",
"to": "dist/codemirror-javascript-mode.js"
}
]
},
"author": "",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.12.10",
"@hotwired/turbo": "^8.0.2",
"@koa/router": "^12.0.1",
"@sealcode/add-to-head": "^1.0.0",
"@sealcode/file-manager": "^1.0.2",
"@sealcode/jdd": "^0.8.0",
"@sealcode/jdd-editor": "^0.2.1",
"@sealcode/sealgen": "^0.19.6",
"@sealcode/simplemde": "^1.12.1",
"@sealcode/sortable": "^0.0.1",
"@sealcode/ts-predicates": "^0.6.2",
"@types/kill-port": "^2.0.0",
"@types/leaflet": "^1.9.8",
"@types/object-hash": "^3.0.6",
"@types/simplemde": "^1.11.11",
"c8": "^10.1.3",
"colord": "^2.9.3",
"dotenv": "^16.4.5",
"escape-goat": "^4.0.0",
"get-port": "^7.0.0",
"glob": "^11.0.3",
"js-convert-case": "^4.2.0",
"koa-mount": "^4.2.0",
"koa-qs": "^3.0.0",
"koa-responsive-image-router": "^0.2.37",
"koa-static": "^5.0.0",
"locreq": "^3.0.0",
"meilisearch": "^0.41.0",
"mongodb": "^6.17.0",
"multiple-scripts-tmux": "^1.0.4",
"nodemon": "^3.0.1",
"nyc": "^17.1.0",
"object-path": "^0.11.8",
"qs": "^6.12.0",
"sealious": "^0.21.23",
"slug": "^9.1.0",
"stimulus": "^3.2.2",
"tempstream": "^0.4.6",
"throttle-debounce": "^5.0.2",
"turndown": "^7.2.0"
},
"devDependencies": {
"@playwright/test": "1.54.1",
"@sealcode/ansi-html-stream": "^1.0.1",
"@types/hotwired__turbo": "^8.0.2",
"@types/koa__router": "^12.0.4",
"@types/koa-mount": "^4.0.5",
"@types/koa-qs": "^2.0.3",
"@types/koa-static": "^4.0.4",
"@types/node": "^20.8.4",
"@types/object-path": "^0.11.4",
"@types/slug": "^5.0.9",
"@types/tedious": "^4.0.7",
"@types/throttle-debounce": "^5.0.2",
"@types/turndown": "^5.0.4",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "7.4",
"@typescript-eslint/parser": "7.4",
"axios": "^1.6.2",
"chalk": "^5.3.0",
"create-stylelint": "^0.5.0",
"eslint": "8.57",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^5.4.0",
"husky": "^9.1.7",
"kill-port": "^1.6.1",
"mocha": "^10.4.0",
"mri": "^1.2.0",
"playwright": "1.54.1",
"prettier": "^3.5.3",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"ts-loader": "^8.0.14",
"ts-node": "^10.9.2",
"typescript": "^5.6",
"xml2js": "^0.6.2"
},
"engines": {
"node": ">=21.0.0"
}
}