Skip to content

Commit 5ada3b8

Browse files
authored
Merge pull request #5 from dabapps/prepublish-script
Prepublish script
2 parents bb11da3 + 739efce commit 5ada3b8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dabapps/django-s3-file-upload",
3-
"version": "0.0.0",
3+
"version": "0.0.1",
44
"description": "Upload files from the browser to S3 - client side implementation",
55
"main": "dist/index.js",
66
"directories": {},
@@ -14,7 +14,8 @@
1414
"prettier-check": "prettier --check '**/*.{ts,tsx,js,jsx}'",
1515
"prettier": "prettier --write '**/*.{ts,tsx,js,jsx}'",
1616
"tests": "jest",
17-
"test": "npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage"
17+
"test": "npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage",
18+
"prepublishOnly": "npm run dist"
1819
},
1920
"repository": {
2021
"type": "git",

0 commit comments

Comments
 (0)