Skip to content

Commit

Permalink
Merge pull request #5 from trezm/bug/prepare_to_postinstall
Browse files Browse the repository at this point in the history
bug: Move prepare script to postinstall
  • Loading branch information
skynetcap authored Jan 6, 2023
2 parents 5224971 + 2035874 commit ed37906
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/associated-token/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"docs": "typedoc --out ../../docs/associated-token --mode library --composite false --rootDir src src/index.ts src/*.d.ts",
"test": "",
"clean": "rm -rf dist",
"prepare": "run-s clean build"
"postinstall": "run-s clean build"
},
"peerDependencies": {
"@solana/web3.js": "^0.90.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/borsh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"docs": "typedoc --out ../../docs/borsh --mode library --composite false --rootDir src src/index.ts src/*.d.ts",
"test": "",
"clean": "rm -rf dist",
"prepare": "run-s clean build"
"postinstall": "run-s clean build"
},
"dependencies": {
"bn.js": "^5.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"watch": "tsc --watch",
"test": "jest test",
"clean": "rm -rf dist",
"prepare": "run-s clean build"
"postinstall": "run-s clean build"
},
"dependencies": {
"@project-serum/serum": "^0.13.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build": "tsc",
"start": "tsc --watch",
"clean": "rm -rf dist",
"prepare": "run-s clean build",
"postinstall": "run-s clean build",
"docs": "typedoc --out ../../docs/pool --mode library --composite false --rootDir src src/index.ts src/*.d.ts",
"test": "run-s test:build test:unit test:lint",
"test:build": "run-s build",
Expand Down
2 changes: 1 addition & 1 deletion packages/serum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "tsc",
"start": "tsc --watch",
"clean": "rm -rf lib",
"prepare": "run-s clean build",
"postinstall": "run-s clean build",
"shell": "node -e \"$(< shell)\" -i --experimental-repl-await",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
Expand Down
4 changes: 2 additions & 2 deletions packages/swap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"scripts": {
"build": "tsc",
"start": "tsc --watch",
"clean": "rm -rf lib",
"clean": "rm -rf lib",
"docs": "typedoc --excludePrivate --out ../../docs/swap src/index.ts --includeVersion --readme none",
"prepare": "run-s clean build",
"postinstall": "run-s clean build",
"shell": "node -e \"$(< shell)\" -i --experimental-repl-await"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/token/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"start": "tsc --watch",
"test": "",
"clean": "rm -rf dist",
"prepare": "run-s clean build"
"postinstall": "run-s clean build"
},
"dependencies": {
"@project-serum/borsh": "^0.0.1-beta.0",
Expand Down

0 comments on commit ed37906

Please sign in to comment.