-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
71 lines (71 loc) · 2.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
{
"name": "web3-login-demo",
"version": "1.0.1",
"description": "Showcase to login on a website with Kilt-Credentials",
"main": "index.ts",
"repository": "[email protected]:KILTprotocol/web3-login-demo.git",
"author": "KILT <[email protected]>",
"license": "BSD-4-Clause",
"private": true,
"workspaces": [
"frontend",
"backend"
],
"packageManager": "[email protected]",
"engines": {
"node": ">= 20.0"
},
"scripts": {
"environment": "ts-node ./launchScripts/genesisEnvironmentVariables.ts",
"did-configuration": "ts-node ./launchScripts/genesisWellKnownDidConfig.ts",
"build:frontend": "cd ./frontend && yarn build",
"build:backend": "cd ./backend && yarn build",
"build": "yarn build:frontend && yarn build:backend",
"start:frontend": "ts-node ./launchScripts/updatePorts.ts && cd ./frontend && yarn start",
"start:backend": "cd ./backend && yarn start",
"start-prod:backend": "cd ./backend && yarn start-prod",
"start": "concurrently 'yarn:start:*'",
"lint": "concurrently 'yarn:lint:*'",
"lint:frontend": "eslint --ext .js,.ts --config ./.eslintrc.json \"frontend/**/*.ts\"",
"lint:backend": "eslint --ext .js,.ts --config ./.eslintrc.json \"backend/**/*.ts\"",
"lint:scripts": "eslint --ext .js,.ts --config ./.eslintrc.json \"launchScripts/**/*.ts\"",
"fix": "concurrently 'yarn:fix:*'",
"fix:frontend": "eslint --ext .js,.ts --config ./.eslintrc.json --fix \"frontend/**/*.ts\"",
"fix:backend": "eslint --ext .js,.ts --config ./.eslintrc.json --fix \"backend/**/*.ts\"",
"fix:scripts": "eslint --ext .js,.ts --config ./.eslintrc.json --fix \"launchScripts/**/*.ts\""
},
"devDependencies": {
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"concurrently": "^8.2.2",
"eslint": ">=8.31.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"typescript": "^5.0.4"
},
"dependencies": {
"@kiltprotocol/sdk-js": "^0.35.2",
"@kiltprotocol/types": "^0.35.2",
"@kiltprotocol/vc-export": "^0.35.2",
"@polkadot/util": "10.4.2",
"@polkadot/util-crypto": "10.4.2",
"@types/valid-url": "^1.0.7",
"dotenv": "^16.0.3",
"ts-node": "^10.9.2",
"valid-url": "^1.0.9"
},
"resolutions": {
"@polkadot/api": "9.10.2",
"@polkadot/rpc-provider": "9.10.2",
"@polkadot/keyring": "10.4.2",
"@polkadot/util": "10.4.2",
"@polkadot/util-crypto": "10.4.2",
"@polkadot/types": "9.10.2"
}
}