-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
93 lines (93 loc) · 3.01 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
{
"name": "zo-ts-rest-api",
"version": "0.0.0",
"description": "Zero One Rest API service",
"author": "",
"bin": "src/app.ts",
"license": "",
"scripts": {
"start": "npm run build && cross-env NODE_ENV=development node dist/server.js",
"dev": "cross-env NODE_ENV=development nodemon",
"build": "swc src -d dist --source-maps --copy-files",
"build:tsc": "tsc && tsc-alias",
"compile": "ncc build src/server.ts -o dist/ && pkg dist/index.js -o build/source/build -t node14-linux,node14-win",
"lint": "eslint --ignore-path .gitignore --ext .ts src/",
"lint:fix": "npm run lint -- --fix",
"deploy:prod": "npm run build && pm2 start ecosystem.config.js --only prod",
"deploy:dev": "pm2 start ecosystem.config.js --only dev",
"local-client": "npm uninstall @zero_one/client && cd ../zo-client && npm run build && cd ../zo-ts-rest-api && npm i \"@zero_one/client\"@\"file:../zo-client\" --legacy-peer-deps",
"npm-client": "npm i \"@zero_one/client\"@\"*\" --legacy-peer-deps",
"beta-client": "npm uninstall @zero_one/client && npm i \"@zero_one/client\"@\"beta\" --legacy-peer-deps"
},
"dependencies": {
"@project-serum/anchor": "^0.20.1",
"@solana/web3.js": "^1.47.4",
"@zero_one/client": "^0.9.7",
"axios": "^0.27.2",
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"envalid": "^7.1.0",
"express": "^4.17.1",
"helmet": "^4.6.0",
"hpp": "^0.2.3",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.10.0",
"realm-web": "^1.7.1",
"swagger-jsdoc": "^6.0.0",
"swagger-ui-express": "^4.1.6"
},
"devDependencies": {
"@swc/cli": "^0.1.51",
"@swc/core": "^1.2.108",
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.1",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.11",
"@types/express": "^4.17.13",
"@types/hpp": "^0.2.1",
"@types/jsonwebtoken": "^8.5.4",
"@types/morgan": "^1.9.3",
"@types/node": "^16.0.1",
"@types/supertest": "^2.0.11",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"@vercel/ncc": "^0.34.0",
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"lint-staged": "^11.0.0",
"node-config": "^0.0.2",
"node-gyp": "^8.1.0",
"nodemon": "^2.0.9",
"pkg": "^5.8.0",
"prettier": "^2.3.2",
"supertest": "^6.2.2",
"ts-node": "^10.4.0",
"tsc-alias": "^1.4.1",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.5.2"
},
"prettier": {
"trailingComma": "all",
"semi": false,
"tabWidth": 4,
"useTabs": true
},
"pkg": {
"assets": [
"./node_modules/@types",
"./node_modules/typescript/lib/*.d.ts",
"src/**/*.ts",
"./tsconfig.json"
]
}
}