Skip to content

Commit

Permalink
complete self-build
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Dec 21, 2022
1 parent bc84a3f commit 8ec1520
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions build-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ rm -r dist-api dist-cli

cp package.dist.json dist/package.json
cp api.d.ts dist/
cp README.md dist/
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"chalk-template": "^0.4.0",
"commander": "^9.4.1",
"eslint": "^8.30.0",
"js-component-tools": "^0.1.3",
"js-component-tools": "^0.2.0",
"mkdirp": "^1.0.4",
"mocha": "^10.2.0",
"ora": "^6.1.2",
Expand All @@ -28,10 +28,10 @@
"build:wasm": "cargo build --workspace --target wasm32-unknown-unknown --release",
"build:js-transpiler-bindgen": "npm run build:component:js-transpiler-bindgen && npm run build:transpile:js-transpiler-bindgen",
"build:wasm-tools": "npm run build:component:wasm-tools && npm run build:transpile:wasm-tools",
"build:component:js-transpiler-bindgen": "./dist/cli.mjs new target/wasm32-unknown-unknown/release/js_transpiler_bindgen.wasm -o obj/js-transpiler-bindgen.wasm",
"build:component:wasm-tools": "./dist/cli.mjs new target/wasm32-unknown-unknown/release/wasm_tools_js.wasm -o obj/wasm-tools.wasm",
"build:transpile:js-transpiler-bindgen": "./dist/cli.mjs transpile obj/js-transpiler-bindgen.wasm --compat --map console=../lib/console.js --out-dir obj",
"build:transpile:wasm-tools": "./dist/cli.mjs transpile obj/wasm-tools.wasm --map console=../lib/console.js --compat --out-dir obj",
"build:component:js-transpiler-bindgen": "jsct new target/wasm32-unknown-unknown/release/js_transpiler_bindgen.wasm -o obj/js-transpiler-bindgen.wasm",
"build:component:wasm-tools": "jsct new target/wasm32-unknown-unknown/release/wasm_tools_js.wasm -o obj/wasm-tools.wasm",
"build:transpile:js-transpiler-bindgen": "jsct transpile obj/js-transpiler-bindgen.wasm --compat --map console=../lib/console.js --out-dir obj",
"build:transpile:wasm-tools": "jsct transpile obj/wasm-tools.wasm --map console=../lib/console.js --compat --out-dir obj",
"lint": "eslint -c eslintrc.cjs src/**/*.js",
"test": "mocha -u tdd test/test.js",
"test:dev": "mocha -u tdd -b test/test.js -n conditions=test"
Expand Down

0 comments on commit 8ec1520

Please sign in to comment.