Skip to content
Snippets Groups Projects
package.json 1.08 KiB
Newer Older
  • Learn to ignore specific revisions
  • James Long's avatar
    James Long committed
    {
      "name": "@actual-app/api",
    
    James Long's avatar
    James Long committed
      "license": "MIT",
    
    James Long's avatar
    James Long committed
      "description": "An API for Actual",
    
      "main": "dist/index.js",
    
      "types": "@types/index.d.ts",
    
      "files": [
    
    Jed Fox's avatar
    Jed Fox committed
        "dist"
    
        "build:app": "yarn workspace loot-core build:api",
    
        "build:node": "tsc --p tsconfig.dist.json && tsc-alias -p tsconfig.dist.json",
    
    Jed Fox's avatar
    Jed Fox committed
        "build:migrations": "cp migrations/*.sql dist/migrations",
        "build:default-db": "cp default-db.sqlite dist/",
    
        "build": "yarn run clean && yarn run build:app && yarn run build:node && yarn run build:migrations && yarn run build:default-db",
        "test": "yarn run build:app && jest -c jest.config.js",
        "clean": "rm -rf dist @types"
    
    James Long's avatar
    James Long committed
      "dependencies": {
    
        "better-sqlite3": "^9.3.0",
    
      },
      "devDependencies": {
    
        "@swc/core": "^1.3.105",
        "@swc/jest": "^0.2.31",
    
        "@types/jest": "^27.5.2",
    
        "tsc-alias": "^1.8.8",
    
        "typescript": "^5.0.2"
    
    James Long's avatar
    James Long committed
      }
    }