@umijs/lint 4.0.0-canary-20240513.3
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/README.md +3 -0
- package/compiled/@rushstack/eslint-patch/LICENSE +24 -0
- package/compiled/@rushstack/eslint-patch/lib/modern-module-resolution.js +216 -0
- package/compiled/@rushstack/eslint-patch/package.json +1 -0
- package/compiled/postcss-less/LICENSE +24 -0
- package/compiled/postcss-less/index.js +1 -0
- package/compiled/postcss-less/package.json +1 -0
- package/compiled/stylelint-config-css-modules/index.js +1 -0
- package/compiled/stylelint-config-css-modules/package.json +1 -0
- package/compiled/stylelint-config-prettier/LICENSE +22 -0
- package/compiled/stylelint-config-prettier/index.js +1 -0
- package/compiled/stylelint-config-prettier/package.json +1 -0
- package/compiled/stylelint-declaration-block-no-ignored-properties/LICENSE +21 -0
- package/compiled/stylelint-declaration-block-no-ignored-properties/index.js +75 -0
- package/compiled/stylelint-declaration-block-no-ignored-properties/package.json +1 -0
- package/dist/config/eslint/index.d.ts +1 -0
- package/dist/config/eslint/index.js +83 -0
- package/dist/config/eslint/legacy.d.ts +1 -0
- package/dist/config/eslint/legacy.js +61 -0
- package/dist/config/eslint/rules/fabric.d.ts +86 -0
- package/dist/config/eslint/rules/fabric.js +108 -0
- package/dist/config/eslint/rules/recommended.d.ts +96 -0
- package/dist/config/eslint/rules/recommended.js +127 -0
- package/dist/config/eslint/setup.d.ts +0 -0
- package/dist/config/eslint/setup.js +2 -0
- package/dist/config/stylelint/index.d.ts +0 -0
- package/dist/config/stylelint/index.js +74 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +53 -0
- package/dist/linter/base.d.ts +27 -0
- package/dist/linter/base.js +80 -0
- package/dist/linter/eslint.d.ts +9 -0
- package/dist/linter/eslint.js +48 -0
- package/dist/linter/index.d.ts +2 -0
- package/dist/linter/index.js +42 -0
- package/dist/linter/stylelint.d.ts +9 -0
- package/dist/linter/stylelint.js +51 -0
- package/dist/types.d.ts +11 -0
- package/dist/types.js +17 -0
- package/package.json +64 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/index.ts
|
|
20
|
+
var src_exports = {};
|
|
21
|
+
__export(src_exports, {
|
|
22
|
+
default: () => src_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(src_exports);
|
|
25
|
+
var import_linter = require("./linter");
|
|
26
|
+
var ES_EXTS = ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"];
|
|
27
|
+
var STYLE_EXTS = [
|
|
28
|
+
"**/*.less",
|
|
29
|
+
"**/*.css",
|
|
30
|
+
"**/*.sass",
|
|
31
|
+
"**/*.scss",
|
|
32
|
+
"**/*.styl"
|
|
33
|
+
];
|
|
34
|
+
var src_default = (opts, args) => {
|
|
35
|
+
if (!args.eslintOnly) {
|
|
36
|
+
const stylelint = new import_linter.StyleLinter(opts);
|
|
37
|
+
const styleArgs = { ...args, _: [...args._] };
|
|
38
|
+
if (!styleArgs.cssinjs) {
|
|
39
|
+
for (const suffix of ES_EXTS) {
|
|
40
|
+
styleArgs._.unshift("--ignore-pattern", suffix);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
stylelint.run(styleArgs);
|
|
44
|
+
}
|
|
45
|
+
if (!args.stylelintOnly) {
|
|
46
|
+
const eslint = new import_linter.EsLinter(opts);
|
|
47
|
+
const esArgs = { ...args, _: [...args._] };
|
|
48
|
+
for (const suffix of STYLE_EXTS) {
|
|
49
|
+
esArgs._.unshift("--ignore-pattern", suffix);
|
|
50
|
+
}
|
|
51
|
+
eslint.run(esArgs);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ILintArgs, ILinterOpts } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* base linter
|
|
4
|
+
*/
|
|
5
|
+
export default class BaseLinter {
|
|
6
|
+
/**
|
|
7
|
+
* linter package name
|
|
8
|
+
*/
|
|
9
|
+
linter: string;
|
|
10
|
+
/**
|
|
11
|
+
* paths for linter
|
|
12
|
+
*/
|
|
13
|
+
paths: Partial<ILinterOpts>;
|
|
14
|
+
constructor({ cwd }: ILinterOpts);
|
|
15
|
+
/**
|
|
16
|
+
* get bin file path for current linter
|
|
17
|
+
*/
|
|
18
|
+
getBinPath(): string;
|
|
19
|
+
/**
|
|
20
|
+
* get linter fork args
|
|
21
|
+
*/
|
|
22
|
+
getRunArgs(args: ILintArgs): string[];
|
|
23
|
+
/**
|
|
24
|
+
* execute linter
|
|
25
|
+
*/
|
|
26
|
+
run(args: ILintArgs): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/linter/base.ts
|
|
30
|
+
var base_exports = {};
|
|
31
|
+
__export(base_exports, {
|
|
32
|
+
default: () => BaseLinter
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(base_exports);
|
|
35
|
+
var import_child_process = require("child_process");
|
|
36
|
+
var import_path = __toESM(require("path"));
|
|
37
|
+
var BaseLinter = class {
|
|
38
|
+
constructor({ cwd }) {
|
|
39
|
+
/**
|
|
40
|
+
* linter package name
|
|
41
|
+
*/
|
|
42
|
+
this.linter = "";
|
|
43
|
+
/**
|
|
44
|
+
* paths for linter
|
|
45
|
+
*/
|
|
46
|
+
this.paths = {};
|
|
47
|
+
this.paths.cwd = cwd;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* get bin file path for current linter
|
|
51
|
+
*/
|
|
52
|
+
getBinPath() {
|
|
53
|
+
try {
|
|
54
|
+
const pkgPath = require.resolve(`${this.linter}/package.json`);
|
|
55
|
+
const pkgContent = require(pkgPath);
|
|
56
|
+
return import_path.default.resolve(import_path.default.dirname(pkgPath), pkgContent.bin[this.linter]);
|
|
57
|
+
} catch (e) {
|
|
58
|
+
throw new Error(`${this.linter} not found, please install it first.`, {
|
|
59
|
+
cause: e
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* get linter fork args
|
|
65
|
+
*/
|
|
66
|
+
getRunArgs(args) {
|
|
67
|
+
args;
|
|
68
|
+
return [];
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* execute linter
|
|
72
|
+
*/
|
|
73
|
+
run(args) {
|
|
74
|
+
(0, import_child_process.fork)(this.getBinPath(), this.getRunArgs(args)).on("exit", (code) => {
|
|
75
|
+
if (!!code) {
|
|
76
|
+
process.exitCode = code;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/linter/eslint.ts
|
|
30
|
+
var eslint_exports = {};
|
|
31
|
+
__export(eslint_exports, {
|
|
32
|
+
default: () => Eslinter
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(eslint_exports);
|
|
35
|
+
var import_base = __toESM(require("./base"));
|
|
36
|
+
var Eslinter = class extends import_base.default {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
|
+
this.linter = "eslint";
|
|
40
|
+
}
|
|
41
|
+
getRunArgs(args) {
|
|
42
|
+
return [
|
|
43
|
+
...args.quiet ? ["--quiet"] : [],
|
|
44
|
+
...args.fix ? ["--fix"] : [],
|
|
45
|
+
...args._
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/linter/index.ts
|
|
30
|
+
var linter_exports = {};
|
|
31
|
+
__export(linter_exports, {
|
|
32
|
+
EsLinter: () => import_eslint.default,
|
|
33
|
+
StyleLinter: () => import_stylelint.default
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(linter_exports);
|
|
36
|
+
var import_eslint = __toESM(require("./eslint"));
|
|
37
|
+
var import_stylelint = __toESM(require("./stylelint"));
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
EsLinter,
|
|
41
|
+
StyleLinter
|
|
42
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/linter/stylelint.ts
|
|
30
|
+
var stylelint_exports = {};
|
|
31
|
+
__export(stylelint_exports, {
|
|
32
|
+
default: () => StyleLinter
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(stylelint_exports);
|
|
35
|
+
var import_base = __toESM(require("./base"));
|
|
36
|
+
var StyleLinter = class extends import_base.default {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
|
+
this.linter = "stylelint";
|
|
40
|
+
}
|
|
41
|
+
getRunArgs(args) {
|
|
42
|
+
return [
|
|
43
|
+
"--config-basedir",
|
|
44
|
+
this.paths.cwd,
|
|
45
|
+
...args.quiet ? ["--quiet"] : [],
|
|
46
|
+
"--allow-empty-input",
|
|
47
|
+
...args.fix ? ["--fix"] : [],
|
|
48
|
+
...args._
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
};
|
package/dist/types.d.ts
ADDED
package/dist/types.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
|
|
15
|
+
// src/types.ts
|
|
16
|
+
var types_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(types_exports);
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@umijs/lint",
|
|
3
|
+
"version": "4.0.0-canary-20240513.3",
|
|
4
|
+
"description": "@umijs/lint",
|
|
5
|
+
"homepage": "https://github.com/umijs/umi/tree/master/packages/lint#readme",
|
|
6
|
+
"bugs": "https://github.com/umijs/umi/issues",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/umijs/umi"
|
|
10
|
+
},
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"compiled",
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@babel/core": "7.23.6",
|
|
20
|
+
"@babel/eslint-parser": "7.23.3",
|
|
21
|
+
"@stylelint/postcss-css-in-js": "^0.38.0",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
23
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
24
|
+
"eslint-plugin-jest": "27.2.3",
|
|
25
|
+
"eslint-plugin-react": "7.33.2",
|
|
26
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
27
|
+
"postcss": "^8.4.21",
|
|
28
|
+
"postcss-syntax": "0.36.2",
|
|
29
|
+
"stylelint-config-standard": "25.0.0",
|
|
30
|
+
"@umijs/babel-preset-umi": "4.0.0-canary-20240513.3"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@rushstack/eslint-patch": "1.1.2",
|
|
34
|
+
"postcss-less": "6.0.0",
|
|
35
|
+
"stylelint-config-css-modules": "4.1.0",
|
|
36
|
+
"stylelint-config-prettier": "9.0.3",
|
|
37
|
+
"stylelint-declaration-block-no-ignored-properties": "2.5.0"
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"authors": [
|
|
43
|
+
"chencheng <sorrycc@gmail.com> (https://github.com/sorrycc)"
|
|
44
|
+
],
|
|
45
|
+
"compiledConfig": {
|
|
46
|
+
"deps": [
|
|
47
|
+
"postcss-less",
|
|
48
|
+
"stylelint-config-css-modules",
|
|
49
|
+
"stylelint-config-prettier",
|
|
50
|
+
"stylelint-declaration-block-no-ignored-properties"
|
|
51
|
+
],
|
|
52
|
+
"excludeDtsDeps": [
|
|
53
|
+
"postcss-less",
|
|
54
|
+
"stylelint-config-css-modules",
|
|
55
|
+
"stylelint-config-prettier",
|
|
56
|
+
"stylelint-declaration-block-no-ignored-properties"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"build": "umi-scripts father build",
|
|
61
|
+
"build:deps": "umi-scripts bundleDeps",
|
|
62
|
+
"dev": "umi-scripts father dev"
|
|
63
|
+
}
|
|
64
|
+
}
|