Browse Source

DRAFT,FIX: module is uninstallable

Apparently there are cases where "postinstall script"
might break the installation of a module
when installed via git.

Further circular script call for prepare was removed,
keeping a cleaner source for potential failures.
master
chris 3 weeks ago
parent
commit
8708edd8bb
  1. 3
      package.json

3
package.json

@ -11,8 +11,7 @@
"/src" "/src"
], ],
"scripts": { "scripts": {
"prepare": "npm run build", "prepare": "node build.js true",
"postinstall": "node build.js true",
"generate": "node build.js true", "generate": "node build.js true",
"build": "npm run generate", "build": "npm run generate",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"

Loading…
Cancel
Save