-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
18 lines (18 loc) · 1.15 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "general-orb",
"private": true,
"description": "A general CircleCI orb with helpful reusable jobs and commands",
"repository": "https://github.com/premiscale/general-orb",
"license": "GPL-3-Clause",
"scripts": {
"install:pre-commit-hooks": "pre-commit install --install-hooks --allow-missing-config -t pre-commit -t prepare-commit-msg",
"install:pre-commit:mac": "brew install pre-commit",
"install:pre-commit:pip": "pip install pre-commit",
"orb:pack": "find src -maxdepth 1 -mindepth 1 -type d | xargs -I % basename % | xargs -I % ./scripts/pre-pack.sh src % && circleci orb pack --skip-update-check src/ > orb.yml",
"orb:validate": "yarn orb:pack >/dev/null && circleci orb validate --skip-update-check orb.yml; yarn orb:clean >/dev/null",
"orb:cleanup": "find src -maxdepth 1 -mindepth 1 -type d | xargs -I % basename % | xargs -I % ./scripts/rev-pack.sh src % && yes | rm orb.yml",
"orb:clean": "yarn orb:cleanup",
"orb:cleanup:force": "find src -maxdepth 1 -mindepth 1 -type d | xargs -I % basename % | xargs -I % ./scripts/rev-pack.sh src % true; yes | rm orb.yml",
"orb:clean:force": "yarn orb:cleanup:force"
}
}