Skip to content

Commit 52b1b8a

Browse files
romancowSean Wilson
andauthored
Fix publish build (#56)
* add `prepare` script that runs build * add package.json "files" entry to dictate what will be packaged on publish (src/build was not being included due to .gitignore) --------- Co-authored-by: Sean Wilson <sean.c.wilson@vanderbilt.edu>
1 parent 313a318 commit 52b1b8a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
"plugin": "node ./node_modules/webgme-engine/src/bin/run_plugin.js",
1515
"pluginHook": "node ./node_modules/webgme-engine/src/bin/plugin_hook.js",
1616
"users": "node ./node_modules/webgme-engine/src/bin/usermanager.js",
17-
"clean_up": "node ./node_modules/webgme-engine/src/bin/clean_up.js"
17+
"clean_up": "node ./node_modules/webgme-engine/src/bin/clean_up.js",
18+
"prepare": "npm run build"
1819
},
1920
"version": "1.4.0",
21+
"files": ["config/", "src/", "app.js", "webgme-setup.json"],
2022
"peerDependencies": {
2123
"webgme": "^2.23.0"
2224
},

0 commit comments

Comments
 (0)