members-database/package.json
2024-08-23 09:10:49 +02:00

39 lines
1.3 KiB
JSON

{
"name": "@ehrenamt/members_database",
"version": "0.0.4",
"description": "database package across administration, webpage and fireportal",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"migrate_": "npm run migrate --name=%npm_config_name%",
"migrate": "set PKGMODE=migration && npx typeorm-ts-node-commonjs migration:generate ./migrations/%npm_config_name% -d ./data-source.ts",
"update-database": "set PKGMODE=update-database && npx typeorm-ts-node-commonjs migration:run -d ./data-source.ts",
"build": "tsup index.ts --format cjs,esm --dts && npx fix-tsup-cjs",
"buildAndPublish": "npm run build && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://forgejo.jk-effects.cloud/Ehrenamt/members-database.git"
},
"keywords": [
"Feuerwehr"
],
"author": "JK Effects",
"license": "GPL-3.0-only",
"dependencies": {
"mysql": "^2.18.1",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/mysql": "^2.15.21",
"@types/node": "^16.18.41",
"ts-node": "10.7.0",
"tsup": "^7.2.0",
"typescript": "^4.5.2"
},
"publishConfig": {
"@ehrenamt:registry": "https://npm.registry.jk-effects.cloud"
}
}