generated from emmeowzing/circleci-orb-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
19 lines (19 loc) · 1.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"name": "circleci-api-orb",
"description": "A CircleCI orb that provides granular commands to interact with CircleCI's API.",
"repository": "https://github.com/bjd2385/circleci-orb-template",
"license": "GPL-3-Clause",
"private": true,
"version": "v1.0.0",
"scripts": {
"install:pre-commit:mac": "brew install pre-commit",
"install:pre-commit:pip": "pip install pre-commit",
"install:pre-commit-hooks": "pre-commit install --install-hooks --allow-missing-config -t pre-commit -t prepare-commit-msg",
"orb:pack": "find src -maxdepth 1 -mindepth 1 -type d | xargs -I % basename % | xargs -I % ./scripts/pre-pack.sh src % && circleci orb pack src/ > orb.yml",
"orb:validate": "circleci orb validate orb.yml",
"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"
}
}