-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 2.92 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
{
"name": "apollo-server-boilerplate",
"version": "1.0.0",
"description": "This is boilerplate for graphql and graphql-ws using Apollo Server Express and powered by TypeORM and TypeGraphQL to make your work is quicker and easier",
"main": "index.js",
"scripts": {
"build": "ts-node ./src/helpers/build.helper.ts && tsc && tsc-alias",
"dev": "cross-env NODE_ENV=development ts-node-dev -r tsconfig-paths/register -r dotenv/config src/index.ts dotenv_config_path=.env",
"staging": "cross-env NODE_ENV=staging node dist/index.js",
"production": "cross-env NODE_ENV=production node dist/index.js",
"seed": "cross-env NODE_ENV=development ts-node -r tsconfig-paths/register ./node_modules/typeorm-seeding/dist/cli.js seed",
"schema:drop": "cross-env NODE_ENV=development ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js schema:drop",
"schema:sync": " cross-env NODE_ENV=development ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js schema:sync",
"migration:run": "cross-env NODE_ENV=development ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:run",
"migration:revert": "cross-env NODE_ENV=development ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:revert",
"database:refresh": "npm run schema:drop && npm run schema:sync && npm run seed",
"lint": "eslint --ignore-path .eslintignore --ext .js,.ts .",
"lint:fix": "eslint --fix --ignore-path .eslintignore --ext .js,.ts .",
"prettier": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\""
},
"author": "Arya W Pratama",
"license": "ISC",
"dependencies": {
"apollo-server-core": "^3.6.4",
"apollo-server-errors": "^3.3.1",
"apollo-server-express": "^3.6.4",
"bcryptjs": "^2.4.3",
"class-validator": "^0.13.2",
"colors": "^1.4.0",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"fs": "^0.0.1-security",
"graphql": "15.8.0",
"graphql-subscriptions": "^2.0.0",
"graphql-ws": "^5.5.5",
"jsonwebtoken": "^8.5.1",
"mysql": "^2.18.1",
"reflect-metadata": "^0.1.13",
"type-graphql": "^1.1.1",
"typeorm": "^0.2.45",
"ws": "^8.3.0"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/colors": "^1.2.1",
"@types/express": "^4.17.13",
"@types/faker": "^5.5.9",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^16.11.10",
"@types/validator": "^13.7.1",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "^16.1.3",
"eslint-plugin-import": "^2.25.3",
"faker": "^5.5.3",
"prettier": "^2.6.0",
"ts-node": "10.4.0",
"ts-node-dev": "^1.1.8",
"tsc-alias": "^1.6.4",
"tsconfig-paths": "^3.14.0",
"typeorm-seeding": "^1.6.1",
"typescript": "4.5.2"
}
}