wonder-maze-game-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Wonder Maze Game Utils

How to install

  1. If not already installed, npm install -g yalc
  2. Go to the project folder (cd ./wonder-maze-game-utils)
  3. Execute yarn publish
  4. Go to the project folder (cd ./wonder-maze-app or others)
  5. Execute yalc add wonder-maze-game-utils

If you have to configure the project

Add the following configuration to your tsconfig.json file

{
    ...
    "compilerOptions": {
        "baseUrl": ".",
        "paths": {
            ...
            "wonder-maze-game-utils": [
                "./node_modules/wonder-maze-game-utils/src/index.tsx"
            ]
        },
        ...
    }
}

Android

Add the following configuration to your metro.config.js file

const path = require('path');
const thirdPartyPath = path.resolve(__dirname + '/../wonder-maze-game-utils/');
const thirdParty = {
  'wonder-maze-game-utils': thirdPartyPath,
};
const watchFolders = [thirdPartyPath];

module.exports = {
  resolver: {
    thirdParty,
  },
  watchFolders,
};

How to use

  1. Make changes to the package
  2. Execute yalc publish --push --no-scripts
  3. If you have dependency problems, use yalc link wonder-maze-game-utils in a consuming project

Readme

Keywords

none

Package Sidebar

Install

npm i wonder-maze-game-utils

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

27.2 kB

Total Files

12

Last publish

Collaborators

  • debrabander