41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"name": "@panic/web-core",
|
|
"version": "0.1.3",
|
|
"license": "AGPL-3.0-only",
|
|
"description": "Core auth and utilities for panic.haus web applications",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "yarn clean && vite build && tsc -p tsconfig.build.json",
|
|
"prepublishOnly": "yarn build",
|
|
"publish:nexus": "npm publish --registry ${NEXUS_NPM_REGISTRY:-https://nexus.beatrice.wtf/repository/npm-hosted/}"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://nexus.beatrice.wtf/repository/npm-hosted/",
|
|
"access": "restricted"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"typescript": "^5.6.2",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|