chore: build scripts
This commit is contained in:
parent
41829086c5
commit
2d7f7d0ebb
3 changed files with 6 additions and 1 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"dev": "pnpm -F mnswpr dev",
|
"dev": "pnpm -F mnswpr dev",
|
||||||
"test:watch": "vitest",
|
"test:watch": "vitest",
|
||||||
|
"build": "pnpm -r --filter \"./packages/*\" run build",
|
||||||
"build:lib": "vite build packages/mnswpr",
|
"build:lib": "vite build packages/mnswpr",
|
||||||
"publish:lib": "node scripts/publish-lib.js",
|
"publish:lib": "node scripts/publish-lib.js",
|
||||||
"release": "pnpm build:lib && pnpm -F @ayo-run/mnswpr run release && pnpm publish:lib",
|
"release": "pnpm build:lib && pnpm -F @ayo-run/mnswpr run release && pnpm publish:lib",
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@
|
||||||
"url": "https://github.com/ayo-run/mnswpr"
|
"url": "https://github.com/ayo-run/mnswpr"
|
||||||
},
|
},
|
||||||
"main": "leader-board.js",
|
"main": "leader-board.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "vite build"
|
||||||
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./dist/leader-board.js"
|
"default": "./dist/leader-board.js"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@ayo-run/mnswpr",
|
"name": "@cozy-games/mnswpr",
|
||||||
"version": "0.4.36",
|
"version": "0.4.36",
|
||||||
"description": "Classic Minesweeper browser game",
|
"description": "Classic Minesweeper browser game",
|
||||||
"author": "Ayo",
|
"author": "Ayo",
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://mnswpr.com",
|
"homepage": "https://mnswpr.com",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "vite build",
|
||||||
"release": "bumpp && node ../../scripts/release.js"
|
"release": "bumpp && node ../../scripts/release.js"
|
||||||
},
|
},
|
||||||
"main": "mnswpr.js",
|
"main": "mnswpr.js",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue