-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
29 lines (29 loc) · 1.28 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
{
"name": "sir",
"description": "[](https://travis-ci.org/announce/sir)",
"scripts": {
"prestart": "yarn install",
"start": "npm-run-all fmt lint build test notify",
"watch": "yarn run start && npm-run-all --parallel watch:*",
"watch:all": "onchange --initial '*.json' --delay 1000 -- npm-run-all start notify",
"watch:docker": "onchange 'Dockerfile' '.dockerignore' --delay 1000 -- npm-run-all build:docker notify",
"watch:rust": "onchange 'Cargo.toml' 'src/**/*.rs' --delay 1000 -- npm-run-all build:rust notify",
"watch:shell": "onchange 'script/**/*.bash' --delay 1000 -- npm-run-all build:shell notify",
"fmt": "./sir cargo fmt --all",
"fmt-check": "./sir cargo fmt --all -- --check",
"lint": "npm-run-all lint:*",
"lint:rust": "./sir lint-rust",
"build": "npm-run-all build:*",
"build:docker": "./sir build-container",
"build:shell": "./sir lint-shell",
"build:rust": "./sir cargo build",
"ci": "npm-run-all fmt-check lint build test",
"test": "npm-run-all test:*",
"test:rust": "./sir cargo test -- --color always --nocapture",
"notify": "./script/notify.bash $?"
},
"devDependencies": {
"npm-run-all": "^4.1.3",
"onchange": "^4.1.0"
}
}