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.

39 lines
1.4 KiB
JSON

{
"name": "sealious-playground",
"version": "1.0.1",
"description": "",
"main": "./dist/index.js",
"scripts": {
"start": "docker-compose up -d db && node .",
"test-cmd": "node test.js",
"test": "./npm.sh run test-cmd -- ",
"build:back": "tsc -p src/back",
"build:front": "webpack",
"build": "npm run build:back && npm run build:front",
"watch:back": "tsc --watch -p src/back",
"watch:front": "webpack --watch",
"watch": "tmux new-session -d \"printf '\\033]2;%s\\033\\' 'watch:back' && npm run watch:back\" && tmux split-window -d \"printf '\\033]2;%s\\033\\' 'server' && nodemon .\" && tmux split-window -d \"printf '\\033]2;%s\\033\\' 'watch:front' && npm run watch:front\" && tmux select-layout even-horizontal && tmux set -g pane-border-status top && tmux attach",
"test-reports": "npm run build && rm -fr .xunit coverage && docker-compose up -d db mailcatcher && npm run test -- --cover --test-report",
"cover-html": "npm run test-reports -- --cover-html && xdg-open coverage/lcov-report/index.html"
},
"author": "",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.12.10",
"@hotwired/turbo": "^7.0.0-beta.3",
"@koa/router": "^10.0.0",
"nodemon": "^2.0.7",
"sealious": "^0.13.13",
"stimulus": "^2.0.0"
},
"devDependencies": {
"babel-loader": "^8.2.2",
"concurrently": "^5.3.0",
"prettier": "^2.2.1",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.12.2",
"webpack-cli": "^4.3.1"
}
}