Skip to content

Commit

Permalink
chore: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushaw committed Aug 6, 2024
1 parent 69a2143 commit 7bef10f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 50 deletions.
21 changes: 5 additions & 16 deletions packages/midscene/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"README.md"
],
"files": ["dist", "README.md"],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
Expand Down Expand Up @@ -44,18 +41,10 @@
},
"typesVersions": {
"*": {
".": [
"./dist/types/index.d.ts"
],
"utils": [
"./dist/types/utils.d.ts"
],
"ai-model": [
"./dist/types/ai-model.d.ts"
],
"image": [
"./dist/types/image.d.ts"
]
".": ["./dist/types/index.d.ts"],
"utils": ["./dist/types/utils.d.ts"],
"ai-model": ["./dist/types/ai-model.d.ts"],
"image": ["./dist/types/image.d.ts"]
}
},
"scripts": {
Expand Down
10 changes: 2 additions & 8 deletions packages/visualizer-report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"lint": "modern lint",
"upgrade": "modern upgrade"
},
"files": [
"dist",
"README.md"
],
"files": ["dist", "README.md"],
"engines": {
"node": ">=16.18.1"
},
Expand All @@ -23,10 +20,7 @@
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
]
},
"eslintIgnore": [
"node_modules/",
"dist/"
],
"eslintIgnore": ["node_modules/", "dist/"],
"dependencies": {
"@modern-js/runtime": "^2.56.2",
"@midscene/visualizer": "workspace:*",
Expand Down
12 changes: 2 additions & 10 deletions packages/visualizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"jsnext:source": "./src/index.ts",
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
"files": [
"dist",
"README.md"
],
"files": ["dist", "README.md"],
"scripts": {
"dev": "modern dev",
"build": "modern build",
Expand Down Expand Up @@ -39,12 +36,7 @@
"rimraf": "~3.0.2",
"typescript": "~5.0.4"
},
"sideEffects": [
"**/*.css",
"**/*.less",
"**/*.sass",
"**/*.scss"
],
"sideEffects": ["**/*.css", "**/*.less", "**/*.sass", "**/*.scss"],
"publishConfig": {
"access": "public"
}
Expand Down
21 changes: 5 additions & 16 deletions packages/web-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,10 @@
},
"typesVersions": {
"*": {
".": [
"./dist/types/index.d.ts"
],
"playwright-report": [
"./dist/types/playwright-report.d.ts"
],
"constants": [
"./dist/types/constants.d.ts"
],
"html-element": [
"./dist/types/html-element/index.d.ts"
]
".": ["./dist/types/index.d.ts"],
"playwright-report": ["./dist/types/playwright-report.d.ts"],
"constants": ["./dist/types/constants.d.ts"],
"html-element": ["./dist/types/html-element/index.d.ts"]
}
},
"scripts": {
Expand All @@ -60,10 +52,7 @@
"e2e:ui": "playwright test --config=playwright.config.ts --ui",
"e2e:ui-cache": "MIDSCENE_CACHE=true playwright test --config=playwright.config.ts --ui"
},
"files": [
"dist",
"README.md"
],
"files": ["dist", "README.md"],
"dependencies": {
"openai": "4.47.1",
"sharp": "0.33.3",
Expand Down

0 comments on commit 7bef10f

Please sign in to comment.