Skip to content

Commit 8dd7e56

Browse files
committed
chore: Add postinstall script to allow from git installation
1 parent 68e3a1e commit 8dd7e56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"clean": "rimraf ./dist ./test/generated ./test/e2e/generated ./samples/generated ./coverage ./node_modules/.cache",
4646
"build": "rollup --config --environment NODE_ENV:development",
4747
"build:watch": "rollup --config --environment NODE_ENV:development --watch",
48+
"postinstall": "npm run build",
4849
"release": "rollup --config --environment NODE_ENV:production",
4950
"validate": "tsc --project tsconfig.json --noEmit",
5051
"run": "node ./test/index.js",
@@ -122,4 +123,4 @@
122123
"resolutions": {
123124
"node-fetch": "2.6.7"
124125
}
125-
}
126+
}

0 commit comments

Comments
 (0)