Skip to content

Commit

Permalink
test: use dev build for the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 21, 2024
1 parent c92fc03 commit 02d6727
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
"scripts": {
"clean": "shx rm -rf dist",
"build": "run-s clean lib:js:build",
"build:dev": "run-s clean lib:js:build:dev",
"dev": "run-p lib:watch lib:test:watch",
"serve": "serve dist -p 8080",
"test": "run-s build test:lib test:quickstart",
"test": "run-s build:dev test:lib test:quickstart",
"test:lib": "node ./test/test-runner.mjs",
"test:quickstart": "(cd examples/quickstart && pnpm install && npm run test)",
"lint": "prettier --write **/*.js **/*.ts **/*.json !build/**/* !dist/**/*",
Expand Down
6 changes: 4 additions & 2 deletions rollup.lib.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ const libBundles = [
input: "transform.ts",
output: {
file: "dist/transform.cjs.js",
format: "cjs"
format: "cjs",
sourcemap: sourcemapOption
},
external: ["assemblyscript", "visitor-as/as"],
plugins
Expand All @@ -81,7 +82,8 @@ const libBundles = [
input: "transform.ts",
output: {
file: "dist/transform.amd.js",
format: "amd"
format: "amd",
sourcemap: sourcemapOption
},
external: ["assemblyscript", "visitor-as/as"],
plugins
Expand Down

0 comments on commit 02d6727

Please sign in to comment.