generated from jimmychu0807/substrate-front-end-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
119 lines (119 loc) · 3.98 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
{
"name": "chocolate",
"version": "0.1.1",
"private": true,
"author": "Parity Technologies <admin@parity.io>",
"license": "Unlicense",
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"get:meta": "ts-node -P tsconfig.defs.json ./scripts/getJson.ts",
"build-types": "yarn run generate:defs && yarn run generate:meta",
"generate:defs": "ts-node -P tsconfig.defs.json node_modules/@polkadot/typegen/scripts/polkadot-types-from-defs.cjs --package chocolate/interfaces --input ./src/interfaces",
"generate:meta": "ts-node -P tsconfig.defs.json node_modules/@polkadot/typegen/scripts/polkadot-types-from-chain.cjs --package chocolate/interfaces --endpoint ./jsons/chocolate.json --output ./src/interfaces",
"test": "CI=true react-app-rewired test --env=jsdom",
"eject": "react-app-rewired eject",
"lint": "eslint src/**/*{.js,.jsx,.ts,.tsx}",
"lint:ci": "eslint src/**/*{.js,.jsx,.ts,.tsx} --max-warnings=0",
"lint:fix": "eslint --fix src/**/*{.js,.jsx,.ts,.tsx}",
"deploy": "gh-pages -d build -m '[ci skip] Updates'",
"fire:deploy": "yarn run build && firebase deploy"
},
"dependencies": {
"@hcaptcha/react-hcaptcha": "^0.3.9",
"@mantine/core": "^4.2.5",
"@mantine/hooks": "^4.2.5",
"@polkadot/api": "^5.3.2",
"@polkadot/extension-dapp": "^0.39.1",
"@polkadot/keyring": "^7.1.1",
"@polkadot/networks": "^7.1.1",
"@polkadot/react-identicon": "^0.84.3",
"@polkadot/typegen": "^5.3.2",
"@polkadot/types": "^5.3.2",
"@polkadot/ui-keyring": "^0.84.3",
"@polkadot/ui-settings": "^0.84.3",
"@polkadot/util": "^7.1.1",
"@polkadot/util-crypto": "^7.1.1",
"ipfs-http-client": "49.0.0",
"lodash": "^4.17.14",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^16.14.0",
"react-hot-toast": "^2.1.1",
"react-query": "^3.27.0",
"react-router-dom": "^6.0.0",
"react-scripts": "^4.0.3",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^2.0.3"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/eslint-parser": "^7.15.4",
"@babel/preset-react": "^7.14.5",
"@types/lodash": "^4.14.177",
"@types/react": "^16.14.26",
"@types/react-copy-to-clipboard": "^5.0.1",
"@types/react-dom": "16.9.16",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"babel-preset-env": "^1.7.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^14.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-wesbos": "2.0.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-only-warn": "^1.0.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"gh-pages": "^3.1.0",
"prettier": "^2.3.2",
"react-app-rewire-alias": "^1.1.3",
"react-app-rewired": "^2.1.8",
"ts-node": "^10.2.1",
"typescript": "^4.5.2"
},
"engines": {
"node": ">=14",
"npm": ">=7"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"homepage": "https://chocolate-demo.web.app/",
"bugs": {
"url": "https://github.com/chocolatenetwork/chocolate-front-end/issues"
},
"keywords": [
"substrate",
"substrate-ui",
"polkadot-js"
],
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/src/__tests__/mock.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/src/__tests__/mock.js"
}
},
"resolutions": {
"babel-loader": "8.1.0",
"webpack": "4.44.2",
"typescript": "4.5.2"
}
}