Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyutaotao committed Oct 17, 2024
1 parent 8a91a15 commit caa7e93
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 64 deletions.
113 changes: 51 additions & 62 deletions packages/visualizer/package.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,52 @@
{
"name": "@midscene/visualizer",
"version": "0.6.2",
"repository": "https://github.com/web-infra-dev/midscene",
"homepage": "https://midscenejs.com/",
"types": "./dist/types/index.d.ts",
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
"files": [
"dist",
"html",
"README.md"
],
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "tsx,less,scss,css,js,jsx,ts",
"quiet": false
}
},
"scripts": {
"dev": "npm run build && npx npm-watch",
"build": "modern build && npx ts-node scripts/build-html.ts",
"build:watch": "modern build -w",
"serve": "http-server ./dist/report -p 3000",
"new": "modern new",
"upgrade": "modern upgrade"
},
"devDependencies": {
"@ant-design/icons": "5.3.7",
"@midscene/core": "workspace:*",
"@modern-js/module-tools": "2.58.2",
"@modern-js/plugin-module-doc": "^2.33.1",
"@modern-js/runtime": "^2.56.2",
"@types/node": "^18.0.0",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"antd": "5.19.3",
"dayjs": "1.11.11",
"http-server": "14.1.1",
"npm-watch": "0.13.0",
"pixi-filters": "6.0.5",
"pixi.js": "8.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-resizable-panels": "2.0.22",
"rimraf": "~3.0.2",
"ts-node": "10.9.2",
"typescript": "~5.0.4",
"zustand": "4.5.2"
},
"sideEffects": [
"**/*.css",
"**/*.less",
"**/*.sass",
"**/*.scss"
],
"publishConfig": {
"access": "public"
}
}
"name": "@midscene/visualizer",
"version": "0.6.2",
"repository": "https://github.com/web-infra-dev/midscene",
"homepage": "https://midscenejs.com/",
"types": "./dist/types/index.d.ts",
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
"files": ["dist", "html", "README.md"],
"watch": {
"build": {
"patterns": ["src"],
"extensions": "tsx,less,scss,css,js,jsx,ts",
"quiet": false
}
},
"scripts": {
"dev": "npm run build && npx npm-watch",
"build": "modern build && npx ts-node scripts/build-html.ts",
"build:watch": "modern build -w",
"serve": "http-server ./dist/report -p 3000",
"new": "modern new",
"upgrade": "modern upgrade"
},
"devDependencies": {
"@ant-design/icons": "5.3.7",
"@midscene/core": "workspace:*",
"@modern-js/module-tools": "2.58.2",
"@modern-js/plugin-module-doc": "^2.33.1",
"@modern-js/runtime": "^2.56.2",
"@types/node": "^18.0.0",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"antd": "5.19.3",
"dayjs": "1.11.11",
"http-server": "14.1.1",
"npm-watch": "0.13.0",
"pixi-filters": "6.0.5",
"pixi.js": "8.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-resizable-panels": "2.0.22",
"rimraf": "~3.0.2",
"ts-node": "10.9.2",
"typescript": "~5.0.4",
"zustand": "4.5.2"
},
"sideEffects": ["**/*.css", "**/*.less", "**/*.sass", "**/*.scss"],
"publishConfig": {
"access": "public"
}
}
5 changes: 3 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ async function main() {
'config',
'--global',
'user.email',
process.env.GIT_USER_EMAIL || 'github-actions[bot]@users.noreply.github.com',
process.env.GIT_USER_EMAIL ||
'github-actions[bot]@users.noreply.github.com',
]);
}
step('\nCommitting changes...');
Expand Down Expand Up @@ -213,7 +214,7 @@ async function writeNpmrc() {
async function cleanup() {
try {
step('\nCleaning up...');
await run('rm', ['-rf', 'dist']);
await run('rm', ['-rf', 'dist']);
} catch (error) {
console.error(chalk.red('Error during cleanup'));
throw error;
Expand Down

0 comments on commit caa7e93

Please sign in to comment.