mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 08:51:21 +08:00
chore: add script placeholders to allow running scripts globally
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
12ef1bfdbb
commit
fad818d1e5
|
@ -19,5 +19,17 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"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.",
|
||||
"main": "prettierrc.json",
|
||||
"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": {
|
||||
"type": "git",
|
||||
|
|
|
@ -11,5 +11,17 @@
|
|||
"@types/mithril": "^2.0.7",
|
||||
"@types/throttle-debounce": "^2.1.0",
|
||||
"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"
|
||||
},
|
||||
"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..'"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user