The build directory should be removed, build.js should be at the root (or in a scripts directory) and builder/node_modules should be removed and added to "devDependencies": {} in package.json
Then, a scripts key could be added to package.json.
"scripts": {
"build": "node build.js"
},
This would make the build command: npm run build
The
builddirectory should be removed,build.jsshould be at the root (or in ascriptsdirectory) andbuilder/node_modulesshould be removed and added to"devDependencies": {}in package.jsonThen, a
scriptskey could be added to package.json.This would make the build command:
npm run build