Skip to content

Commit 6990041

Browse files
authored
Merge pull request #30 from datavis-tech/update-publish-script
Update prepublish script for Typescript
2 parents 623518e + bbf34e7 commit 6990041

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"scripts": {
1010
"build": "tsc",
1111
"test": "npm run build && mocha",
12-
"prepublishOnly": "browserify index.js -s GraphDataStructure -o graph-data-structure.js"
12+
"browserify": "browserify index.js -s GraphDataStructure -o graph-data-structure.js",
13+
"prepublishOnly": "npm run build && npm run browserify"
1314
},
1415
"repository": {
1516
"type": "git",

0 commit comments

Comments
 (0)