forked from opencrvs/opencrvs-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 3.56 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
{
"description": "OpenCRVS core workspace",
"license": "MPL-2.0",
"version": "1.3.0-beta",
"private": true,
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"pre-commit": "yarn check:license && lerna run --parallel precommit"
}
},
"scripts": {
"postinstall": "patch-package",
"start": "lerna run build --scope @opencrvs/commons && lerna run build --scope @opencrvs/components && lerna run --parallel --ignore @opencrvs/mobile-proxy --ignore @opencrvs/integration $OTHER_LERNA_FLAGS start",
"start:prod": "yarn build && lerna run --parallel --ignore @opencrvs/components --ignore @opencrvs/mobile-proxy --ignore @opencrvs/integration $OTHER_LERNA_FLAGS start:prod",
"demo": "bash demo.sh",
"dev": "bash dev.sh",
"dev:secrets:gen": "openssl genrsa -out .secrets/private-key.pem 2048 && openssl rsa -pubout -in .secrets/private-key.pem -out .secrets/public-key.pem",
"open": "opener 'http://localhost:6060/' && opener 'http://localhost:3020/'",
"lint": "lerna run lint",
"test": "CI=true lerna run test --stream",
"compose:deps:demo": "docker-compose -p opencrvs -f docker-compose.deps.yml -f docker-compose.demo-deps.yml up",
"compose:deps": "docker-compose -p opencrvs -f docker-compose.deps.yml -f docker-compose.dev-deps.yml up",
"compose:deps:detached": "docker-compose -p opencrvs -f docker-compose.deps.yml -f docker-compose.dev-deps.yml up -d",
"compose:down:deps": "docker-compose -p opencrvs -f docker-compose.deps.yml -f docker-compose.dev-deps.yml down",
"compose:build": "yarn build:image && docker-compose build",
"compose:push": "yarn compose:build && docker-compose push && yarn compose:push:version",
"compose:push:version": "export VERSION=`git log -1 --pretty=format:%h` && yarn compose:build && docker-compose push && unset VERSION",
"compose:push:release": "export VERSION=`git describe --tags --abbrev=0` && yarn compose:build && docker-compose push && unset VERSION",
"deploy:config": "bash deploy.sh --clear-data=yes --restore-metadata=yes development",
"deploy:staging": "bash deploy.sh --clear-data=yes --restore-metadata=yes development",
"deploy:qa": "bash deploy.sh --clear-data=no --restore-metadata=no qa",
"deploy:prod": "bash deploy.sh --clear-data=no --restore-metadata=no qa",
"deploy:demo": "bash deploy.sh --clear-data=no --restore-metadata=no demo",
"deploy": "bash deploy.sh",
"cov:client": "cd packages/client && yarn open:cov",
"cov:login": "cd packages/login && yarn open:cov",
"build": "lerna run build --stream --concurrency=1 && lerna run build-storybook",
"build:image": "export VERSION=`git log -1 --pretty=format:%h` && docker build --build-arg VERSION=${VERSION} -t opencrvs-build . && unset VERSION",
"build:clean": "lerna run build:clean",
"check:license": "license-check-and-add check -f infrastructure/license-config.json",
"add:license": "license-check-and-add add -f infrastructure/license-config.json",
"build:components": "lerna run build --scope @opencrvs/components"
},
"devDependencies": {
"@types/dotenv": "^6.1.0",
"@types/js-yaml": "^3.12.1",
"concurrently": "^3.5.1",
"husky": "1.0.0-rc.13",
"js-yaml": "^3.13.1",
"lerna": "^4.0.0",
"lint-staged": "^7.1.0",
"prettier": "^2.5.1"
},
"dependencies": {
"@types/react-signature-canvas": "^1.0.2",
"license-check-and-add": "^3.0.3",
"opener": "^1.5.1",
"patch-package": "^6.1.2",
"postinstall-postinstall": "^2.0.0",
"react-signature-canvas": "^1.0.6"
},
"resolutions": {
"@types/react": "^18.0.26"
}
}