-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
103 lines (103 loc) · 2.65 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
{
"name": "docker-vue-node-nginx-mongodb-redis",
"version": "0.1.0",
"private": true,
"author": "nicejade",
"scripts": {
"bootstrap": "lerna bootstrap --npm-client=yarn",
"start": "lerna exec --scope -- yarn start",
"commit": "git add . && git commit -a && git push",
"deploy": "docker-compose down && docker-compose up",
"prettier": "prettier --write \"{client,server}/**/*.{js,css,scss,vue}\"",
"watcher": "onchange '**/*.md' \"{client,server}/**/**/*.{js,css,scss,vue}\" -- prettier --write {{changed}}",
"eslint-fix": "eslint src/**/**/*.vue --fix",
"format-code": "npm run format-client & npm run format-server",
"format-client": "prettier-eslint --write \"client/src/**/*.js\" \"client/src/**/*.vue\"",
"format-server": "prettier-eslint --write \"server/src/**/*.js\"",
"client:start": "lerna exec --scope client -- yarn start",
"client:build": "lerna exec --scope client -- yarn build",
"server:start": "lerna exec --scope server -- yarn start",
"server:build": "lerna exec --scope client -- yarn build"
},
"keywords": [
"docker",
"vue",
"node",
"nginx",
"mongodb",
"redis"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nicejade/docker-vue-node-nginx-mongodb-redis.git"
},
"homepage": "https://nicelinks.site",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
"husky": "^4.3.0",
"lerna": "3.22.1",
"lint-staged": "^7.2.2",
"prettier-eslint-cli": "^4.7.1"
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"es6": true
},
"rules": {
"no-console": 0,
"no-useless-escape": 0,
"no-multiple-empty-lines": [
2,
{
"max": 3
}
],
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": false,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"insertPragma": true,
"requirePragma": false
}
]
},
"plugins": [],
"extends": [
"plugin:vue/essential",
"plugin:prettier/recommended",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
}
},
"prettier": {
"singleQuote": true,
"semi": false,
"printWidth": 100,
"proseWrap": "never"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/**.{js,json,pcss,md,vue}": [
"prettier --write",
"git add"
]
},
"eslintIgnore": [
"package.json"
]
}