Use `postinstall` script (#135)

This commit is contained in:
Piotr Rogowski 2022-10-23 15:20:23 +02:00 committed by GitHub
parent 1590dce535
commit 41780f27cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
package-lock.json generated
View File

@ -7,6 +7,7 @@
"": {
"name": "@hyper-tuner/ini",
"version": "0.6.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@hyper-tuner/types": "^0.4.0",

View File

@ -17,7 +17,7 @@
],
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"postinstall": "npm run build",
"start": "tsc --watch",
"lint": "tsc && eslint --max-warnings=0 src/**/*.ts src/*.ts",
"test": "npm run build && node test/test.js",