-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
113 lines (113 loc) · 4.87 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@dci-lint/monorepo",
"workspaces": [
"pkg/*"
],
"scripts": {
"configure": "yarn install --immutable && yarn run build:dev:backend",
"install-yarn": "corepack enable && corepack prepare [email protected] --activate",
"reset:node-modules": "del-cli '**/node_modules'",
"generate-api-server-config": "node ./tools/generate-api-server-config.js",
"start": "node ./pkg/cmd-api-server/dist/lib/main/typescript/cmd/dci-lint-server.js",
"start:cli": "node ./pkg/cmd-api-server/dist/lib/main/typescript/cmd/dci-lint-cli.js",
"start:api-server": "node ./pkg/cmd-api-server/dist/lib/main/typescript/cmd/dci-lint-server.js --config-file=.config.json",
"start:cockpit": "lerna run --scope '*/cockpit' --stream serve:proxy",
"purge-build-cache": "del-cli .build-cache/*",
"clean": "npm run purge-build-cache && del-cli \"./pkg/*/{dist,.nyc_output,src/main/proto/generated/*,src/main/typescript/generated/proto/protoc-gen-ts/*,src/main/typescript/generated/openapi/typescript-axios/*}\"",
"lint": "lerna exec --stream --ignore '*/*cockpit' -- cross-env DEBUG= tslint --project tsconfig.json",
"tsc": "tsc --build --verbose",
"codegen": "lerna run codegen",
"watch-other": "lerna run --parallel watch",
"watch-tsc": "tsc --build --watch",
"watch": "run-p -r 'watch-*'",
"build": "npm-run-all build:dev build:prod",
"build:prod": "npm-run-all build:prod:backend webpack:prod:web build:prod:frontend",
"build:prod:backend": "npm-run-all webpack:prod:node",
"build:prod:frontend": "lerna run build:prod:frontend",
"build:dev": "npm-run-all build:dev:backend webpack:dev:web build:dev:frontend",
"build:dev:backend": "npm-run-all lint clean codegen tsc",
"build:dev:frontend": "lerna run build:dev:frontend",
"webpack": "npm-run-all webpack:dev webpack:prod",
"webpack:dev": "lerna run webpack:dev",
"webpack:dev:web": "lerna run webpack:dev:web",
"webpack:dev:node": "lerna run webpack:dev:node",
"webpack:prod": "lerna run webpack:prod",
"webpack:prod:web": "lerna run webpack:prod:web",
"webpack:prod:node": "lerna run webpack:prod:node",
"test:all": "tap --ts --no-check-coverage --node-arg=--max-old-space-size=4096 --jobs=1 --timeout=600 \"pkg/*/src/test/typescript/{unit,integration}/\"",
"test:unit": "tap --ts --no-check-coverage --node-arg=--max-old-space-size=4096 --timeout=600 \"pkg/*/src/test/typescript/unit/\"",
"test:browser": "karma start karma.conf.js",
"test:integration": "tap --ts --no-check-coverage --node-arg=--max-old-space-size=4096 --jobs=1 --timeout=600 \"pkg/*/src/test/typescript/integration/\"",
"changelog": "conventional-changelog --infile CHANGELOG.md --outfile CHANGELOG.md && git add CHANGELOG.md",
"commit": "git-cz --signoff",
"prettier": "prettier --write --config .prettierrc.json \"./**/*.{ts,js}\"",
"lerna-publish-canary": "lerna publish --canary --force-publish --dist-tag $(git branch --show-current) --preid $(git branch --show-current).$(git rev-parse --short HEAD)",
"lerna-publish": "lerna publish --conventional-commits --sign-git-commit --sign-git-tag"
},
"devDependencies": {
"@commitlint/cli": "17.3.0",
"@commitlint/config-conventional": "17.3.0",
"@openapitools/openapi-generator-cli": "2.5.2",
"@types/fs-extra": "9.0.13",
"@types/node-fetch": "2.6.2",
"@types/tape": "4.13.2",
"@types/tape-promise": "4.0.1",
"@types/uuid": "9.0.0",
"buffer": "6.0.3",
"commitizen": "4.2.5",
"cross-env": "7.0.3",
"crypto-browserify": "3.12.0",
"del-cli": "5.0.0",
"electron": "22.0.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-standard": "5.0.0",
"fs-extra": "11.1.0",
"git-cz": "4.9.0",
"husky": "4.3.8",
"inquirer": "9.1.4",
"json5": "2.2.1",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-electron": "7.3.0",
"karma-tap": "4.2.0",
"karma-webpack": "5.0.0",
"lerna": "6.1.0",
"lint-staged": "13.0.4",
"npm-run-all": "4.1.5",
"npm-watch": "0.11.0",
"prettier": "2.8.0",
"run-time-error": "1.4.0",
"secp256k1": "4.0.3",
"shebang-loader": "0.0.1",
"source-map-loader": "4.0.1",
"stream-browserify": "3.0.0",
"tap": "16.3.2",
"tape": "5.6.1",
"tape-promise": "4.0.0",
"ts-loader": "9.4.1",
"ts-node": "10.9.1",
"tslint": "6.1.3",
"typescript": "4.8.4",
"webpack": "5.75.0",
"webpack-bundle-analyzer": "4.7.0",
"webpack-cli": "3.3.12"
},
"config": {
"commitizen": {
"path": "./node_modules/git-cz"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"./**/*.{ts,js}": "prettier --write --config .prettierrc.json"
},
"packageManager": "[email protected]"
}