mirror of
https://github.com/theoludwig/html-w3c-validator.git
synced 2024-12-08 00:45:37 +01:00
chore: enable source maps for easier debugging
This commit is contained in:
parent
eb970f1823
commit
c7bf82135b
1
.swcrc
1
.swcrc
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"sourceMaps": true,
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
|
@ -24,7 +24,8 @@
|
|||||||
"bin": "build/index.js",
|
"bin": "build/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
"build",
|
"build",
|
||||||
"!**/*.test.js"
|
"!**/*.test.js",
|
||||||
|
"!**/*.map"
|
||||||
],
|
],
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
@ -37,13 +38,14 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rimraf ./build && swc ./src --out-dir ./build",
|
"build": "rimraf ./build && swc ./src --out-dir ./build",
|
||||||
"build:typescript": "tsc",
|
"build:typescript": "tsc",
|
||||||
|
"start": "node --enable-source-maps build/index.js",
|
||||||
"lint:commit": "commitlint",
|
"lint:commit": "commitlint",
|
||||||
"lint:editorconfig": "editorconfig-checker",
|
"lint:editorconfig": "editorconfig-checker",
|
||||||
"lint:markdown": "markdownlint-cli2",
|
"lint:markdown": "markdownlint-cli2",
|
||||||
"lint:eslint": "eslint . --ignore-path .gitignore",
|
"lint:eslint": "eslint . --ignore-path .gitignore",
|
||||||
"lint:prettier": "prettier . --check --ignore-path .gitignore",
|
"lint:prettier": "prettier . --check --ignore-path .gitignore",
|
||||||
"lint:staged": "lint-staged",
|
"lint:staged": "lint-staged",
|
||||||
"test": "node --test build/",
|
"test": "node --enable-source-maps --test build/",
|
||||||
"release": "semantic-release"
|
"release": "semantic-release"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user