Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #234 from reillyeon/source-map-support
Browse files Browse the repository at this point in the history
Add source map support for stack traces in Node.js
  • Loading branch information
BruceDai authored Nov 14, 2023
2 parents a4eecad + 82687ed commit 866d72b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"lint": "npm run lint-ts && npm run lint-js",
"fix-lint": "npm run lint-ts -- --fix && npm run lint-js -- --fix",
"format": "clang-format --glob=\"{{src,test}/**/*.ts,{src,test}/**/*.js}\" --style=file -i",
"test": "cross-env NODE_ENV=test mocha --require ./node_setup.js --exit test/*/*.js --exclude test/ops/relu_sw.js test/cts/from_nnapi/tests/cts.js ./test/models/**/*.js",
"test-cts": "cross-env NODE_ENV=test mocha --require ./node_setup.js --exit test/cts/from_nnapi/tests/cts.js",
"test-models": "cross-env NODE_ENV=test mocha --require ./node_setup.js --exit ./test/models/**/*.js",
"test-ops": "cross-env NODE_ENV=test mocha --require ./node_setup.js --exit test/ops/*.js --exclude test/ops/relu_sw.js"
"test": "cross-env NODE_ENV=test mocha --require source-map-support/register --require ./node_setup.js --exit test/*/*.js --exclude test/ops/relu_sw.js test/cts/from_nnapi/tests/cts.js ./test/models/**/*.js",
"test-cts": "cross-env NODE_ENV=test mocha --require source-map-support/register --require ./node_setup.js --exit test/cts/from_nnapi/tests/cts.js",
"test-models": "cross-env NODE_ENV=test mocha --require source-map-support/register --require ./node_setup.js --exit ./test/models/**/*.js",
"test-ops": "cross-env NODE_ENV=test mocha --require source-map-support/register --require ./node_setup.js --exit test/ops/*.js --exclude test/ops/relu_sw.js"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -70,6 +70,7 @@
"http-server": "^14.1.1",
"mocha": "^10.2.0",
"portfinder": "^1.0.28",
"source-map-support": "^0.5.21",
"terser-webpack-plugin": "^4.2.3",
"ts-loader": "^8.2.0",
"typedoc": "^0.23.24",
Expand Down

0 comments on commit 866d72b

Please sign in to comment.