Compare commits

..

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

3 changed files with 6 additions and 9 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@ayo-run/mnswpr",
"version": "0.4.31",
"version": "0.4.28",
"description": "Classic Minesweeper browser game",
"author": "Ayo",
"type": "module",
@ -8,9 +8,9 @@
"type": "git",
"url": "https://github.com/ayo-run/mnswpr"
},
"homepage": "https://mnswpr.com",
"scripts": {
"release": "bumpp && node ../scripts/release.js"
"publish": "npm publish",
"release": "bumpp && node ../scripts/release.js && publish"
},
"main": "mnswpr.js",
"exports": {

View file

@ -9,16 +9,13 @@
"type": "git",
"url": "https://github.com/ayo-run/mnswpr"
},
"homepage": "https://mnswpr.com",
"scripts": {
"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'
}