-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.83 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
{
"name": "proti-monorepo",
"private": true,
"packageManager": "yarn@3.6.0",
"workspaces": [
"proti-core",
"proti-plugins-demo",
"proti-pulumi-packages-schema",
"proti-runner",
"proti-spec",
"proti-test-runner",
"proti-reporter"
],
"scripts": {
"g:all": "yarn workspaces foreach $1 --exclude proti-monorepo run $0",
"g:pkgroot": "bash -c 'if [ -e \"$0/$1\" ] && [ $0 != $PROJECT_CWD ]; then cd $0 && eval $3; else echo \"\\\"$2\\\" must be executed in a package root with a $1, not in $0\"; fi'",
"g:clean": "yarn g:pkgroot $INIT_CWD package.json clean 'rm -rf bin && find . -maxdepth 1 -name \"*.tgz\" -delete'",
"clean": "yarn g:all clean -vip && find . -maxdepth 1 -name '*.tgz' -delete",
"g:build": "yarn g:pkgroot $INIT_CWD tsconfig.json build 'yarn tsc'",
"g:build:tspc": "yarn g:pkgroot $INIT_CWD tsconfig.json build 'yarn tspc'",
"build": "yarn g:all build '-vip --topological-dev'",
"g:license:copy": "yarn g:pkgroot $INIT_CWD tsconfig.json 'copy LICENSE' 'cp ../LICENSE .'",
"g:lint": "eslint --ext .ts --ignore-pattern bin/ $INIT_CWD",
"lint": "yarn g:lint",
"g:test": "yarn g:pkgroot $INIT_CWD tsconfig.json test 'yarn build && INIT_CWD=$(pwd) && cd $PROJECT_CWD && jest --roots $INIT_CWD'",
"test": "yarn build && yarn jest",
"pack:all": "yarn workspaces foreach -vi --topological-dev --exclude proti-monorepo pack --out ../%s@%v.tgz",
"g:prepack": "yarn g:pkgroot $INIT_CWD package.json prepack 'yarn clean && yarn build'",
"prepack": "yarn g:all prepack '-vip --topological-dev'",
"g:readme:copy": "yarn g:pkgroot $INIT_CWD tsconfig.json 'copy README' 'cp ../README.md .'",
"g:readme:urls": "yarn g:pkgroot $INIT_CWD tsconfig.json 'resolve README URLs' 'sed -i.bak \"s#\\(\\[\\`@proti-iac/[^\\`]*\\`\\](\\)\\./proti-\\([^/]*/)\\)#\\1https://www.npmjs.com/package/@proti-iac/\\2#g\" README.md && sed -i.bak \"s#\\(\\](\\)\\.\\{1,2\\}/\\([^)]*)\\)#\\1https://github.com/proti-iac/proti/blob/main/\\2#g\" README.md && rm README.md.bak'",
"prepare": "ts-patch install && typia patch"
},
"devDependencies": {
"@proti-iac/runner": "workspace:^",
"@proti-iac/test-runner": "workspace:^",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.11",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-base-typescript": "^1.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.4",
"eslint-plugin-prettier": "^5.1.3",
"fast-check": "^3.18.0",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"ts-patch": "3.1.2",
"typescript": "5.4.5",
"typia": "^6.0.3"
}
}