Skip to content

Commit

Permalink
Remove postinstall set:tfjs command (#182)
Browse files Browse the repository at this point in the history
* Move set:tfjs to prepare step

* Publish next canary version
  • Loading branch information
Kevin Scott committed Jan 29, 2022
1 parent d0f1522 commit 627b56c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.10.0-canary.0",
"version": "0.10.0-canary.1",
"private": true,
"workspaces": [
"packages/*",
Expand Down
5 changes: 2 additions & 3 deletions packages/upscalerjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "upscaler",
"version": "0.10.0-canary.0",
"version": "0.10.0-canary.1",
"description": "Increase Image resolution with Tensorflow.js",
"exports": {
"./node": "./dist/cjs/cjs.js",
Expand Down Expand Up @@ -47,8 +47,7 @@
"set:tfjs": "node ../../scripts/set-tfjs.ts",

"docs:serve": "docsify serve docs --port 3030",
"postinstall": "yarn set:tfjs '@tensorflow/tfjs'",
"prepare": "yarn build",
"prepare": "yarn set:tfjs '@tensorflow/tfjs' && yarn build",
"preversion": "yarn lint",
"prepublishOnly": "yarn test && yarn lint",
"format": "echo 'Formatting code' && prettier --write \"src/**/*.ts\"",
Expand Down

0 comments on commit 627b56c

Please sign in to comment.