You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.9 KiB
JSON
96 lines
2.9 KiB
JSON
{
|
|
"name": "sealious-app",
|
|
"version": "0.1.0",
|
|
"description": "",
|
|
"main": "./dist/back/index.js",
|
|
"scripts": {
|
|
"start": "docker-compose up -d db && node .",
|
|
"typecheck:back": "npx tsc --noEmit --target es6 --lib es2015,dom -p src/back",
|
|
"typecheck:front": "npx tsc --noEmit --target es6 --lib es2015,dom -p src/front",
|
|
"build": "sealgen build",
|
|
"watch": "multiple-scripts-tmux -p watch",
|
|
"reset-db": "docker-compose down && docker-compose up -d",
|
|
"install-test-deps": "npx playwright install firefox",
|
|
"test": "npm run install-test-deps && TS_NODE_PROJECT='./src/back/tsconfig.json' mocha --recursive --timeout 20000 --require ts-node/register --require mocha_root_hooks.js src/back/app.ts src/back/**/*.test.ts src/back/**/**/*.test.ts src/back/**/**/**/*.test.ts src/back/**/**/**/**/*.test.ts",
|
|
"coverage": "nyc npm run test --",
|
|
"postinstall": "sealgen make-env",
|
|
"test-reports": "docker-compose up -d && ./npm.sh run coverage -- --reporter xunit --reporter-option output=.xunit",
|
|
"show-coverage": "npm run test-reports; xdg-open coverage/index.html"
|
|
},
|
|
"tmux-scripts": {
|
|
"watch": [
|
|
"npm run typecheck:back -- --watch",
|
|
"npm run build -- --watch",
|
|
"npm run typecheck:front -- --watch",
|
|
"SEALIOUS_PORT=$SEALIOUS_PORT SEALIOUS_BASE_URL=$SEALIOUS_BASE_URL nodemon --enable-source-maps ."
|
|
]
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@hotwired/turbo": "^7.1.0",
|
|
"@koa/router": "^12.0.1",
|
|
"@playwright/test": "^1.36.1",
|
|
"@sealcode/sealgen": "^0.8.50",
|
|
"@sealcode/ts-predicates": "^0.4.3",
|
|
"@types/kill-port": "^2.0.0",
|
|
"hint": "^7.0.1",
|
|
"locreq": "^2.0.2",
|
|
"multiple-scripts-tmux": "^1.0.4",
|
|
"nodemon": "^3.0.1",
|
|
"sealious": "^0.17.35",
|
|
"stimulus": "^2.0.0",
|
|
"tempstream": "^0.0.21"
|
|
},
|
|
"devDependencies": {
|
|
"@hint/connector-jsdom": "^4.1.20",
|
|
"@hint/formatter-codeframe": "^3.1.29",
|
|
"@hint/hint-doctype": "^3.3.19",
|
|
"@hint/hint-no-broken-links": "^4.2.19",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@sealcode/ansi-html-stream": "^1.0.1",
|
|
"@types/koa__router": "^12.0.4",
|
|
"@types/mocha": "^9.1.1",
|
|
"@types/node": "^20.8.4",
|
|
"@types/tedious": "^4.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
"axios": "^0.24.0",
|
|
"eslint": "^7.19.0",
|
|
"eslint-config-prettier": "^7.2.0",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-with-tsc-error": "^0.0.7",
|
|
"kill-port": "^1.6.1",
|
|
"mocha": "^8.4.0",
|
|
"mri": "^1.1.6",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.2.1",
|
|
"ts-loader": "^8.0.14",
|
|
"ts-node": "^10.4.0",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"nyc": {
|
|
"extends": "@istanbuljs/nyc-config-typescript",
|
|
"check-coverage": false,
|
|
"all": true,
|
|
"include": [
|
|
"src/**/!(*.test.*).[tj]s?(x)"
|
|
],
|
|
"exclude": [
|
|
"src/_tests_/**/*.*"
|
|
],
|
|
"reporter": [
|
|
"html",
|
|
"lcov",
|
|
"clover",
|
|
"text",
|
|
"text-summary"
|
|
],
|
|
"report-dir": "coverage"
|
|
},
|
|
"engines": {
|
|
"node": ">=17.0.0"
|
|
}
|
|
}
|