Skip to content

Commit

Permalink
feat: update report
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Sep 29, 2024
1 parent 6bf612a commit 022a0ae
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions packages/canyon-report/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
presets: [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-typescript",
],
plugins: ["istanbul"],
};
7 changes: 6 additions & 1 deletion packages/canyon-report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,19 @@
"shiki": "^1.18.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@types/istanbul-lib-coverage": "^2.0.6",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@webpack-cli/generators": "^3.0.7",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"babel-plugin-istanbul": "^7.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
Expand All @@ -53,7 +59,6 @@
"prettier": "^3.3.3",
"style-loader": "^4.0.0",
"tailwindcss": "^3.4.13",
"ts-loader": "^9.5.1",
"typescript": "^5.6.2",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/canyon-report/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const config = {
rules: [
{
test: /\.(ts|tsx)$/i,
loader: "ts-loader",
loader: "babel-loader",
exclude: ["/node_modules/"],
},
{
Expand Down

0 comments on commit 022a0ae

Please sign in to comment.