-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.04 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
{
"private": true,
"license": "BSD-4-Clause",
"type": "module",
"engines": {
"node": ">= v20.0"
},
"scripts": {
"prettify": "prettier --write \"src/**/*.ts*\"",
"lint": "yarn run lint-css && yarn run lint-js",
"lint-js": "eslint --max-warnings 0 --config ./.eslintrc.json \"src/**/*.ts*\"",
"lint-css": "stylelint --max-warnings 0 --fix \"src/**/*.css\"",
"test": "tsc --noEmit",
"did-create": "node --enable-source-maps dist/backend/createDID.js",
"did-configuration": "node --enable-source-maps dist/backend/createDIDConfiguration.js",
"commonjs": "mkdir -p dist && echo '{\"type\":\"commonjs\"}' > dist/package.json",
"dev": "yarn commonjs && yarn parcel watch",
"build": "NODE_OPTIONS=--no-experimental-fetch yarn parcel build",
"start": "node --enable-source-maps dist/backend/server.js",
"dev-start": "supervisor --watch dist/backend/ -- --enable-source-maps dist/backend/server.js"
},
"dependencies": {
"@kiltprotocol/sdk-js": "^0.35.0",
"@kiltprotocol/vc-export": "^0.35.0",
"@polkadot/util-crypto": "^12.2.2",
"body-parser": "^1.20.2",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-basic-auth": "^1.2.1",
"http-status-codes": "^2.3.0",
"ky": "^1.1.3",
"node-cache": "^5.1.2",
"pino": "^8.16.1",
"pino-pretty": "^10.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.18.0"
},
"devDependencies": {
"@types/body-parser": "^1.19.4",
"@types/express": "^4.17.20",
"@types/node": "^20.8.10",
"@types/react": "^18.2.34",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"buffer": "^6.0.3",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"events": "^3.3.0",
"parcel": "^2.7.0",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"process": "^0.11.10",
"stylelint": "^15.11.0",
"stylelint-config-standard": "^34.0.0",
"supervisor": "^0.12.0",
"typescript": "^5.2.2"
},
"targets": {
"userFrontend": {
"context": "browser",
"engines": {
"browsers": "last 2 Chrome versions, last 2 Firefox versions"
},
"source": "src/frontend/user/index.html",
"distDir": "dist/frontend/user"
},
"adminFrontend": {
"context": "browser",
"engines": {
"browsers": "last 2 Chrome versions, last 2 Firefox versions"
},
"source": "src/frontend/admin/index.html",
"distDir": "dist/frontend/admin",
"publicUrl": "/admin"
},
"backend": {
"context": "node",
"source": [
"src/backend/server.ts",
"src/backend/createDID.ts",
"src/backend/createDIDConfiguration.ts"
],
"distDir": "dist/backend",
"outputFormat": "esmodule"
}
},
"packageManager": "[email protected]"
}