Compare commits

..

No commits in common. "main" and "v0.4.30" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@ayo-run/mnswpr",
"version": "0.4.31",
"version": "0.4.30",
"description": "Classic Minesweeper browser game",
"author": "Ayo",
"type": "module",
@ -10,6 +10,7 @@
},
"homepage": "https://mnswpr.com",
"scripts": {
"publish": "npm publish",
"release": "bumpp && node ../scripts/release.js"
},
"main": "mnswpr.js",

View file

@ -14,11 +14,9 @@
"test": "echo \"Warn: no test specified\"",
"dev": "vite app",
"start": "vite app",
"build": "vite build app",
"build:lib": "vite build lib",
"release:lib": "pnpm -F @ayo-run/mnswpr run release",
"publish:lib": "cd lib && npm publish",
"build:preview": "pnpm -F app run build:preview",
"build:lib": "vite build lib --config vite-lib.config.js",
"release": "pnpm -F @ayo-run/mnswpr release",
"prepare": "husky",
"lint": "eslint .",
"lint:fix": "eslint . --fix"

View file

@ -4,7 +4,7 @@ import { defineConfig } from 'vite'
export default defineConfig({
build: {
lib: {
entry: resolve(import.meta.dirname, './mnswpr.js'),
entry: resolve(import.meta.dirname, './lib/mnswpr.js'),
name: 'mnswpr',
fileName: 'mnswpr'
}