Copying binaries during "install" instead of "postinstall"
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
.github
|
|
||||||
build
|
|
||||||
src
|
|
||||||
|
|
||||||
*.log
|
|
||||||
.DS_Store
|
|
||||||
node_modules
|
|
||||||
.cache
|
|
||||||
*.lock
|
|
||||||
1
.prettierignore
Normal file
1
.prettierignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
build
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mep-agency/local-dev-db",
|
"name": "@mep-agency/local-dev-db",
|
||||||
"version": "1.0.0-alpha3",
|
"version": "1.0.0-alpha4",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A zero-config local MariaDB instance for local development (using Docker)",
|
"description": "A zero-config local MariaDB instance for local development (using Docker)",
|
||||||
"author": "Marco Lipparini <developer@liarco.net>",
|
"author": "Marco Lipparini <developer@liarco.net>",
|
||||||
@@ -21,11 +21,11 @@
|
|||||||
"url": "https://github.com/mep-agency/local-dev-db/issues"
|
"url": "https://github.com/mep-agency/local-dev-db/issues"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rm -rf ./bin && rm -rf ./build && tsc && pkg -c package.json ./build/src/index.js && yarn postinstall",
|
"build": "rm -rf ./bin && rm -rf ./build && tsc && pkg -c package.json ./build/src/index.js",
|
||||||
"watch": "tsc --watch",
|
"watch": "tsc --watch",
|
||||||
"format": "prettier --write \"**/*.{ts,md,scss,css,js}\"",
|
"format": "prettier --write \"**/*.{ts,md,scss,css,js}\"",
|
||||||
"lint": "prettier --check \"**/*.{ts,md,scss,css,js}\"",
|
"lint": "prettier --check \"**/*.{ts,md,scss,css,js}\"",
|
||||||
"postinstall": "node postinstall.js install"
|
"install": "node lifecycle.js install"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"ldd": "./ldd"
|
"ldd": "./ldd"
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"bin",
|
"bin",
|
||||||
"docker",
|
"docker",
|
||||||
"postinstall.js",
|
"lifecycle.js",
|
||||||
"LICENCE",
|
"LICENCE",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user