Skip to content

Commit ff378ab

Browse files
committed
Packing the core module
1 parent 6dbd9b0 commit ff378ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "git://github.com/neo4j/neo4j-javascript-driver.git"
1010
},
1111
"scripts": {
12-
"preinstall": "cd core && npm i && npm run build",
12+
"preinstall": "cd core && npm i && npm run build || true",
1313
"lint": "eslint --fix --ext .js ./",
1414
"format": "prettier-eslint '**/*.js' '**/*.json' '**/*.md' '**/*.ts' '**/*.html' --write",
1515
"test": "gulp test",
@@ -20,7 +20,8 @@
2020
"run-ts-declaration-tests": "gulp run-ts-declaration-tests",
2121
"docs": "esdoc -c esdoc.json",
2222
"versionRelease": "gulp set --x $VERSION && npm version $VERSION --no-git-tag-version",
23-
"browser": "gulp browser && gulp test-browser"
23+
"browser": "gulp browser && gulp test-browser",
24+
"prepack": "cd core && npm pack && cd .. && npm i ./core/neo4j-driver-core-4.3.0.tgz"
2425
},
2526
"husky": {
2627
"hooks": {

0 commit comments

Comments
 (0)