forked from TradeTrust/tradetrust-website
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
166 lines (166 loc) · 6.99 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "tradetrust-website",
"version": "2.0.0",
"repository": {
"type": "git",
"url": "https://github.com/TradeTrust/tradetrust-website.git"
},
"license": "ISC",
"scripts": {
"blockchain": "ganache --wallet.mnemonic \"indicate swing place chair flight used hammer soon photo region volume shuffle\" -i 1337",
"blockchain:contracts:synpress": "node --experimental-modules ./tests/e2e/setup-contracts.mjs",
"blockchain:contracts:testcafe": "node --experimental-modules ./src/test/setup-contracts-testcafe.mjs",
"build": "run-s build:sitemap check-types build:css build:app",
"build:dev": "cross-env NODE_ENV=development npm run build",
"build:test": "cross-env NODE_ENV=test NET=local npm run build",
"build:prod": "cross-env NODE_ENV=production NET=mainnet npm run build",
"build:css": "postcss src/tailwind.css -o src/index.css",
"build:app": "webpack --progress --mode production",
"build:sitemap": "npx ts-node --compiler-options '{\"module\":\"commonjs\"}' sitemap.ts",
"check-types": "tsc --sourceMap false --noEmit",
"credits": "npx @opengovsg/credits-generator && npx mdpdf ./CREDITS.md ./public/static/common/credits.pdf",
"dev": "run-p dev:*",
"dev:css": "npx tailwindcss -i ./src/tailwind.css -o ./src/index.css --watch",
"dev:serve": "sleep 2 && cross-env NODE_ENV=development webpack-dev-server",
"integration": "testcafe chrome src/**/*.spec.ts",
"integration:single": "testcafe chrome -L",
"integration:testcafe:prod": "testcafe --config-file \".testcaferc-prod.json\"",
"integration:testcafe:dev": "testcafe --config-file \".testcaferc-dev.json\"",
"integration:testcafe": "run-s blockchain:contracts:testcafe integration:testcafe:prod",
"integration:testcafe:ci": "concurrently -k -s first \"npm:blockchain\" \"npm:integration:testcafe\"",
"integration:metamask": "run-s wait blockchain:contracts:synpress integration:synpress",
"integration:synpress": "cross-env CYPRESS_RESOURCES_WAIT=1 STABLE_MODE=true SECRET_WORDS='indicate swing place chair flight used hammer soon photo region volume shuffle' NETWORK_NAME='localhost' synpress run --config supportFile='tests/e2e/support/index.js',fixturesFolder='tests/e2e/fixtures',video=false,screenshotOnRunFailure=false",
"integration:local": "cross-env NET=local npm run dev",
"integration:headful": "concurrently -k -s first \"npm:blockchain\" \"npm:integration:local\" \"npm:integration:metamask\"",
"lint": "eslint ./src --ext .js,.ts,.tsx --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"prep": "run-s lint:fix test integration:testcafe:dev integration:headful",
"prepare": "husky install",
"serve-static": "npx http-server dist -s -p 3000",
"storybook": "npm run build:css && sleep 2 && start-storybook -p 6006 -s public",
"storybook:build": "npm run build:css && sleep 2 && build-storybook -o docs -s public",
"test": "jest",
"test:coverage": "npm run test -- --collectCoverage",
"test:watch": "npm run test -- --watchAll",
"test:update": "npm run test -- -u",
"wait": "wait-on -l -i 1000 tcp:8545 http-get://localhost:3000"
},
"dependencies": {
"@govtechsg/address-identity-resolver": "^1.4.1",
"@govtechsg/decentralized-renderer-react-components": "^3.8.0",
"@govtechsg/document-store": "^2.6.1",
"@govtechsg/ethers-contract-hook": "^2.2.0",
"@govtechsg/oa-encryption": "^1.3.3",
"@govtechsg/oa-verify": "^8.1.0",
"@govtechsg/open-attestation": "^6.5.0",
"@govtechsg/open-attestation-cli": "^2.2.0",
"@govtechsg/open-attestation-utils": "^1.0.9",
"@govtechsg/token-registry": "^4.1.2",
"@govtechsg/tradetrust-ui-components": "^2.19.2",
"@govtechsg/tradetrust-utils": "^1.5.0",
"@reduxjs/toolkit": "^1.6.1",
"@synthetixio/synpress": "^3.7.1",
"@types/gtag.js": "0.0.8",
"cross-env": "^7.0.3",
"date-fns": "^2.22.1",
"date-fns-tz": "^1.1.4",
"ethers": "^5.4.3",
"file-saver": "^2.0.5",
"history": "^4.10.1",
"lodash": "^4.17.21",
"magic-sdk": "^10.0.0",
"pretty-bytes": "^5.6.0",
"qr-scanner": "^1.2.0",
"qrcode.react": "^1.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-dropzone": "^14.2.1",
"react-feather": "^2.0.9",
"react-helmet": "^6.1.0",
"react-markdown": "^6.0.2",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-tooltip": "^4.2.21",
"redux": "^4.1.0",
"redux-saga": "^1.1.3",
"swiper": "^8.4.2",
"use-persisted-state": "^0.3.3"
},
"devDependencies": {
"@babel/core": "^7.14.5",
"@babel/preset-env": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@storybook/addon-essentials": "^6.4.19",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/react": "^6.4.19",
"@testing-library/jest-dom": "^5.13.0",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.0",
"@types/debug": "^4.1.5",
"@types/file-saver": "^2.0.3",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.2",
"@types/qrcode.react": "^1.0.1",
"@types/react": "^17.0.9",
"@types/react-dom": "^17.0.6",
"@types/react-helmet": "^6.1.1",
"@types/react-redux": "^7.1.16",
"@types/react-router-dom": "^5.1.7",
"@types/react-tooltip": "^4.2.4",
"@types/use-persisted-state": "^0.3.0",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"autoprefixer": "^10.4.2",
"babel-jest": "^27.0.2",
"babel-loader": "^8.2.2",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-transform-require-context": "^0.1.1",
"brotli-webpack-plugin": "^1.1.0",
"compression-webpack-plugin": "^6.1.1",
"concurrently": "^6.2.0",
"copy-webpack-plugin": "^6.4.1",
"css-loader": "^5.2.6",
"cypress-file-upload": "^5.0.8",
"debug": "^4.3.1",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"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-storybook": "^0.5.7",
"eslint-plugin-testcafe": "^0.2.1",
"file-loader": "^6.2.0",
"frontmatter-markdown-loader": "^3.6.2",
"ganache": "^7.5.0",
"html-webpack-plugin": "^4.5.2",
"husky": "^6.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-environment-jsdom-sixteen": "^2.0.0",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.6",
"postcss-cli": "^8.3.1",
"prettier": "^2.3.1",
"redux-devtools-extension": "^2.13.9",
"shelljs": "^0.8.5",
"sitemap": "^7.1.1",
"style-loader": "^2.0.0",
"tailwindcss": "^3.0.23",
"testcafe": "^2.3.0",
"typescript": "^4.3.2",
"wait-on": "^5.3.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2",
"webpack-env": "^0.8.0"
},
"engines": {
"node": ">=14.0.0"
},
"overrides": {
"ethereumjs-abi": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz"
}
}