Skip to content

Commit 27591ea

Browse files
authored
added back line 14 of package.json
For some reason, local testing removed the "type": "module" field in the package.json. Signed-off-by: Roy Rotstein <[email protected]>
1 parent b243975 commit 27591ea

File tree

1 file changed

+33
-44
lines changed

1 file changed

+33
-44
lines changed

wasm/package.json

Lines changed: 33 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,40 @@
11
{
2-
"name": "@provablehq/wasm",
3-
"version": "0.8.6",
4-
"description": "SnarkVM WASM binaries with javascript bindings",
5-
"collaborators": [
6-
"The Provable Team"
2+
"name": "sdk-root",
3+
"private": true,
4+
"version": "0.0.0",
5+
"workspaces": [
6+
"sdk",
7+
"wasm",
8+
"website",
9+
"create-leo-app",
10+
"create-leo-app/*",
11+
"e2e",
12+
"e2e/*"
713
],
8-
"license": "GPL-3.0",
9-
10-
"main": "./dist/testnet/index.js",
11-
"browser": "./dist/testnet/index.js",
12-
"types": "./dist/testnet/index.d.ts",
13-
"exports": {
14-
".": "./dist/testnet/index.js",
15-
"./worker.js": "./dist/testnet/worker.js",
16-
"./testnet.js": "./dist/testnet/index.js",
17-
"./testnet/worker.js": "./dist/testnet/worker.js",
18-
"./mainnet.js": "./dist/mainnet/index.js",
19-
"./mainnet/worker.js": "./dist/mainnet/worker.js"
20-
},
21-
"files": [
22-
"dist",
23-
"LICENSE.md",
24-
"README.md"
25-
],
26-
"repository": {
27-
"type": "git",
28-
"url": "git+https://github.com/ProvableHQ/sdk.git"
29-
},
30-
"keywords": [
31-
"Aleo",
32-
"Blockchain",
33-
"Zero-Knowledge",
34-
"ZK"
35-
],
36-
"bugs": {
37-
"url": "https://github.com/ProvableHQ/sdk/issues"
38-
},
39-
"homepage": "https://github.com/ProvableHQ/sdk#readme",
14+
"type": "module",
4015
"scripts": {
41-
"build": "rimraf dist && node build.js",
42-
"test": "node test.js"
16+
"build:wasm": "cd wasm && yarn build",
17+
"build:sdk": "cd sdk && yarn build",
18+
"build:sdk-docs": "sh scripts/jsdoc.sh",
19+
"build:create-leo-app": "cd create-leo-app && yarn build",
20+
"build:all": "yarn build:wasm && yarn build:sdk && yarn build:create-leo-app",
21+
"start:website": "cd website && yarn dev",
22+
"test:wasm": "cd wasm && yarn test",
23+
"test:sdk": "cd sdk && yarn test",
24+
"test": "yarn test:wasm && yarn test:sdk",
25+
"change-version": "node scripts/change-version.js",
26+
"deploy:wasm": "cd wasm && npm publish --access=public",
27+
"deploy:sdk": "cd sdk && npm publish --access=public",
28+
"deploy:create-leo-app": "cd create-leo-app && npm publish --access=public",
29+
"deploy": "yarn build:all && yarn deploy:wasm && yarn deploy:sdk && yarn deploy:create-leo-app",
30+
"lint": "prettier . --check",
31+
"pretty": "prettier . --write"
32+
},
33+
"optionalDependencies": {
34+
"glob": "^11.0.1"
4335
},
4436
"devDependencies": {
45-
"@rollup/plugin-virtual": "^3.0.2",
46-
"@wasm-tool/rollup-plugin-rust": "^3.0.4",
47-
"binaryen": "^121.0.0",
48-
"rimraf": "^6.0.1",
49-
"rollup": "^4.32.0"
37+
"prettier": "3.4.2",
38+
"wasm-pack": "^0.13.1"
5039
}
5140
}

0 commit comments

Comments
 (0)