Skip to content

Commit

Permalink
chore: Enable source maps for npm start stack traces
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Jun 8, 2024
1 parent 208d98f commit 0318fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"clean": "git clean -fdxe node_modules",
"lint": "eslint src/",
"prettier": "prettier --write .",
"prestart": "npm run build:node",
"start": "node -i -e 'YAML=require(\"./dist/index.js\")'",
"prestart": "rollup --sourcemap -c config/rollup.node-config.mjs",
"start": "node --enable-source-maps -i -e 'YAML=require(\"./dist/index.js\");const{parse,parseDocument,parseAllDocuments}=YAML'",
"test": "jest --config config/jest.config.js",
"test:all": "npm test && npm run test:types && npm run test:dist && npm run test:dist:types",
"test:browsers": "cd playground && npm test",
Expand Down

0 comments on commit 0318fc5

Please sign in to comment.