-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
82 lines (82 loc) · 2.78 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
{
"name": "oaas-renderer",
"version": "0.1.0",
"private": true,
"dependencies": {
"@govtechsg/decentralized-renderer-react-components": "^3.8.0",
"@govtechsg/open-attestation": "^6.5.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/luxon": "^3.0.0",
"@types/node": "^16.11.47",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"@types/styled-components": "^5.1.25",
"add": "^2.0.6",
"crypto-browserify": "^3.12.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"json-schema-to-typescript": "^11.0.2",
"lint-staged": "^13.0.3",
"luxon": "^3.0.1",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-scripts": "5.0.1",
"react-test-renderer": "^18.2.0",
"stream-browserify": "^3.0.0",
"styled-components": "^5.3.5",
"typescript": "^4.7.4",
"web-vitals": "^2.1.4",
"yarn": "^1.22.19"
},
"scripts": {
"dev": "node src/__development__/prepare.js; concurrently \"BROWSER=none react-app-rewired start\" \"PORT=3001 IS_PREVIEW_APP=true react-app-rewired start\"",
"build": "run() { ISSUER_ID=$1 react-app-rewired build; }; run",
"test": "react-scripts test --watchAll=false",
"test:watch": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"lint-staged": "lint-staged",
"typecheck": "tsc --noEmit",
"schemasToTsTypes": "rm -rf src/__generated__; json2ts -i 'src/**/*.schema.json' -o src/__generated__/",
"new:template": "run() { npx hygen template new --issuerId $1 --docType $2; yarn schemasToTsTypes; }; run",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"prettier"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"change-case": "^4.1.2",
"concurrently": "^7.3.0",
"cz-conventional-changelog": "3.3.0",
"jest-styled-components": "^7.1.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}