forked from async-labs/saas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.84 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
{
"name": "saas-boilerplate",
"version": "2.0.0",
"license": "MIT",
"description": "Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB and Docker CE. Written with TypeScript.",
"scripts": {
"dev": "yarn --cwd ./api dev & yarn --cwd ./app dev",
"test": "yarn --cwd ./api test && yarn --cwd ./app test",
"postinstall": "yarn --cwd ./api install && yarn --cwd ./app install",
"build": "yarn build:api && yarn build:app",
"build:api": "yarn --cwd ./api build",
"build:app": "yarn --cwd ./app build",
"stage": "docker-compose build --force-rm",
"stage:config": "docker-compose config",
"stage:start": "docker-compose up",
"stage:stop": "docker-compose down",
"stage:clean": "docker-compose rm",
"stage:api": "docker-compose run --service-ports --use-aliases --rm saas-api",
"stage:app": "docker-compose run --service-ports --use-aliases --rm saas-app",
"stage:db": "docker-compose run --service-ports --use-aliases --rm saas-mongo",
"stage:db2": "docker-compose run --service-ports --use-aliases --rm saas-mongoexp",
"clean:prune": "yarn stage:clean && docker rmi $(docker images -f reference=saas-*:* -q) --force && yarn clean:dangling && yarn clean:volumes",
"clean:dangling": "docker rmi $(docker images -f dangling=true -q)",
"clean:volumes": "docker volume ls -qf dangling=true | xargs -r docker volume rm",
"sh:api": "docker-compose exec saas-api sh",
"sh:app": "docker-compose exec saas-app sh",
"tree": "tree -a -L 4 -I 'node_modules|.git|.next|production-server' -v --dirsfirst"
},
"keywords": [
"react",
"typescript",
"node",
"mongo",
"saas",
"material-ui",
"next",
"mobx",
"websockets",
"express",
"docker"
],
"devDependencies": {}
}