Browse Source

added npm commands for keeping subtree updated

main
deicidus 3 years ago
parent
commit
1c2aa49a7e
  1. 2
      README.md
  2. 4
      package.json

2
README.md

@ -1,6 +1,6 @@
# AO API Server (ao-server) # AO API Server (ao-server)
An AO server, or AO API server keeps track of the history of a single community. One or more users can connect to the same AO server and communicate. The AO API server (or 'AO server') keeps track of the history of a single community. One or more users can connect to the same AO server and communicate.
## Installation ## Installation

4
package.json

@ -5,7 +5,9 @@
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"build": "npx tsc --project tsconfig.json", "build": "npx tsc --project tsconfig.json",
"serve": "npm run build && node --loader ts-node/esm src/server/app.ts" "serve": "npm run build && node --loader ts-node/esm src/server/app.ts",
"ao-lib:update": "git fetch ao-lib && git subtree pull --prefix src/ao-lib ao-lib main --squash",
"ao-lib:push": "git subtree push --prefix=src/ao-lib ao-lib main"
}, },
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {

Loading…
Cancel
Save