forked from TradeTrust/document-creator-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 5.66 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "document-creator-website",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/TradeTrust/document-creator-website.git"
},
"private": true,
"license": "ISC",
"browserslist": [
"last 2 Chrome versions",
"last 2 Opera versions",
"last 2 Firefox versions",
"last 2 Edge versions",
"last 1 Safari version",
"IE >= 11"
],
"scripts": {
"build": "cross-env NODE_OPTIONS='--max-old-space-size=4096' CI=false npm-run-all -s build:*",
"build:css": "cross-env NODE_ENV=production postcss src/tailwind.css -o src/index.css",
"build:js": "cross-env NODE_ENV=production react-app-rewired build",
"eject": "react-scripts eject",
"blockchain": "run-p blockchain:start blockchain:setup",
"blockchain:contracts": "node ./scripts/setup-contracts.js",
"blockchain:setup": "run-s wait:blockchain blockchain:contracts",
"blockchain:start": "ganache --wallet.mnemonic \"indicate swing place chair flight used hammer soon photo region volume shuffle\" -i 1337",
"integration": "testcafe chrome --app \"npm run dev\" integration/**/*.spec.ts",
"integration:ci": "concurrently -k -s first \"npm:blockchain\" \"npm:integration:headless\"",
"integration:headless": "testcafe -c 3 chrome:headless integration/**/*.spec.ts --app \"npm run serve-static\"",
"integration:single": "testcafe chrome -L --app \"npm run serve-static\"",
"lint": "eslint . --ext .ts,.tsx --max-warnings 0",
"lint:type": "npx --no-install tsc --noEmit --sourceMap false",
"lint:fix": "npm run lint -- --fix",
"serve-static": "http-server build -s -p 3000",
"dev": "npm-run-all -p dev:*",
"dev:blockchain": "npm run blockchain",
"dev:css": "postcss src/tailwind.css -o src/index.css --watch",
"dev:js": "sleep 2 && react-app-rewired start",
"storybook": "npm-run-all -p dev:css storybook:start",
"storybook:start": "sleep 2 && start-storybook -p 9009 -s public",
"storybook:build": "npm run build:css && build-storybook -s public",
"prep": "cross-env npm-run-all -s lint lint:type lint:fix test:ci build integration:ci",
"test:ci": "cross-env CI=true react-app-rewired test",
"test": "react-app-rewired test",
"wait:blockchain": "wait-on -l -i 1000 tcp:8545",
"prepare": "husky install"
},
"dependencies": {
"@emotion/react": "^11.4.0",
"@emotion/styled": "^11.3.0",
"@govtechsg/address-identity-resolver": "^1.4.1",
"@govtechsg/decentralized-renderer-react-components": "^3.6.2",
"@govtechsg/document-store": "^2.6.1",
"@govtechsg/ethers-contract-hook": "^2.2.0",
"@govtechsg/oa-verify": "^7.7.0",
"@govtechsg/open-attestation": "^6.3.0",
"@govtechsg/token-registry": "^4.1.2",
"@govtechsg/tradetrust-ui-components": "^2.18.16",
"@govtechsg/tradetrust-utils": "^1.0.1",
"@hapi/joi": "^17.1.1",
"@rjsf/core": "^3.1.0",
"ajv": "^8.6.0",
"axios": "^0.21.2",
"cross-env": "^7.0.3",
"debug": "^4.3.1",
"ethers": "^5.7.0",
"ethers-aws-kms-signer": "^1.3.2",
"file-saver": "^2.0.5",
"json-2-csv": "^3.14.1",
"json-schema-library": "^5.3.0",
"jszip": "^3.6.0",
"lodash": "^4.17.21",
"pretty-bytes": "^5.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-dropzone": "^11.3.2",
"react-feather": "^2.0.9",
"react-idle-timer": "^5.5.2",
"react-router-dom": "^5.2.0",
"react-tooltip": "^4.2.21",
"use-persisted-state": "^0.3.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@commitlint/prompt": "^17.1.2",
"@govtechsg/open-attestation-cli": "^2.3.0",
"@storybook/addon-essentials": "^6.3.7",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/react": "^6.5.8",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.0",
"@testing-library/user-event": "^13.1.9",
"@types/debug": "^4.1.5",
"@types/file-saver": "^2.0.2",
"@types/hapi__joi": "^17.1.6",
"@types/jest": "^26.0.23",
"@types/mocha": "file:./src/types/empty-type",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-jsonschema-form": "^1.7.5",
"@types/react-router-dom": "^5.1.7",
"@types/tmp": "^0.2.2",
"@types/use-persisted-state": "^0.3.0",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"autoprefixer": "^10.4.2",
"browserify-zlib": "^0.2.0",
"buffer": "^6.0.3",
"concurrently": "^6.2.0",
"crypto-browserify": "^3.12.0",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testcafe": "^0.2.1",
"eslint-plugin-testing-library": "^4.6.0",
"ganache": "^7.5.0",
"git-cz": "^4.7.6",
"http-server": "^0.12.3",
"https-browserify": "^1.0.0",
"husky": "^7.0.0",
"npm-run-all": "^4.1.5",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"postcss": "^8.4.6",
"postcss-cli": "^8.3.1",
"prettier": "^2.3.1",
"process": "^0.11.10",
"react-app-rewired": "^2.2.1",
"react-scripts": "5.0.1",
"react-test-renderer": "^17.0.2",
"shelljs": "^0.8.5",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"tailwindcss": "^3.0.23",
"testcafe": "^1.14.2",
"tmp": "^0.2.1",
"ts-node": "^10.4.0",
"typescript": "^4.3.2",
"wait-on": "^6.0.0",
"webpack": "^5.73.0"
}
}