mirror of
https://github.com/tiennm99/thptqg2017.git
synced 2026-07-29 16:22:44 +00:00
Replace package-lock.json with pnpm-lock.yaml, add packageManager field, update package.json scripts from npm run to pnpm, and update GitHub Actions workflow to use pnpm/action-setup@v4 with frozen-lockfile installs.
45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "thptqg2017",
|
|
"private": true,
|
|
"packageManager": "pnpm@11.1.1",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Tra cứu điểm thi THPT QG 2017",
|
|
"scripts": {
|
|
"build:db": "node scripts/build-database.js",
|
|
"build:db:old": "node scripts/build-database-old.js",
|
|
"build:db:old2": "node scripts/build-database-old2.js",
|
|
"build:db:all": "pnpm build:db && pnpm build:db:old && pnpm build:db:old2",
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:old": "node -e \"process.env.VARIANT='old';require('child_process').spawnSync('npx',['vite','build'],{stdio:'inherit',shell:true,env:process.env})\"",
|
|
"build:old2": "node -e \"process.env.VARIANT='old2';require('child_process').spawnSync('npx',['vite','build'],{stdio:'inherit',shell:true,env:process.env})\"",
|
|
"build:all": "pnpm build && pnpm build:old && pnpm build:old2",
|
|
"preview": "vite preview",
|
|
"lint": "eslint ."
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tiennm99/thptqg2017.git"
|
|
},
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"sql.js": "^1.14.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"better-sqlite3": "^12.8.0",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.4.0",
|
|
"vite": "^8.0.4",
|
|
"xlsx": "^0.18.5"
|
|
}
|
|
}
|