Skip to content

Commit fdf07ae

Browse files
chore(publish): ensure build is done before publishing
1 parent e65f53a commit fdf07ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "Enhanced Monaco editor with TextMate grammars and more",
66
"scripts": {
77
"build": "rollup --config rollup.config.ts --configPlugin typescript && npm run generate-types",
8+
"prepublishOnly": "npm run build",
89
"generate-types": "tsc --project tsconfig.types.json",
910
"update-extensions": "ts-node update-extensions.ts"
1011
},
@@ -83,4 +84,4 @@
8384
"not IE 11",
8485
"not IE_Mob 11"
8586
]
86-
}
87+
}

0 commit comments

Comments
 (0)