Skip to content

Commit

Permalink
use npm prepare intead of postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronmoreau committed Oct 3, 2021
1 parent 1c4f925 commit 752499c
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 2,093 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "run-wasm-workspace",
"name": "run-wasm",
"version": "0.0.1",
"description": "Run WASM based code executions in the browser easily",
"private": true,
"keywords": [
"wasm",
"editor",
Expand All @@ -11,10 +12,6 @@
"repository": "https://github.com/slipHQ/wasm-run.git",
"author": "Kenneth Cassel <kennethcassel@gmail.com>",
"license": "Apache-2.0",
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@commitlint/cli": "12.1.1",
"@commitlint/config-conventional": "12.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/run-wasm-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"typescript": "^4.4.3"
},
"scripts": {
"postinstall": "npm run build",
"prepare": "npm run build",
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/run-wasm-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"typescript": "^4.4.3"
},
"scripts": {
"postinstall": "npm run build",
"prepare": "npm run build",
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/run-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"typescript": "^4.4.3"
},
"scripts": {
"postinstall": "npm run build",
"prepare": "npm run build",
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
Expand Down
Loading

0 comments on commit 752499c

Please sign in to comment.