81 lines
2.8 KiB
JSON
81 lines
2.8 KiB
JSON
{
|
|
"name": "actual",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"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": {
|
|
"bootstrap": "./bootstrap",
|
|
"start": "npm-run-all --parallel start:desktop-*",
|
|
"start:desktop-node": "cd packages/loot-core && yarn watch:node",
|
|
"start:desktop-client": "cd packages/desktop-client && yarn watch",
|
|
"start:desktop-electron": "cd packages/desktop-electron && yarn watch",
|
|
"start:browser": "npm-run-all --parallel start:browser-*",
|
|
"start:browser-backend": "cd packages/loot-core && yarn watch:browser",
|
|
"start:browser-frontend": "cd packages/desktop-client && yarn start:browser",
|
|
"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",
|
|
"make-test-db": "./packages/loot-core/src/bin/make-test-db ./data",
|
|
"make-fresh-db": "./packages/loot-core/src/bin/migrate reset --db ./data/user1/db.sqlite",
|
|
"rebuild-electron": "./node_modules/.bin/electron-rebuild -f -m ./packages/loot-core",
|
|
"rebuild-node": "cd packages/loot-core && npm rebuild",
|
|
"lint": "cd packages/loot-core && yarn lint",
|
|
"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": {
|
|
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
|
|
"cross-env": "^5.1.5",
|
|
"husky": "^3.0.4",
|
|
"npm-run-all": "^4.1.3",
|
|
"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"
|
|
}
|
|
}
|