mirror of
https://github.com/flarum/core.git
synced 2025-08-04 23:47:32 +02:00
chore: add script placeholders to allow running scripts globally
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
@@ -19,5 +19,17 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "^2.4.1"
|
"prettier": "^2.4.1"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"dev": "echo 'skipping..'",
|
||||||
|
"build": "echo 'skipping..'",
|
||||||
|
"analyze": "echo 'skipping..'",
|
||||||
|
"format": "prettier --write .",
|
||||||
|
"format-check": "prettier --check .",
|
||||||
|
"clean-typings": "echo 'skipping..'",
|
||||||
|
"build-typings": "echo 'skipping..'",
|
||||||
|
"post-build-typings": "echo 'skipping..'",
|
||||||
|
"check-typings": "echo 'skipping..'",
|
||||||
|
"check-typings-coverage": "echo 'skipping..'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,17 @@
|
|||||||
"description": "Flarum's configuration for the Prettier code formatter.",
|
"description": "Flarum's configuration for the Prettier code formatter.",
|
||||||
"main": "prettierrc.json",
|
"main": "prettierrc.json",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"dev": "echo 'skipping..'",
|
||||||
|
"build": "echo 'skipping..'",
|
||||||
|
"analyze": "echo 'skipping..'",
|
||||||
|
"format": "prettier --write .",
|
||||||
|
"format-check": "prettier --check .",
|
||||||
|
"clean-typings": "echo 'skipping..'",
|
||||||
|
"build-typings": "echo 'skipping..'",
|
||||||
|
"post-build-typings": "echo 'skipping..'",
|
||||||
|
"check-typings": "echo 'skipping..'",
|
||||||
|
"check-typings-coverage": "echo 'skipping..'"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@@ -11,5 +11,17 @@
|
|||||||
"@types/mithril": "^2.0.7",
|
"@types/mithril": "^2.0.7",
|
||||||
"@types/throttle-debounce": "^2.1.0",
|
"@types/throttle-debounce": "^2.1.0",
|
||||||
"dayjs": "^1.10.4"
|
"dayjs": "^1.10.4"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"dev": "echo 'skipping..'",
|
||||||
|
"build": "echo 'skipping..'",
|
||||||
|
"analyze": "echo 'skipping..'",
|
||||||
|
"format": "prettier --write .",
|
||||||
|
"format-check": "prettier --check .",
|
||||||
|
"clean-typings": "echo 'skipping..'",
|
||||||
|
"build-typings": "echo 'skipping..'",
|
||||||
|
"post-build-typings": "echo 'skipping..'",
|
||||||
|
"check-typings": "echo 'skipping..'",
|
||||||
|
"check-typings-coverage": "echo 'skipping..'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -30,6 +30,15 @@
|
|||||||
"@flarum/prettier-config": "^1.0.0"
|
"@flarum/prettier-config": "^1.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write ."
|
"dev": "echo 'skipping..'",
|
||||||
|
"build": "echo 'skipping..'",
|
||||||
|
"analyze": "echo 'skipping..'",
|
||||||
|
"format": "prettier --write .",
|
||||||
|
"format-check": "prettier --check .",
|
||||||
|
"clean-typings": "echo 'skipping..'",
|
||||||
|
"build-typings": "echo 'skipping..'",
|
||||||
|
"post-build-typings": "echo 'skipping..'",
|
||||||
|
"check-typings": "echo 'skipping..'",
|
||||||
|
"check-typings-coverage": "echo 'skipping..'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user