mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Use prepare instead of build as script
The prepare script runs before publishing a package, after installation of a package from source, and when running npm install without arguments in the repository. These are the times where a build of the web interface files are required to make the web interface work and removes a manual step from using the package(s). The "build" script on the other hand is never automatically invoked by npm.
This commit is contained in:
1 parent
2973485321
commit
4d5597a1da
10 files changed
+9
-13
No files matched your search
@@ -6,7 +6,7 @@
|
||||
"version": "2.0.0-alpha.12",
|
||||
"main": "master.js",
|
||||
"scripts": {
|
||||
"build": "webpack-cli --env production",
|
||||
"prepare": "webpack-cli --env production",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"bin": {
|
||||
|
||||
Reference in new issue
Block a user