linted 30.5.2 → 30.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -19
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"$pkg": "2211.
|
2
|
+
"$pkg": "2211.1.1",
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
5
5
|
"name": "linted",
|
6
|
-
"version": "30.
|
6
|
+
"version": "30.6.1",
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted",
|
8
8
|
"private": false,
|
9
9
|
"engineStrict": true,
|
@@ -13,7 +13,7 @@
|
|
13
13
|
},
|
14
14
|
"type": "module",
|
15
15
|
"peerDependencies": {
|
16
|
-
"eslint": "~9.
|
16
|
+
"eslint": "~9.32.0",
|
17
17
|
"eslint-plugin-svelte": "~3.11.0",
|
18
18
|
"mocha": "^11.7.1",
|
19
19
|
"typescript": "^5.8.3"
|
@@ -32,8 +32,8 @@
|
|
32
32
|
"dependencies": {
|
33
33
|
"@eslint/css": "0.10.0",
|
34
34
|
"@eslint/json": "0.13.1",
|
35
|
-
"@eslinted/core": "22.1.
|
36
|
-
"@eslinted/defaults": "12.
|
35
|
+
"@eslinted/core": "22.1.3",
|
36
|
+
"@eslinted/defaults": "12.6.1",
|
37
37
|
"@html-eslint/eslint-plugin": "0.43.1",
|
38
38
|
"@stylistic/eslint-plugin": "5.2.2",
|
39
39
|
"eslint-plugin-chai-expect": "3.1.0",
|
@@ -49,32 +49,23 @@
|
|
49
49
|
"@types/mocha": "^10.0.10",
|
50
50
|
"chai": "^5.2.1",
|
51
51
|
"mocha": "^11.7.1",
|
52
|
-
"npm-run-all": "^4.1.5",
|
53
52
|
"ts-add-js-extension": "^1.6.6",
|
54
53
|
"typescript": "^5.8.3"
|
55
54
|
},
|
56
55
|
"main": "dist/index.js",
|
57
56
|
"types": "dist/index.d.ts",
|
58
57
|
"scripts": {
|
59
|
-
"clean": "
|
60
|
-
"clean:ts": "cmd /c if exist dist rmdir /s /q dist || rm -rf dist",
|
61
|
-
"clean:svelte": "cmd /c \"if exist build rmdir /s /q build & if exist .svelte-kit rmdir /s /q .svelte-kit\" || rm -rf build .svelte-kit",
|
62
|
-
"clean:lint": "cmd /c if exist .eslintcache del /f /q .eslintcache || rm -f .eslintcache",
|
58
|
+
"clean": "cmd /c \"(if exist dist rmdir /s /q dist) & (if exist build rmdir /s /q build) & (if exist .svelte-kit rmdir /s /q .svelte-kit) & (if exist .eslintcache del /f /q .eslintcache)\" || rm -rf dist build .svelte-kit .eslintcache",
|
63
59
|
"prebuild": "npm run clean",
|
64
|
-
"build": "
|
65
|
-
"build:
|
66
|
-
"build:ts:rewrite": "ts-add-js-extension --dir=dist",
|
67
|
-
"build:svelte:sync": "svelte-kit sync",
|
68
|
-
"build:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
|
69
|
-
"build:svelte:compile": "vite build",
|
60
|
+
"build": "tsc && ts-add-js-extension --dir=dist",
|
61
|
+
"build:svelte": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && vite build",
|
70
62
|
"postbuild": "npm run lint || echo \"Lint failed. Continuing...\"",
|
71
63
|
"lint": "eslint --cache --fix \"{,{src,tests,static,typings,public,tools,.github,.vscode}/**/}*.{{,[cm]}[jt]s,svelte,html,css,json{,c},code-snippets,y{,a}ml}\"",
|
72
|
-
"lint:clean": "npm run clean:lint && npm run lint",
|
73
64
|
"pretest": "npm run build",
|
74
65
|
"test": "mocha",
|
66
|
+
"test:svelte": "",
|
75
67
|
"prestart": "npm test",
|
76
|
-
"start": "
|
77
|
-
"start:ts": "node .",
|
68
|
+
"start": "node .",
|
78
69
|
"start:svelte": "vite preview --open",
|
79
70
|
"prepublishOnly": "npm test",
|
80
71
|
"postpublish": "npm run postpublish:windows || npm run postpublish:default",
|