mancala/packages/core/package.json
Halit Aksoy e165b0a0eb build: use local mancala.js and @mancala/core packages
- Apps and @mancala/core depend on the packages in this repo through
  link: dependencies instead of the npm releases, so changes no longer
  need a publish
- Root package.json gets a build:packages script that installs and
  builds both packages
- Backend and frontend Docker images are built from the repo root so
  they can include the packages; compose builds them that way
- Metro watches the packages folder and resolves their imports from the
  app's node_modules
2026-10-14 02:09:05 +03:00

49 lines
1.2 KiB
JSON

{
"name": "@mancala/core",
"description": "Mancala Core Library",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"version": "0.0.2",
"scripts": {
"dev": "yarn tsc -w",
"test": "yarn jest",
"lint": "eslint . --ext .ts",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"build": "tsc",
"prepublish": "tsc"
},
"author": "Halit Aksoy",
"license": "MIT",
"dependencies": {
"@types/uuid": "^9.0.8",
"mancala.js": "link:../mancala.js",
"tiny-emitter": "^2.1.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"eslint": "^8.14.0",
"jest": "^27.5.1",
"prettier": "^2.6.2",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"directories": {
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jhalitaksoy/mancala.git"
},
"keywords": [
"mancala",
"game"
],
"bugs": {
"url": "https://github.com/jhalitaksoy/mancala/issues"
},
"homepage": "https://github.com/jhalitaksoy/mancala#readme"
}