-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
41 lines (41 loc) · 1.28 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
{
"name": "apos-nuxt-demo",
"version": "1.0.0",
"description": "Demonstration application of a platform using Apostrophe and Nuxt",
"scripts": {
"dev": "cd ./frontend && npm run dev & cd ./backend && npm run dev",
"install-app": "cd ./frontend && npm i && cd ../backend && npm i",
"lint": "npm run lint:frontend && npm run lint:backend",
"lint:frontend": "cd ./frontend && npm run lint",
"lint:backend": "cd ./backend && npm run lint",
"db:dump": "docker run --rm --link demo-db:mongo --net apos-nuxt-demo_default -v $(pwd)/backend/data/db:/backup mongo bash -c 'mongodump --out /backup --host mongo --db apos-nuxt-demo'",
"db:restore": "docker run --rm --link demo-db:mongo --net apos-nuxt-demo_default -v $(pwd)/backend/data/db:/backup mongo mongorestore /backup --host mongo"
},
"dependencies": {
"husky": "^3.0.7"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"repository": {
"type": "git",
"url": ""
},
"author": "Anthony Tarlao @falkodev",
"license": "MIT",
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "avoid"
},
"eslintConfig": {
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017
}
}
}