-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
145 lines (145 loc) · 3.95 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "nodejs-powerplate",
"version": "1.0.0",
"description": "A production ready boilerplate for Node.js",
"repository": {
"type": "git",
"url": "https://github.com/jwall149/powerplate.git"
},
"author": "Tonny Pham",
"license": "MIT",
"scripts": {
"start": "node app.js",
"snyktest": "snyk test",
"test": "mocha **/*.test.js --reporter spec",
"preserve": "webpack",
"serve": "node app.js",
"dev": "nodemon --watch . --ignore 'public/assets/js/dist' --delay 250ms --exec 'npm run serve'",
"predebug": "webpack",
"debug": "node --inspect app.js",
"eslint": "eslint app.js client con controllers lib models",
"minify": "uglifyjs public/assets/js/dist/bundle.js -o public/assets/js/dist/bundle.min.js",
"preheroku-push": "npm run snyktest; webpack; npm run eslint; npm run minify",
"heroku-push": "git remote set-url heroku `node .bin/env.js list herokuUrls $pushEnv`;heroku container:push web",
"git-pull-submodules": "git submodule foreach git pull origin master",
"clgit": "git branch --merged | egrep -v \"(^\\*|master|dev)\" | xargs git branch -d",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"pre-commit": ["eslint", "test"],
"dependencies": {
"bcrypt-nodejs": "^0.0.3",
"blueimp-tmpl": "^3.8.0",
"body-parser": "^1.15.2",
"bootstrap": "^3.3.7",
"chalk": "^1.1.3",
"cheerio": "^0.22.0",
"clockwork": "^0.1.4",
"compression": "^1.6.2",
"connect-mongo": "^1.3.2",
"dotenv": "^4.0.0",
"errorhandler": "^1.4.3",
"express": "^4.14.0",
"express-flash": "^0.0.2",
"express-session": "^1.14.2",
"express-status-monitor": "^1.0.1",
"express-validator": "^3.1.2",
"github": "^9.2.0",
"helmet": "^3.6.1",
"jquery": "^3.2.1",
"lob": "^3.9.0",
"lusca": "^1.4.1",
"mandrill-api": "^1.0.45",
"material-components-web": "^0.16.0",
"material-design-icons": "^3.0.1",
"moment": "^2.18.1",
"mongoose": "^4.6.6",
"morgan": "^1.7.0",
"multer": "^1.2.0",
"node-sass-middleware": "^0.11.0",
"passport": "0.3.2",
"passport-local": "^1.0.0",
"pug": "^2.0.0-beta6",
"request": "^2.78.0",
"rest": "^2.0.0",
"secure-random": "^1.1.1",
"snyk": "^1.34.1",
"static-asset": "^0.6.0",
"sweetalert2": "^6.6.4",
"underscore-contrib": "^0.3.0",
"validator": "^7.0.0"
},
"devDependencies": {
"chai": "^3.5.0",
"eslint": "^3.9.1",
"eslint-config-airbnb-base": "^11.0.0",
"eslint-plugin-import": "^2.1.0",
"mocha": "^3.1.2",
"nodemon": "^1.11.0",
"pre-commit": "^1.2.2",
"sinon": "^2.3.2",
"supertest": "^3.0.0",
"uglify-es": "^3.0.15",
"webpack": "^2.6.1",
"webpack-dev-server": "^2.4.5"
},
"eslintConfig": {
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"globals": {
"jQuery": true,
"$": true,
"_": true,
"xtmpl": true,
"swal": true,
"mdc": true
},
"rules": {
"arrow-parens": [
"error",
"always"
],
"arrow-body-style": [
2,
"as-needed"
],
"comma-dangle": [
2,
"always-multiline"
],
"no-return-await": 0,
"no-param-reassign": 0,
"import/imports-first": 0,
"import/newline-after-import": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"import/no-unresolved": 2,
"import/prefer-default-export": 0,
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"max-len": 0,
"newline-per-chained-call": 0,
"no-console": 0,
"no-use-before-define": 0,
"prefer-template": 2,
"class-methods-use-this": 0,
"no-plusplus": 0
}
},
"snyk": true
}