Skip to content
Snippets Groups Projects
package.json 2.95 KiB
Newer Older
  • Learn to ignore specific revisions
  • James Long's avatar
    James Long committed
    {
      "name": "actual",
      "version": "0.0.1",
      "private": true,
    
      "description": "A local-first personal finance system",
    
      "homepage": "https://github.com/actualbudget/actual/",
      "bugs": {
        "url": "https://github.com/actualbudget/actual/issues/"
      },
      "repository": {
        "type": "git",
        "url": "git@github.com:actualbudget/actual.git"
      },
    
    James Long's avatar
    James Long committed
      "license": "MIT",
    
    James Long's avatar
    James Long committed
      "workspaces": {
        "packages": [
          "packages/*"
        ],
        "nohoist": [
          "**/better-sqlite3",
          "**/better-sqlite3/**",
          "mobile/react-native",
          "mobile/react-native-*",
          "mobile/rn-fetch-blob",
          "mobile/**/event-target-shim",
          "mobile/@sentry/react-native",
          "mobile/nodejs-mobile-react-native",
          "**/mobile/nodejs-mobile-react-native/**",
          "**/@react-native-community/**",
          "**/@react-navigation/**",
          "mobile/react-navigation",
          "mobile/react-navigation-tabs",
          "mobile/rn-snoopy",
          "mobile/rn-snoopy/**",
          "mobile/detox",
          "mobile/detox/**",
          "mobile/jsc-android",
          "mobile/jsc-android/**",
          "**/react-native-web",
          "**/react-native-web/**",
          "**/@sentry/cli"
        ]
      },
      "scripts": {
    
        "start": "npm-run-all --parallel 'start:desktop-*'",
    
        "start:desktop-node": "yarn workspace loot-core watch:node",
        "start:desktop-client": "yarn workspace @actual-app/web watch",
        "start:desktop-electron": "yarn workspace Actual watch",
    
        "start:browser": "npm-run-all --parallel 'start:browser-*'",
    
        "start:browser-backend": "yarn workspace loot-core watch:browser",
        "start:browser-frontend": "yarn workspace @actual-app/web start:browser",
    
    James Long's avatar
    James Long committed
        "test": "./node_modules/.bin/jest --maxWorkers=4",
        "test:debug": "node ./node_modules/.bin/jest --runInBand --useStderr",
        "test:debug-brk": "node --inspect-brk ./node_modules/.bin/jest --runInBand",
        "rebuild-electron": "./node_modules/.bin/electron-rebuild -f -m ./packages/loot-core",
    
        "rebuild-node": "yarn workspace loot-core rebuild",
        "lint": "yarn workspace loot-core lint",
    
    James Long's avatar
    James Long committed
        "postinstall": "rm -rf ./packages/loot-design/node_modules/react && rm -rf ./packages/mobile/node_modules/react && rm -rf ./node_modules/react-native && patch-package"
      },
      "devDependencies": {
    
    James Long's avatar
    James Long committed
        "prettier": "^1.18.1",
        "pretty-quick": "^1.11.1",
        "shelljs": "^0.8.2",
        "source-map-support": "^0.5.21"
      },
      "eslintConfig": {
        "extends": "react-app",
        "rules": {
          "no-unused-vars": "off",
          "no-loop-func": "off",
          "no-restricted-globals": "off"
        }
      },
      "prettier": {
        "singleQuote": true,
        "trailingComma": "none"
      },
      "resolutions": {
        "@babel/preset-env": "^7.15.1",
        "@babel/core": "^7.15.1",
        "@babel/runtime": "^7.15.1",
    
        "@babel/helper-plugin-utils": "^7.14.5",
        "react-error-overlay": "6.0.9"
    
      },
      "packageManager": "yarn@3.2.0"
    
    James Long's avatar
    James Long committed
    }