diff --git a/package.json b/package.json index fd4b998..3807a67 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "files": [ "dist/*" ], - "scripts": {}, + "scripts": { + "build": "esbuild src/index.js --minify --bundle --format=esm --target=es2017 --outfile=dist/index.js" + }, "repository": { "type": "git", "url": "git+https://github.com/bytedo/nine-core.git"