Skip to content

Commit 64fc042

Browse files
committed
Generate src/index.cjs before publish
1 parent 9c0f94c commit 64fc042

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
@@ -29,7 +29,8 @@
2929
"scripts": {
3030
"build": "rollup --config",
3131
"test": "mocha spec/*.spec.js",
32-
"lint": "standard src/index.js spec"
32+
"lint": "standard src/index.js spec",
33+
"prepublishOnly": "npm run build"
3334
},
3435
"homepage": "http://github.com/mogztter/asciidoctor-opal-node-runtime",
3536
"bugs": "https://github.com/mogztter/asciidoctor-opal-node-runtime/issues",

0 commit comments

Comments
 (0)