diff --git a/package.json b/package.json index 993e48e..8520792 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,8 @@ "zip": "zip-build dist release --template '%NAME%_%VERSION%.%EXT%' --override", "package": "npm run build:production && npm run zip", "package:debug": "cross-env DEBUG_PROD=true npm run package", - "start:core": "cd ../paranext-core && npm run start", - "start": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch\" \"npm:start:core\"", - "start:production": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch:production\" \"npm:start:core\"", + "start": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch\" \"npm:core:start\"", + "start:production": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch:production\" \"npm:core:start\"", "lint": "npm run lint:scripts && npm run lint:styles && npm run lint:typecheck", "lint:scripts": "cross-env NODE_ENV=development eslint --ext .cjs,.js,.jsx,.ts,.tsx --cache .", "lint:styles": "stylelint **/*.{css,scss} --allow-empty-input", @@ -29,7 +28,12 @@ "lint-fix:scripts": "npm run format && npm run lint:scripts", "bump-versions": "ts-node ./lib/bump-versions.ts", "test": "jest", - "test:coverage": "jest --coverage" + "test:coverage": "jest --coverage", + "core:start": "npm --prefix ../paranext-core start", + "core:stop": "npm --prefix ../paranext-core stop", + "core:install": "npm --prefix ../paranext-core install", + "core:pull": "git -C ../paranext-core pull --ff-only", + "core:update": "npm run core:pull && npm run core:install" }, "browserslist": [], "peerDependencies": {