-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpackage.json
114 lines (114 loc) · 3.69 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
{
"name": "governance",
"version": "0.0.0-development",
"description": "",
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"test": "jest --no-cache --runInBand",
"build": "tsc -p .",
"start": "DOTENV_CONFIG_PATH=.env.development nodemon --watch src/entities --watch src/back --watch src/clients --watch src/services --watch src/server.ts --watch static/api.yaml -e ts,json --exec 'ts-node -r dotenv/config' src/server",
"migrate": "DOTENV_CONFIG_PATH=.env.development ts-node -r dotenv/config.js ./node_modules/node-pg-migrate/bin/node-pg-migrate -j ts -m src/migrations -d CONNECTION_STRING",
"heroku": "./node_modules/node-pg-migrate/bin/node-pg-migrate -m lib/migrations -d CONNECTION_STRING up && NODE_ENV=production node lib/server.js",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\""
},
"jest": {
"watchman": false,
"setupFiles": [
"dotenv/config.js"
],
"roots": [
"<rootDir>/src/"
],
"moduleNameMapper": {
"\\.(css|less|sass|scss|gif|ttf|eot|svg)$": "<rootDir>/src/__mocks__/files.ts",
"^gatsby-page-utils/(.*)$": "gatsby-page-utils/dist/$1"
},
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testEnvironment": "node",
"resolver": "<rootDir>/export-maps-resolver.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/decentraland/governance.git"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/decentraland/governance/issues"
},
"homepage": "https://github.com/decentraland/governance#readme",
"dependencies": {
"@dcl/feature-flags": "^1.2.0",
"@dcl/schemas": "^11.5.0",
"@dcl/ui-env": "1.3.0",
"@otterspace-xyz/contracts": "^2.7.3",
"@pushprotocol/restapi": "^1.7.3",
"@snapshot-labs/snapshot.js": "0.10.1",
"chalk": "^4.1.2",
"dayjs": "^1.11.9",
"dayjs-precise-range": "^1.0.1",
"dcl-catalyst-client": "^21.7.0",
"decentraland-dapps": "^19.6.0",
"decentraland-gatsby": "^6.3.0",
"discord.js": "^14.7.1",
"dotenv": "^16.0.0",
"ethers": "^5.7.1",
"isomorphic-fetch": "^3.0.0",
"lodash": "^4.17.21",
"nft.storage": "^7.1.1",
"node-cache": "^5.1.2",
"node-pg-migrate": "^6.2.1",
"numeral": "^2.0.6",
"pg": "^8.7.3",
"pg-tsquery": "^8.3.0",
"remark-parse": "^9.0.0",
"remark-stringify": "^9.0.1",
"rollbar": "^2.26.1",
"slug": "^4.0.4",
"swagger-ui-express": "^4.6.0",
"unified": "9.2.2",
"yaml": "^2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/preset-env": "^7.22.15",
"@babel/preset-typescript": "^7.22.15",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/dayjs-precise-range": "^1.0.5",
"@types/express": "^4.17.11",
"@types/isomorphic-fetch": "0.0.35",
"@types/jest": "^29.5.8",
"@types/node": "^18.8.0",
"@types/numeral": "^2.0.1",
"@types/slug": "^0.9.1",
"@types/swagger-ui-express": "^4.1.3",
"@types/validator": "^13.6.6",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"enhanced-resolve": "^5.15.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^12.4.2",
"nodemon": "^2.0.7",
"prettier": "2.6.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.4.0",
"typescript": "5.2.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix",
"*.{js,jsx,ts,tsx,css,json}": "prettier --write"
},
"overrides": {
"@dcl/schemas": "^11.5.0",
"decentraland-connect": "5.2.4"
}
}