diff --git a/apps/api/package.json b/apps/api/package.json index e3a7d9afc..8a7fec70d 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -1,7 +1,22 @@ { - "name": "@metad/server-api", + "name": "@metad/ocap-api", "version": "0.0.1", - "description": "API services of Metad Server", + "description": "Metad OCAP API", + "license": "AGPL-3.0", + "homepage": "https://mtda.cloud", + "repository": { + "type": "git", + "url": "https://github.com/meta-d/ocap.git" + }, + "bugs": { + "url": "https://github.com/meta-d/ocap/issues" + }, + "private": true, + "author": { + "name": "Metad Co. LTD", + "email": "service@mtda.cloud", + "url": "https://mtda.cloud" + }, "scripts": { "ng": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 yarn nx", "typeorm": "yarn ts-node -r tsconfig-paths/register --project apps/api/tsconfig.app.json node_modules/.bin/typeorm", @@ -10,6 +25,7 @@ "typeorm:flush": "yarn typeorm migration:revert", "typeorm:create": "yarn typeorm migration:create", "typeorm:preserve": "yarn typeorm:sync -- -f=ormconfig && yarn typeorm:seeds -- -f=ormconfig", + "start:debug": "nodemon --config nodemon-debug.json", "build": "yarn ng build api", "build:prod": "yarn ng build api --prod", "seed": "cross-env NODE_ENV=development NODE_OPTIONS=--max_old_space_size=8192 yarn ts-node -r tsconfig-paths/register --project apps/api/tsconfig.app.json src/seed.ts", diff --git a/package.json b/package.json index 9e1dea3fd..a08b7b993 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,23 @@ { "name": "ocap", - "author": "Metad", "version": "1.18.0", + "description": "", + "license": "AGPL-3.0", + "homepage": "https://mtda.cloud", + "repository": { + "type": "git", + "url": "https://github.com/meta-d/ocap.git" + }, + "bugs": { + "url": "https://github.com/meta-d/ocap/issues" + }, + "private": true, + "author": { + "name": "Metad Co. LTD", + "email": "service@mtda.cloud", + "url": "https://mtda.cloud" + }, + "keywords": ["ocap", "BI", "MDX"], "scripts": { "start": "concurrently \"yarn start:api\" \"yarn start:olap\" \"yarn start:cloud\"", "start:cloud": "nx serve cloud --disableHostCheck --host 0.0.0.0", @@ -13,7 +29,7 @@ "start:olap": "yarn --cwd ./packages/olap start", "start:api": "yarn build:package:all && yarn nx serve api", "start:api:dev": "nodemon", - "start:api:debug": "nodemon --config nodemon-debug.json", + "start:api:debug": "yarn --cwd ./apps/api start:debug", "storybook": "concurrently \"yarn:w:sb:*\"", "w:sb:tw": "npx tailwindcss -c packages/angular/tailwind.config.js -i ./packages/angular/_index.scss -o ./packages/angular/.storybook/index.css -m1 --watch", "w:sb:ocap-angular": "npx nx storybook ocap-angular", @@ -36,7 +52,6 @@ "b:sb:ocap-angular": "yarn nx run ocap-angular:build-storybook", "b:docs": "concurrently \"yarn --cwd ./packages/store docs\" \"yarn --cwd ./packages/core docs\" \"yarn --cwd ./packages/xmla docs\" \"yarn --cwd ./packages/sql docs\" \"yarn --cwd ./packages/echarts docs\" \"yarn --cwd ./packages/duckdb docs\" \"yarn b:sb:ocap-angular\"" }, - "private": true, "dependencies": { "@angular/animations": "~17.0.0", "@angular/cdk": "^17.0.0",