generated from Open-Attestation/decentralized-renderer-react-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
102 lines (102 loc) · 4.2 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
{
"name": "generic-templates",
"version": "0.1.0-development",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/TradeTrust/generic-templates.git"
},
"license": "Apache-2.0",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"build": "run-s check-types build:css build:app",
"build:css": "run-s build:css:application build:css:renderer",
"build:css:application": "cross-env NODE_ENV=production tailwindcss -c application/tailwind.config.js -i application/input.css -o application/main.css",
"build:css:renderer": "cross-env NODE_ENV=production tailwindcss -c tailwind.config.js -i src/tailwind.css -o src/main.css",
"build:app": "cross-env NODE_ENV=production webpack --progress --mode production",
"check-types": "tsc --sourceMap false --noEmit",
"dev": "run-s build:css:renderer dev:server",
"dev:server": "cross-env NODE_ENV=development webpack-dev-server",
"example:application": "run-p 'build:css:application -- --watch' example:application:server",
"example:application:server": "cross-env NODE_ENV=development webpack-dev-server --config application/webpack.config.js",
"integration": "testcafe chrome src/**/*.spec.ts --app \"npm run example:application\" --app-init-delay 4000",
"integration:headless": "testcafe chrome:headless src/**/*.spec.ts --app \"npm run example:application\" --app-init-delay 45000",
"integration:concurrently:headless": "concurrently -k -s first \"npm:dev\" \"npm:integration:headless\"",
"lint": "eslint . --ext .ts,.tsx --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"prep": "run-s lint:fix check-types test",
"storybook": "npm-run-all build:css:renderer -p 'build:css:renderer -- --watch' storybook:start",
"storybook:start": "start-storybook -s ./ -p 6006",
"storybook:build": "npm run build:css:renderer && sleep 2 && build-storybook -o docs",
"test": "jest --ci",
"test:coverage": "npm run test -- --coverage",
"test:watch": "npm run test -- --watch"
},
"dependencies": {
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
"@tradetrust-tt/decentralized-renderer-react-components": "3.13.0-alpha.3",
"@tradetrust-tt/tradetrust": "6.8.0-alpha.4",
"@govtechsg/tradetrust-ui-components": "^2.21.0",
"date-fns": "^2.28.0",
"debug": "^4.3.3",
"escape-goat": "3.0.0",
"qrcode.react": "^1.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@emotion/babel-preset-css-prop": "^11.2.0",
"@storybook/addon-essentials": "^6.4.19",
"@storybook/react": "^6.4.19",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@types/debug": "^4.1.7",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.19",
"@types/qrcode.react": "^1.0.2",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@types/xml2js": "^0.4.12",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"autoprefixer": "^10.4.2",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.3",
"brotli-webpack-plugin": "^1.1.0",
"buffer": "^6.0.3",
"compression-webpack-plugin": "^9.2.0",
"concurrently": "^7.0.0",
"copy-webpack-plugin": "^10.2.4",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-testcafe-community": "^2.0.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.6",
"prettier": "^2.5.1",
"stream-browserify": "^3.0.0",
"tailwindcss": "^3.3.3",
"testcafe": "^1.18.4",
"timers-browserify": "^2.0.12",
"typescript": "^4.5.5",
"webpack": "^5.69.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
}
}