Add a prepare script to build with ncc (and run it now)

This commit is contained in:
James M. Greene
2022-06-07 14:14:54 -05:00
parent 7000f2f338
commit 7891cd15e5
5 changed files with 7359 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"description": "",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt"
},
"repository": {
"type": "git",