-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 3.43 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
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
{
"name": "react-awesome-app",
"version": "1.0.0",
"description": "React Awesome App",
"main": "index.js",
"scripts": {
"start": "nodemon --watch server ./bin/www",
"test": "npm-run-all test:**",
"build": "npm-run-all build:**",
"server:start": "pm2 start ./bin/www --name yeps --watch",
"server:stop": "pm2 kill",
"db:start": "npm-run-all -c -p db:start:*",
"db:stop": "npm-run-all -c -p db:stop:*",
"docker:build": "docker build -t yeps .",
"docker:run": "docker run -d -p 80:3000 --name yeps -v $PWD/server:/usr/src/app/server -v $PWD/dist:/usr/src/app/dist -v $PWD/logs:/var/logs --link redis:redis --link mongo:mongo yeps",
"docker:stop": "docker rm -f yeps",
"compose:up": "docker-compose up -d --build",
"compose:down": "docker-compose down",
"compose:clear": "docker-compose down --rmi all",
"clear": "npm-run-all -c -p clear:**",
"build:apidoc": "apidoc -i server -o dist/apidoc -f .js",
"lint": "npm-run-all lint:**",
"lint:js": "eslint server tests",
"test:lint": "npm run lint",
"test:server": "mocha tests --recursive --exit",
"test:security": "nsp check",
"test:coverage:cover": "istanbul cover _mocha -- tests --recursive --exit",
"test:coverage:check": "istanbul check-coverage",
"db:start:redis": "docker run -d --name redis -p 6379:6379 redis:alpine",
"db:start:mongo": "docker run -d --name mongo -p 27017:27017 -v $PWD/mongo/data:/data/db mongo",
"db:stop:redis": "docker rm -f redis",
"db:stop:mongo": "docker rm -f mongo",
"clear:stop": "docker rm -f $(docker ps -a -q)",
"clear:rm:images": "docker rmi -f $(docker images -q)",
"clear:rm:volumes": "docker volume rm $(docker volume ls -f dangling=true -q)",
"clear:networks": "docker network ls | awk '$3 == \"bridge\" && $2 != \"bridge\" { print $1 }'",
"report": "cat ./coverage/lcov.info | coveralls",
"precommit": "npm test",
"prepush": "npm test"
},
"apidoc": {
"title": "apiDoc - React Awesome App",
"url": "https://localhost/",
"template": {
"withCompare": true,
"withGenerator": true
}
},
"keywords": [],
"author": "Evheniy Bystrov",
"license": "MIT",
"engines": {
"node": ">=8.9.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/evheniy/react-awesome-app.git"
},
"dependencies": {
"apidoc": "^0.17.6",
"bcryptjs": "^2.4.3",
"config": "^1.28.1",
"debug": "^3.1.0",
"jsonwebtoken": "^8.1.0",
"nodemon": "^1.13.3",
"npm-run-all": "^4.1.2",
"pm2": "^2.9.1",
"yeps": "^1.1.1",
"yeps-bodyparser": "^1.1.1",
"yeps-chaos": "^0.1.0",
"yeps-cors": "^1.0.1",
"yeps-error": "^1.3.1",
"yeps-graphql": "^0.1.0",
"yeps-helmet": "^1.0.1",
"yeps-logger": "^1.0.2",
"yeps-method-override": "^1.0.2",
"yeps-mongoose": "^1.0.3",
"yeps-redis": "^1.0.1",
"yeps-response": "^0.2.0",
"yeps-restify": "^0.1.0",
"yeps-router": "^1.2.0",
"yeps-server": "^1.1.2",
"yeps-static": "^1.4.1"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-http": "^3.0.0",
"coveralls": "^3.0.0",
"eslint": "^4.13.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.5.1",
"husky": "^0.14.3",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^4.0.1",
"mocha-lcov-reporter": "^1.3.0",
"nsp": "^3.1.0",
"sinon": "^4.1.3"
}
}