1
1
mirror of https://github.com/theoludwig/html-w3c-validator.git synced 2024-10-29 22:17:28 +01:00

chore: enable source maps for easier debugging

This commit is contained in:
Théo LUDWIG 2023-07-02 15:23:04 +02:00
parent eb970f1823
commit c7bf82135b
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
2 changed files with 5 additions and 2 deletions

1
.swcrc
View File

@ -1,4 +1,5 @@
{
"sourceMaps": true,
"jsc": {
"parser": {
"syntax": "typescript",

View File

@ -24,7 +24,8 @@
"bin": "build/index.js",
"files": [
"build",
"!**/*.test.js"
"!**/*.test.js",
"!**/*.map"
],
"publishConfig": {
"access": "public",
@ -37,13 +38,14 @@
"scripts": {
"build": "rimraf ./build && swc ./src --out-dir ./build",
"build:typescript": "tsc",
"start": "node --enable-source-maps build/index.js",
"lint:commit": "commitlint",
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint-cli2",
"lint:eslint": "eslint . --ignore-path .gitignore",
"lint:prettier": "prettier . --check --ignore-path .gitignore",
"lint:staged": "lint-staged",
"test": "node --test build/",
"test": "node --enable-source-maps --test build/",
"release": "semantic-release"
},
"dependencies": {