forked from paritytech/governance-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 3.19 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
{
"name": "governance-ui",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"scripts": {
"clean": "rm -rf .parcel-cache dist out node_modules yarn.lock",
"prepare": "husky install",
"dev": "DEFAULT_NETWORK=kusama VERSION=`git rev-parse --short HEAD` parcel serve ./src/index.html",
"build": "VERSION=`git rev-parse --short HEAD` parcel build ./src/index.html --detailed-report --log-level verbose --public-url ${PUBLIC_URL:-/} && cp assets/robots.txt dist/ && mkdir -p dist/data && cp -R assets/data/* dist/data/",
"fix:assets": "jsonlint -i assets/data/",
"fix:format": "prettier -w ./src",
"fix:lint": "eslint ./src --fix",
"fix:all": "yarn fix:assets && yarn fix:format && yarn fix:lint",
"check:assets": "jsonlint -k -i assets/data/",
"check:format": "prettier -c ./src",
"check:lint": "eslint ./src",
"check:tsc": "tsc --noEmit",
"check:all": "yarn check:assets && yarn check:format && yarn check:lint && yarn check:tsc",
"test:unit": "jest --detectOpenHandles"
},
"source": "src/index.tsx",
"app": "dist/index.html",
"targets": {
"app": {}
},
"browserslist": [
"last 2 versions"
],
"dependencies": {
"@parcel/service-worker": "2.9.3",
"@polkadot-onboard/core": "0.0.10",
"@polkadot-onboard/injected-wallets": "0.0.10",
"@polkadot-onboard/react": "0.0.10",
"@polkadot/api": "10.9.1",
"@polkadot/react-identicon": "3.5.1",
"@polkadot/util": "12.3.2",
"party-js": "2.2.0",
"react": "18.2.0",
"react-copy-to-clipboard": "5.1.0",
"react-dom": "18.2.0",
"react-remark": "2.1.0",
"react-router-dom": "6.14.1"
},
"devDependencies": {
"@parcel/compressor-brotli": "2.9.3",
"@parcel/compressor-gzip": "2.9.3",
"@parcel/packager-raw-url": "2.9.3",
"@parcel/transformer-svg-react": "2.9.3",
"@parcel/transformer-webmanifest": "2.9.3",
"@playwright/test": "1.35.1",
"@prantlf/jsonlint": "^14.0.3",
"@tailwindcss/typography": "0.5.9",
"@testing-library/react": "14.0.0",
"@types/bn.js": "5.1.1",
"@types/jest": "29.5.2",
"@types/react": "18.2.14",
"@types/react-copy-to-clipboard": "5.0.4",
"@types/react-dom": "18.2.6",
"@types/serviceworker": "0.0.68",
"@typescript-eslint/eslint-plugin": "5.60.1",
"@typescript-eslint/parser": "5.60.1",
"buffer": "6.0.0",
"eslint": "8.44.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-unused-imports": "2.0.0",
"fake-indexeddb": "4.0.1",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"parcel": "2.9.3",
"parcel-resolver-fix-ts-esm-shit": "0.0.1",
"postcss": "8.4.24",
"prettier": "2.8.8",
"prettier-plugin-tailwindcss": "0.3.0",
"process": "0.11.10",
"tailwindcss": "3.3.2",
"ts-jest": "29.1.1",
"typescript": "5.1.6"
},
"alias": {
"@polkadot/x-fetch": "./node_modules/@polkadot/x-fetch/browser.js",
"@polkadot/x-ws": "./node_modules/@polkadot/x-ws/browser.js",
"@polkadot/x-textencoder": "./node_modules/@polkadot/x-textencoder/browser.js",
"@polkadot/x-textdecoder": "./node_modules/@polkadot/x-textdecoder/browser.js"
},
"packageManager": "yarn@1.22.19"
}