Skip to content

Commit 3e24818

Browse files
committed
Add and standardize paranext-core scripts
1 parent 4756ca6 commit 3e24818

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,20 @@
1818
"zip": "zip-build dist release --template '%NAME%_%VERSION%.%EXT%' --override",
1919
"package": "npm run build:production && npm run zip",
2020
"package:debug": "cross-env DEBUG_PROD=true npm run package",
21-
"start:core": "cd ../paranext-core && npm run start",
22-
"start": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch\" \"npm:start:core\"",
23-
"start:production": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch:production\" \"npm:start:core\"",
21+
"start": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch\" \"npm:core:start\"",
22+
"start:production": "cross-env MAIN_ARGS=\"--extensions $INIT_CWD/dist\" concurrently \"npm:watch:production\" \"npm:core:start\"",
2423
"lint": "npm run lint:scripts && npm run lint:styles",
2524
"lint:scripts": "cross-env NODE_ENV=development eslint --ext .cjs,.js,.jsx,.ts,.tsx --cache .",
2625
"lint:styles": "stylelint **/*.{css,scss} --allow-empty-input",
2726
"lint-fix": "npm run lint-fix:scripts && npm run lint:styles -- --fix",
2827
"lint-fix:scripts": "npm run format && npm run lint:scripts",
2928
"bump-versions": "ts-node ./lib/bump-versions.ts",
3029
"test": "jest",
31-
"test:coverage": "jest --coverage"
30+
"test:coverage": "jest --coverage",
31+
"core:start": "cd ../paranext-core && npm run start",
32+
"core:pull": "git -C ../paranext-core pull --ff-only",
33+
"core:install": "npm --prefix ../paranext-core install",
34+
"core:update": "npm run core:pull && npm run core:install"
3235
},
3336
"browserslist": [],
3437
"peerDependencies": {

0 commit comments

Comments
 (0)