change path run format & fixing bug file config

This commit is contained in:
Warunee Tamkoo 2024-09-02 14:02:48 +07:00
parent 2f4b6dadb8
commit ab0f84a605
4 changed files with 17 additions and 5 deletions

View file

@ -11,7 +11,8 @@
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'", "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
"build-only": "vite build", "build-only": "vite build",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier ./src --write"
}, },
"dependencies": { "dependencies": {
"@arcgis/core": "^4.28.10", "@arcgis/core": "^4.28.10",

View file

@ -8,6 +8,8 @@
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": ["./src/*"]
}, },
"lib": ["dom", "es2015", "es2018", "es2018.promise"] "lib": ["dom", "es2015", "es2018", "es2018.promise"],
"ignoreDeprecations": "5.0",
"verbatimModuleSyntax": true
} }
} }

View file

@ -1,8 +1,15 @@
{ {
"extends": "@vue/tsconfig/tsconfig.node.json", "extends": "@vue/tsconfig/tsconfig.node.json",
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"], "include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"playwright.config.*"
],
"compilerOptions": { "compilerOptions": {
"composite": true, "composite": true,
"types": ["node"] "types": ["node"],
"ignoreDeprecations": "5.0",
"verbatimModuleSyntax": true
} }
} }

View file

@ -4,6 +4,8 @@
"compilerOptions": { "compilerOptions": {
"composite": true, "composite": true,
"lib": [], "lib": [],
"types": ["node", "jsdom"] "types": ["node", "jsdom"],
"ignoreDeprecations": "5.0",
"verbatimModuleSyntax": true
} }
} }