Demo application (tic-tac-toe game and more) built with Web Components, with progressive enhancement.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sample-tictactoe/package.json

43 lines
1.3 KiB

{
"name": "sample-tictactoe",
"version": "1.0.0",
"scripts": {
"build": "npm run build:clean && npm run build:only && npm run build:static",
"build:clean": "rimraf dist",
"build:only": "tsc --project tsconfig.build.json",
"build:static": "copyfiles -u 1 \"src/frontend/static/**/*\" dist",
"check-and-start": "npm run prerelease && npm run build && npm run start",
"lint": "eslint src",
"prerelease": "npm run lint && npm run typecheck && npm run test",
"start": "node ./dist/server.js",
"test": "tap",
"typecheck": "tsc --project tsconfig.json"
},
"author": "Inga",
"homepage": "https://oomza.cutegay.software/inga-lovinde/sample-tictactoe",
"license": "CNPLv7",
"type": "module",
"devDependencies": {
"@eslint/js": "^9.15.0",
"@tsconfig/strictest": "^2.0.5",
"@types/body-parser": "^1.19.5",
"@types/eslint__js": "^8.42.3",
"@types/express": "^5.0.0",
"copyfiles": "^2.4.1",
"eslint": "9.14.x",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tap": "^21.0.1",
"typescript": "^5.7.1-rc",
"typescript-eslint": "^8.14.0"
},
"dependencies": {
"body-parser": "^1.20.3",
"express": "^4.21.1",
"preact": "^10.24.3",
"preact-render-to-string": "^6.5.11"
}
}