chore: build scripts

This commit is contained in:
ayo 2026-07-06 00:09:02 +02:00
parent 41829086c5
commit 2d7f7d0ebb
3 changed files with 6 additions and 1 deletions

View file

@ -14,6 +14,7 @@
"test": "vitest run",
"dev": "pnpm -F mnswpr dev",
"test:watch": "vitest",
"build": "pnpm -r --filter \"./packages/*\" run build",
"build:lib": "vite build packages/mnswpr",
"publish:lib": "node scripts/publish-lib.js",
"release": "pnpm build:lib && pnpm -F @ayo-run/mnswpr run release && pnpm publish:lib",

View file

@ -9,6 +9,9 @@
"url": "https://github.com/ayo-run/mnswpr"
},
"main": "leader-board.js",
"scripts": {
"build": "vite build"
},
"exports": {
".": {
"default": "./dist/leader-board.js"

View file

@ -1,5 +1,5 @@
{
"name": "@ayo-run/mnswpr",
"name": "@cozy-games/mnswpr",
"version": "0.4.36",
"description": "Classic Minesweeper browser game",
"author": "Ayo",
@ -10,6 +10,7 @@
},
"homepage": "https://mnswpr.com",
"scripts": {
"build": "vite build",
"release": "bumpp && node ../../scripts/release.js"
},
"main": "mnswpr.js",