Skip to content

Commit ca58740

Browse files
committed
add tsc-publish script
Signed-off-by: Matthew Peveler <[email protected]>
1 parent c3402b5 commit ca58740

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"watch": "tsc -w",
1010
"test": "jest",
1111
"lint": "eslint \"src/**/*.ts\" && eslint \"test/**/*.ts\"",
12-
"lint:fix": "npm run lint -- --fix"
12+
"lint:fix": "npm run lint -- --fix",
13+
"tsc-publish": "tsc-publish",
14+
"prepublishOnly": "echo \"Do not run publish directly, run tsc-publish\" && exit 1"
1315
},
1416
"repository": {
1517
"type": "git",

0 commit comments

Comments
 (0)