-
Notifications
You must be signed in to change notification settings - Fork 102
/
package.json
83 lines (83 loc) · 2.62 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@umijs/fabric",
"version": "4.0.1",
"description": "A collection of configuration files containing prettier, eslint, stylelint",
"keywords": [
"eslint",
"prettier",
"antd",
"ant",
"design",
"pro"
],
"homepage": "https://github.com/umijs/fabric#readme",
"bugs": {
"url": "https://github.com/umijs/fabric/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/umijs/fabric"
},
"license": "ISC",
"author": "[email protected]",
"main": "dist/index.js",
"bin": {
"fabric": "./cli.js"
},
"files": [
"dist",
"cli.js"
],
"scripts": {
"build": "tsc --build tsconfig.json && npm run copy-files",
"copy-files": "copyfiles -u 1 src/.prettierignore ./dist/",
"deps": "yarn upgrade-interactive --latest",
"lib": "cross-env TIMING=1 eslint lib",
"lint": "npm run build && cd tsExample && npm run lint",
"lint-js": "npm run build && cd jsExample && npm run lint",
"prepublishOnly": "npm run build && npm test && np --no-cleanup --yolo --no-publish --any-branch",
"prettier": "prettier -c --write \"**/*\"",
"test": "npm run testTS && npm run testJS",
"testJS": "npm run build && cd jsExample && npm run lint",
"testTS": "npm run build && cd tsExample && npm run lint"
},
"dependencies": {
"@babel/core": "^7.22.1",
"@babel/eslint-parser": "^7.21.8",
"@babel/eslint-plugin": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.22.3",
"@babel/preset-env": "^7.22.2",
"@babel/preset-react": "^7.22.3",
"@babel/preset-typescript": "^7.21.5",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"chalk": "^4.1.2",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^47.0.0",
"fast-glob": "^3.2.12",
"os-locale": "^5.0.0",
"postcss-less": "^6.0.0",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-two-style-order": "^1.0.1",
"stylelint": "^15.6.2",
"stylelint-config-css-modules": "^4.2.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^33.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"typescript": "^5.0.4"
},
"devDependencies": {
"@types/node": "^20.2.5",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"np": "^6.5.0",
"rimraf": "^3.0.2"
}
}