strona-czynna/package.json
Kuba Orlik b46ba714c3 Test in jenkins - attempt #1
Reviewers: #reviewers

Subscribers: jenkins-user

Differential Revision: https://hub.sealcode.org/D1522
2024-07-04 21:31:58 +02:00

92 lines
3.3 KiB
JSON

{
"name": "sealious-app",
"version": "0.1.0",
"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",
"install-test-deps": "npx playwright install firefox && cd webhint && npm install && ./use-fork.sh",
"pretest": "npm run build && docker compose up -d",
"test": "node test.cjs",
"full-test": "WITH_WEBHINT=TRUE npm run test",
"prepare": "npm run build && npm run install-test-deps",
"lint": "eslint src",
"lint-report": "npm run --silent lint -- --format json > .eslint-result.json",
"preinstrument": "npm run build --ignore-scripts && rm -fr .xunit coverage dist-instrumented",
"instrument": "npx nyc instrument --exclude \"\" dist dist-instrumented",
"pretest-reports": "npm run instrument",
"test-reports": "npx nyc --exclude \"\" ./node_modules/.bin/mocha --recursive --timeout=10000 --require source-map-support/register 'dist-instrumented/**/*.test.js' --exit && nyc report --reporter cobertura --exclude \"\"",
"precover-html": "rm -rf coverate/lcov-report",
"cover-html": "npm run test-reports && nyc report --reporter lcov --exclude \"\" && xdg-open coverage/lcov-report/index.html"
},
"tmux-scripts": {
"watch": [
"npm run typecheck:back -- --watch",
"npx sealgen build --watch",
"npm run typecheck:front -- --watch",
"npm run start-watch"
]
},
"author": "",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.12.10",
"@hotwired/turbo": "^8.0.2",
"@koa/router": "^12.0.1",
"@sealcode/file-manager": "^1.0.2",
"@sealcode/jdd": "^0.4.10",
"@sealcode/sealgen": "^0.15.45",
"@sealcode/ts-predicates": "^0.6.2",
"@types/kill-port": "^2.0.0",
"@types/leaflet": "^1.9.8",
"escape-goat": "^4.0.0",
"get-port": "^7.0.0",
"js-convert-case": "^4.2.0",
"koa-responsive-image-router": "^0.2.29",
"locreq": "^3.0.0",
"multiple-scripts-tmux": "^1.0.4",
"nodemon": "^3.0.1",
"object-path": "^0.11.8",
"qs": "^6.12.0",
"sealious": "^0.19.9",
"stimulus": "^3.2.2",
"tempstream": "^0.3.16"
},
"devDependencies": {
"@playwright/test": "^1.44.1",
"@sealcode/ansi-html-stream": "^1.0.1",
"@types/koa__router": "^12.0.4",
"@types/node": "^20.8.4",
"@types/object-path": "^0.11.4",
"@types/tedious": "^4.0.7",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "7.4",
"@typescript-eslint/parser": "7.4",
"axios": "^1.6.2",
"eslint": "8.57",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"kill-port": "^1.6.1",
"mocha": "^10.4.0",
"mri": "^1.2.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"ts-loader": "^8.0.14",
"ts-node": "^10.9.2",
"typescript": "^4.7"
},
"engines": {
"node": ">=21.0.0"
}
}