forked from bloom-housing/bloom
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 5.32 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
{
"name": "bloom-housing",
"version": "4.4.0",
"author": "Sean Albert <sean.albert@exygy.com>",
"description": "Bloom is a system to manage processes for affordable housing",
"workspaces": {
"packages": [
"sites/public",
"sites/partners",
"shared-helpers",
"doorway-ui-components"
],
"nohoist": [
"**/@anchan828/nest-sendgrid"
]
},
"repository": {
"type": "git",
"url": "https://github.com/bloom-housing/bloom.git"
},
"license": "Apache-2.0",
"private": true,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"link:uic": "cd node_modules/react && yarn link && cd ../../../ui-components && yarn link 'react' && yarn link && cd ../doorway && yarn link '@bloom-housing/ui-components'",
"unlink:uic": "yarn unlink @bloom-housing/ui-components && cd ../ui-components && yarn unlink react && yarn unlink && yarn install --force && cd ../doorway/node_modules/react && yarn unlink && cd ../.. && yarn install --force",
"dev:app:public": "wait-on \"http-get://localhost:${PORT:-3100}/\" && cd sites/public && yarn dev",
"test:app:public": "wait-on \"http-get://localhost:${PORT:-3100}/\" && cd sites/public && yarn test",
"test:app:public:headless": "wait-on \"http-get://localhost:${PORT:-3100}/\" && cd sites/public && yarn test:headless",
"test:app:public:unit": "cd sites/public && yarn test:unit",
"build:app:public": "cd sites/public && yarn build",
"dev:app:partners": "wait-on \"http-get://localhost:${PORT:-3100}/\" && cd sites/partners && yarn dev",
"test:app:partners": "wait-on \"http-get://localhost:${PORT:-3100}/\" && cd sites/partners && yarn test",
"test:app:partners:headless": "wait-on \"http-get://localhost:${PORT:-3100}/\" && cd sites/partners && yarn test:headless",
"test:app:partners:unit": "cd sites/partners && yarn test:unit",
"build:app:partners": "cd sites/partners && yarn build",
"dev:backend": "cd api && yarn dev",
"dev:all": "concurrently --names \" BACKEND_API,APP_PUBLIC,APP_PARTNERS\" --prefix \"{name}\" \"yarn dev:backend\" \"yarn dev:app:public\" \"yarn dev:app:partners\"",
"dev:frontend": "concurrently --names \" APP_PUBLIC,APP_PARTNERS\" --prefix \"{name}\" \"yarn dev:app:public\" \"yarn dev:app:partners\"",
"dev:partners": "concurrently \"yarn dev:backend\" \"yarn dev:app:partners\"",
"dev:public": "concurrently \"yarn dev:backend\" \"yarn dev:app:public\"",
"start:uic": "cd doorway-ui-components && yarn start",
"test:shared:helpers": "cd shared-helpers && yarn && yarn test",
"test:shared:translations": "cd shared-helpers && yarn && yarn test:missing-translations",
"test:doorway-ui-components": "cd doorway-ui-components && yarn && yarn test",
"test:apps": "concurrently \"yarn dev:backend\" \"yarn test:app:public\"",
"test:apps:headless": "concurrently \"yarn dev:backend\" \"yarn test:app:public:headless\"",
"lint": "eslint 'sites/**/*.ts' 'sites/**/*.tsx' 'sites/**/*.js' --max-warnings 40 && cd api && yarn lint --max-warnings 2",
"version:all": "lerna version --yes --no-commit-hooks --ignore-scripts --conventional-graduate --include-merged-tags --force-git-tag",
"test:backend:new": "cd api && yarn test --detectOpenHandles",
"test:backend:new:e2e": "cd api && yarn jest --config ./test/jest-e2e.config.js --detectOpenHandles",
"test:backend:new:cov": "cd api && yarn jest --config ./test/jest-with-coverage.config.js --detectOpenHandles --logHeapUsage",
"test:backend:new:dbsetup": "cd api && yarn db:migration:run",
"test:backend:new:dbsetup:withseed": "cd api && yarn db:migration:run && yarn db:seed:staging",
"test:backend:new:dbsetup:withseed:large": "cd api && yarn db:migration:run && yarn db:seed:staging-large",
"backend:new:install": "cd api && yarn install",
"prettier": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\""
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"commitizen": "^4.2.4",
"concurrently": "^5.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^4.3.0",
"jest": "^26.5.3",
"lerna": "^4.0.0",
"lint-staged": "^10.4.0",
"prettier": "^2.8.8",
"react": "18.2.0",
"react-test-renderer": "18.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.1",
"ts-node": "^10.0.0",
"typescript": "4.6.4",
"wait-on": "^5.2.0"
},
"prettier": {
"singleQuote": false,
"printWidth": 100,
"semi": false
},
"husky": {
"hooks": {
"commit-msg": "echo '\n(1) Verifying conventional commit format... \n (If this fails, install commitizen and commit with 'git cz' to automate the formatting!)\n----------' && commitlint -E HUSKY_GIT_PARAMS && echo '\n(2) Linting...\n----------' && lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {}
}