-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
99 lines (99 loc) · 2.75 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@craftercms/studio",
"private": true,
"workspaces": [
"ui/npm-content",
"ui/uppy",
"ui/app",
"ui/guest",
"ui/legacy",
"ui/scss",
"ui/monaco"
],
"eslintConfig": {
"extends": [
"plugin:prettier/recommended"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error"
],
"spaced-comment": [
"error",
"always",
{
"line": {
"markers": [
"/",
"#"
]
},
"block": {
"markers": [
"!",
"*",
"#",
"function",
"const",
"if",
"export",
"interface",
"#__PURE__",
"@__PURE__"
],
"exceptions": [
"!",
"*",
"#"
],
"balanced": false
}
}
]
},
"parserOptions": {
"ecmaVersion": 2015
}
},
"resolutions": {
"clsx": "^2.0.0",
"react-is": "^18.2.0"
},
"packageManager": "[email protected]",
"scripts": {
"build:all": "yarn workspace @craftercms/uppy build-if-changed && yarn workspaces foreach --include './ui/{npm-content,legacy,app}' -Ap run build-if-changed && yarn workspaces foreach --include './ui/{scss,guest}' -Ap run build-if-changed",
"format:all": "node scripts/prettier.js write",
"format:next": "node scripts/prettier.js next",
"format:legacy": "node scripts/prettier.js legacy",
"format:check": "node scripts/prettier.js check",
"format:sass": "prettier --config prettier.config.js --write 'ui/scss/**/*.scss'",
"format:css": "prettier --config prettier.config.js --write 'static-assets/css/**/*.css' 'static-assets/themes/cstudioTheme/**/*.css'",
"format:pom": "prettier --use-tabs --write pom.xml",
"lint:ci": "eslint --ext .ts,.tsx .",
"upgrade:yarn": "yarn set version latest",
"upgrade:caniuse": "yarn up -R caniuse-lite",
"bom": "mkdir -p target && yarn cyclonedx --output-file target/bom.json",
"bom:generate": "yarn workspaces foreach -A run bom",
"bom:remove": "rimraf ./target/bom.json ./ui/**/target"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^6.0.1",
"@types/node": "^20.12.12",
"@types/rimraf": "^4.0.5",
"build-if-changed": "^1.5.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"glob-gitignore": "^1.0.14",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.7",
"rollup": "^4.21.0",
"rollup-plugin-copy": "^3.5.0",
"yargs": "^17.7.2"
}
}