Skip to content

Commit

Permalink
fix: sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Apr 16, 2022
1 parent 0b597f3 commit 06bf6fc
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .swcrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@
}
},
"keepClassNames": true
}
},
"sourceMaps": true,
"inlineSourcesContent": true
}
10 changes: 5 additions & 5 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"**/*.{ts,tsx,js,jsx,cjs,mjs,json,md}"
],
"excludes": [
"node_modules",
"coverage",
"dist",
".swc",
".vscode"
"node_modules/**/*",
"coverage/**/*",
"dist/**/*",
".swc/**/*",
".vscode/**/*"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.64.2.wasm",
Expand Down
22 changes: 12 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,28 @@
"prepack": "npm run clean && npm run build && (npm run build:dist || echo unable to bundle)",
"prepack:dry": "npm pack --dry-run",
"prepush": "npm run lint && npm run test",
"prepare": "husky install && node .pull-configs.js"
"prepare": "husky install"
},
"devDependencies": {
"@n1kk/intspector": "1.0.2",
"@stagas/jest-node-exports-resolver": "1.1.5-require-basedir-2",
"@swc-node/jest": "1.4.3",
"@swc/cli": "0.1.56",
"@swc/core": "1.2.160",
"@swc/cli": "0.1.57",
"@swc/core": "1.2.164",
"@tsconfig/node16": "1.0.2",
"@types/audioworklet": "0.0.26",
"@types/jest": "27.4.1",
"@types/node": "17.0.23",
"@typescript-eslint/eslint-plugin": "5.16.0",
"@typescript-eslint/parser": "5.16.0",
"@types/webmidi": "2.0.6",
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
"@web/test-runner": "0.13.27",
"bunzee": "^0.0.1",
"chokidar": "3.5.3",
"dprint": "0.24.1",
"eslint": "8.12.0",
"dprint": "0.24.4",
"eslint": "8.13.0",
"eslint-config-html-jsx": "1.0.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-import": "2.26.0",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-browser-globals": "25.1.0-beta",
Expand All @@ -81,7 +83,7 @@
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"typescript": "4.6.3",
"vite-open": "^1.4.2",
"vite-open": "^1.6.2",
"wtr-plugin-vite": "^0.0.1"
},
"trustedDependencies": [
Expand All @@ -95,6 +97,6 @@
],
"types": "./dist/types/index.d.ts",
"dependencies": {
"get-element-offset": "^1.0.0"
"get-element-offset": "^1.0.1"
}
}
4 changes: 3 additions & 1 deletion tsconfig.dist.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"types": [
"./types/globals",
"./types/modules",
"node"
"audioworklet",
"node",
"webmidi"
]
}
}

0 comments on commit 06bf6fc

Please sign in to comment.