Skip to content

Commit 10524bb

Browse files
committed
Add prepare script to run build step when installing from git
1 parent dfc42c6 commit 10524bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"test:coverage": "nyc npm run test:unit",
2626
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
2727
"precommit": "npm run lint && npm run format:test",
28-
"prepush": "npm run lint && npm run test"
28+
"prepush": "npm run lint && npm run test",
29+
"prepare": "npm run build"
2930
},
3031
"author": "AWS Lambda",
3132
"license": "Apache-2.0",

0 commit comments

Comments
 (0)