forked from clapy-app/clapy-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 2.78 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
{
"name": "clapy-root",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"type": "module",
"engines": {
"node": ">=14"
},
"packageManager": "yarn@3.2.3",
"workspaces": [
"backend-clapy",
"figma-plugin-clapy"
],
"scripts": {
"________________ development ________________": "",
"dev": "npm-run-all --parallel plugin-dev dup console",
"preview": "cd ../local-gen-clapy && yarn && npm run start",
"console": "yarn hasura console",
"upgr": "yarn upgrade-interactive",
"dup": "docker compose stop dev && docker compose up -d --remove-orphans db hasura",
"dup2": "docker compose stop backend && docker compose up -d dev",
"upold": "UID=\"$(id -u)\" GID=\"$(id -g)\" docker-compose stop dev && UID=\"$(id -u)\" GID=\"$(id -g)\" docker-compose up -d db hasura backend",
"stop": "docker compose stop",
"fixtime": "sudo ntpdate -sb time.nist.gov",
"start:local-gen-clapy": "cd ../local-gen-clapy && yarn start",
"log": "docker compose logs -f --tail 100 backend",
"analytics": "cd backend-clapy && yarn analytics",
"gentypes": "graphql-code-generator -r dotenv/config",
"________________ deployment ________________": "",
"migrate:dev": "npm run hasura -- deploy --endpoint http://localhost:8089/",
"migrate:staging": "npm run hasura:server -- deploy --endpoint updateme",
"migrate:prod": "npm run hasura:server -- deploy --endpoint https://hasura-loitgf2s5q-ew.a.run.app/",
"________________ implementation details ________________": "",
"postinstall": "mkdir -p ../local-gen-clapy",
"upwait": "yarn dup && sleep 5",
"install:backend": "cd backend-clapy && yarn",
"install:plugin": "cd figma-plugin-clapy && yarn",
"plugin-dev": "cd figma-plugin-clapy && yarn dev",
"plugin-test": "cd figma-plugin-clapy && yarn start",
"hasura:squash": "yarn hasura migrate squash --database-name \"Clapy DB\"",
"hasura": "$(yarn bin hasura) --project db/hasura --envfile ../../.env --skip-update-check",
"hasura:server": "$(yarn bin hasura) --project db/hasura --skip-update-check",
"pinggit": "ssh -T git@github.com",
"kill": "sudo kill -9 `sudo lsof -t -i:9001`; sudo kill -9 `sudo lsof -t -i:9000`; sudo kill -9 `sudo lsof -t -i:3000`; sudo kill -9 `sudo lsof -t -i:9230`; echo Done",
"free": "sudo ./scripts/cleanram.sh"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.12.0",
"@graphql-codegen/schema-ast": "^2.5.1",
"@graphql-codegen/typescript": "^2.7.3",
"@types/eslint": "^8.4.6",
"@types/prettier": "^2.7.0",
"dotenv": "^16.0.2",
"eslint": "^8.23.0",
"graphql": "^16.6.0",
"hasura-cli": "^2.10.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"tslib": "^2.4.0",
"typescript": "^4.8.2"
}
}