Repository navigation
Expand file tree
/
Copy pathtasks.json
More file actions
89 lines (89 loc) · 1.95 KB
/
Copy pathtasks.json
File metadata and controls
89 lines (89 loc) · 1.95 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"tasks": {
"build": [
"[references]",
"[clean]",
"[source]",
"[build:compile]"
],
"build:compile": [
"lerna run build"
],
"ci:build": [
"[build:compile]"
],
"ci:configure": [
"@.citools/setup-git ${BUILD_REPO_BRANCH} ${BUILD_REPO_GIT} ${BUILD_REPO_EMAIL}",
"@.citools/setup-ssh ${BUILD_REPO_DOMAIN} ${BUILD_REPO_SSHKEY_PATH} ${BUILD_REPO_DOMAIN_SSH}"
],
"ci:install": [
"npm ci",
"@npm config set '//registry.npmjs.org/:_authToken' ${NPM_TOKEN}",
"lerna bootstrap",
"[templates]"
],
"ci:publish:canary": [
"[ci:configure]",
"[ci:test]",
".citools/lerna-publish canary"
],
"ci:publish:prerelease": [
"[ci:configure]",
"[ci:test]",
".citools/lerna-publish prerelease"
],
"ci:publish:release": [
"[ci:configure]",
"[ci:test]",
".citools/lerna-publish release"
],
"ci:test": [
"[ci:build]",
"nyc mocha --config .ci/.mocharc.json"
],
"clean": [
"rimraf .cache",
"rimraf packages/*/lib",
"rimraf **/*.tsbuildinfo"
],
"commit": [
"git add -A .",
"git-cz"
],
"coverage": [
"nyc report --reporter=text-lcov | coveralls"
],
"exec": [
"lerna run exec"
],
"install": [
"npm install"
],
"references": [
"ts-node promon/references.ts"
],
"source": [
"[source:format]",
"[source:lint]"
],
"source:format": [
"tasks sort 'packages/**/*.json'",
"@prettier --loglevel silent --write '*/*/src/**/*.ts'"
],
"source:lint": [
"tslint --project tsconfig.json --config tslint.json"
],
"templates": [
"@mustache .markdown.json README.md.mustache > README.md",
"lerna run templates"
],
"test": [
"[build:compile]",
"nyc mocha"
],
"upgrade": [
"npx npm-check -y",
"lerna run upgrade"
]
}
}