linted 16.13.0-rc.8 → 16.13.1-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +43 -17
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"_schemaVersion": "20.17.
|
2
|
+
"_schemaVersion": "20.17.10-rc.4",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "16.13.
|
4
|
+
"version": "16.13.1-rc.3",
|
5
5
|
"description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -22,17 +22,22 @@
|
|
22
22
|
"jsonc",
|
23
23
|
"yaml"
|
24
24
|
],
|
25
|
+
"repository": "github:jimmy-zhening-luo/linted",
|
26
|
+
"homepage": "https://github.com/jimmy-zhening-luo/linted#readme",
|
27
|
+
"bugs": "https://github.com/jimmy-zhening-luo/linted/issues",
|
25
28
|
"license": "MIT",
|
26
29
|
"private": false,
|
27
30
|
"publishConfig": {
|
28
31
|
"access": "public"
|
29
32
|
},
|
30
|
-
"repository": "github:jimmy-zhening-luo/linted",
|
31
|
-
"homepage": "https://github.com/jimmy-zhening-luo/linted#readme",
|
32
|
-
"bugs": "https://github.com/jimmy-zhening-luo/linted/issues",
|
33
33
|
"type": "module",
|
34
34
|
"main": "dist/index.js",
|
35
35
|
"types": "dist/index.d.ts",
|
36
|
+
"config": {
|
37
|
+
"language": "ts",
|
38
|
+
"fix": "true",
|
39
|
+
"lint": "false"
|
40
|
+
},
|
36
41
|
"engineStrict": true,
|
37
42
|
"engines": {
|
38
43
|
"node": ">=20.17.0",
|
@@ -70,25 +75,46 @@
|
|
70
75
|
"devDependencies": {
|
71
76
|
"@eslint/config-inspector": "^0.5.4",
|
72
77
|
"npm-run-all": "^4.1.5",
|
78
|
+
"run-script-os": "^1.1.6",
|
73
79
|
"ts-add-js-extension": "^1.6.4",
|
74
80
|
"typescript": "^5.6.3"
|
75
81
|
},
|
76
82
|
"scripts": {
|
77
|
-
"build": "run-
|
78
|
-
"build:
|
79
|
-
"build:
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"
|
83
|
+
"build": "run-os",
|
84
|
+
"build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_fix $npm_package_config_lint default",
|
85
|
+
"build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_fix% %npm_package_config_lint% windows",
|
86
|
+
"rebuild": "run-s \"clean:{1}:{4}\" \"compile:{1}:*\" \"fix:{2} -- {1}\" \"lint:{3}\" --",
|
87
|
+
"clean:ts:default": "rm -rf dist",
|
88
|
+
"clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
|
89
|
+
"clean:svelte:default": "rm -rf build .svelte-kit",
|
90
|
+
"clean:svelte:windows": "run-s clean:svelte:windows:*",
|
91
|
+
"clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
|
92
|
+
"clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
|
93
|
+
"compile:ts:compile": "tsc",
|
94
|
+
"compile:svelte:sync": "svelte-kit sync",
|
95
|
+
"compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
|
96
|
+
"compile:svelte:compile": "vite build",
|
97
|
+
"fix:false": "echo \"Skipped fixing (fix=false)\"",
|
98
|
+
"fix:true": "run-s \"fix:output:{1}\" --",
|
99
|
+
"fix:output:ts": "ts-add-js-extension --dir=dist",
|
100
|
+
"fix:output:svelte": "echo \"Skipped fix for Svelte (handled by SvelteKit)\"",
|
84
101
|
"lint": "npm run build",
|
85
|
-
"lint:
|
86
|
-
"lint:
|
87
|
-
"lint:
|
88
|
-
"
|
102
|
+
"lint:false": "(npm run lint:true) || (exit 0)",
|
103
|
+
"lint:true": "run-os",
|
104
|
+
"lint:true:default": "run-s lint:all:* \"lint:scope:$npm_package_config_language\"",
|
105
|
+
"lint:true:windows": "run-s lint:all:* \"lint:scope:%npm_package_config_language%\"",
|
106
|
+
"lint:all:configs": "npm run ln -- {*,.github/workflows/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
|
107
|
+
"lint:all:code": "npm run ln -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
|
108
|
+
"lint:scope:ts": "echo \"Done linting TypeScript\"",
|
109
|
+
"lint:scope:svelte": "npm run ln -- {src,tests,static}/**/*.svelte",
|
110
|
+
"ln": "eslint --cache --fix",
|
89
111
|
"pretest": "npm run build",
|
90
112
|
"test": "",
|
91
|
-
"start": "
|
113
|
+
"start": "run-os",
|
114
|
+
"start:default": "npm run starter:$npm_package_config_language",
|
115
|
+
"start:windows": "npm run starter:%npm_package_config_language%",
|
116
|
+
"starter:ts": "node .",
|
117
|
+
"starter:svelte": "vite preview",
|
92
118
|
"prestart": "npm test",
|
93
119
|
"prepublishOnly": "npm test",
|
94
120
|
"predeploy": "npm test",
|