-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.42 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.42 KB
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
{
"name": "backend",
"version": "1.0.0",
"main": "index.js",
"author": "suzukalight <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "ts-node-dev ./src/index.ts",
"build": "tsc -b",
"rebuild": "run-s clean reinstall build",
"clean": "run-p clean:*",
"clean:build": "rimraf build",
"clean:modules": "rimraf node_modules",
"clean:test_db": "rimraf test_db",
"reinstall": "yarn install",
"start": "node build/index.js",
"test": "env-cmd -f .env.default jest",
"test:watch": "yarn test --watch",
"test:cov": "run-s test:cov:run test:cov:open",
"test:cov:run": "yarn test --coverage",
"test:cov:open": "npx http-server -o ./coverage/lcov-report",
"test:cov:watch": "yarn test --coverage --watch",
"docker:up": "docker-compose up",
"docker:upd": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:down:rmi": "docker-compose down --rmi all --volumes --remove-orphans",
"typeorm": "node --require ts-node/register ../../node_modules/typeorm/cli.js",
"db:migrate": "yarn typeorm migration:run",
"db:migrate:revert": "yarn typeorm migration:revert",
"db:migration:generate": "yarn typeorm migration:generate -n",
"db:seed": "ts-node ./src/infrastructure/typeorm/seeder/index.ts",
"setup": "run-s setup:env docker:upd setup:wait:mysql db:migrate db:seed",
"setup:env": "node -e \"require('fs').copyFileSync('./.env.default', './.env')\"",
"setup:wait:mysql": "node --require ts-node/register ./docker/wait-mysql.ts"
},
"dependencies": {
"@graphql-tools/graphql-file-loader": "^6.0.16",
"@graphql-tools/load": "^6.0.16",
"@graphql-tools/schema": "^6.0.16",
"apollo-server": "^2.25.4",
"apollo-server-express": "^2.18.2",
"common": "file:../common",
"cors": "^2.8.5",
"date-fns": "^2.16.1",
"domain-model": "file:../domain-model",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"graphql": "^15.3.0",
"graphql-scalars": "^1.2.6",
"mysql2": "^2.1.0",
"reflect-metadata": "^0.1.13",
"schema": "file:../schema",
"sqlite3": "^5.0.0",
"typeorm": "^0.2.25",
"uuid": "^8.3.1"
},
"devDependencies": {
"@types/bluebird": "^3.5.32",
"@types/graphql-resolvers": "^0.3.0",
"@types/node": "^14.0.27",
"@types/uuid": "^8.3.0",
"apollo-server-testing": "^2.18.2",
"ts-node": "^8.10.2",
"ts-node-dev": "^1.0.0-pre.56",
"typescript": "^3.9.7"
}
}