Strategy games and strategy game variant rules and operations in TypeScript.
based on chessops: https://github.com/niklasf/chessops/
pnpm install
rm -rf node_modules pnpm-lock.yaml && pnpm store prune && pnpm install
pnpm run prepare --watch
pnpm run test --watch
pnpm run test src/squareSet --watch
pnpm run lint
pnpm run format
- declare the link towards stratops (from project's
package.json
)
"dependencies": {
...
"stratops": "link:/path/to/stratops",
...
}
- create
.env.local
file based on .env.local.default - link back:
pnpm run link
- trigger compilation (no watch mode):
pnpm run prepare
stratops is licensed under the GNU General Public License 3 or any later version at your choice. See LICENSE.txt for details.