|
1 | 1 | { |
2 | | - "name": "clapy-root", |
3 | | - "version": "0.0.1", |
4 | | - "description": "", |
5 | | - "author": "", |
6 | | - "private": true, |
7 | | - "license": "UNLICENSED", |
8 | | - "type": "module", |
9 | | - "engines": { |
10 | | - "node": ">=14" |
11 | | - }, |
12 | | - "packageManager": "[email protected]", |
13 | | - "workspaces": [ |
14 | | - "backend-clapy", |
15 | | - "figma-plugin-clapy" |
| 2 | + "name": "clapy-react", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "A React app template for Clapy", |
| 5 | + "keywords": [ |
| 6 | + "Clapy", |
| 7 | + "React", |
| 8 | + "TypeScript" |
16 | 9 | ], |
17 | | - "scripts": { |
18 | | - "________________ development ________________": "", |
19 | | - "dev": "npm-run-all --parallel plugin-dev dup console", |
20 | | - "preview": "cd ../local-gen-clapy && yarn && npm run start", |
21 | | - "console": "yarn hasura console", |
22 | | - "upgr": "yarn upgrade-interactive", |
23 | | - "dup": "docker compose stop dev && docker compose up -d --remove-orphans db hasura", |
24 | | - "dup2": "docker compose stop backend && docker compose up -d dev", |
25 | | - "upold": "UID=\"$(id -u)\" GID=\"$(id -g)\" docker-compose stop dev && UID=\"$(id -u)\" GID=\"$(id -g)\" docker-compose up -d db hasura backend", |
26 | | - "stop": "docker compose stop", |
27 | | - "fixtime": "sudo ntpdate -sb time.nist.gov", |
28 | | - "start:local-gen-clapy": "cd ../local-gen-clapy && yarn start", |
29 | | - "log": "docker compose logs -f --tail 100 backend", |
30 | | - "analytics": "cd backend-clapy && yarn analytics", |
31 | | - "gentypes": "graphql-code-generator -r dotenv/config", |
32 | | - "________________ deployment ________________": "", |
33 | | - "migrate:dev": "npm run hasura -- deploy --endpoint http://localhost:8089/", |
34 | | - "migrate:staging": "npm run hasura:server -- deploy --endpoint updateme", |
35 | | - "migrate:prod": "npm run hasura:server -- deploy --endpoint https://hasura-loitgf2s5q-ew.a.run.app/", |
36 | | - "________________ implementation details ________________": "", |
37 | | - "postinstall": "mkdir -p ../local-gen-clapy", |
38 | | - "upwait": "yarn dup && sleep 5", |
39 | | - "install:backend": "cd backend-clapy && yarn", |
40 | | - "install:plugin": "cd figma-plugin-clapy && yarn", |
41 | | - "plugin-dev": "cd figma-plugin-clapy && yarn dev", |
42 | | - "plugin-test": "cd figma-plugin-clapy && yarn start", |
43 | | - "hasura:squash": "yarn hasura migrate squash --database-name \"Clapy DB\"", |
44 | | - "hasura": "$(yarn bin hasura) --project db/hasura --envfile ../../.env --skip-update-check", |
45 | | - "hasura:server": "$(yarn bin hasura) --project db/hasura --skip-update-check", |
46 | | - "pinggit": "ssh -T [email protected]", |
47 | | - "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", |
48 | | - "free": "sudo ./scripts/cleanram.sh" |
| 10 | + "main": "src/index.tsx", |
| 11 | + "dependencies": { |
| 12 | + "react": "18.2.0", |
| 13 | + "react-dom": "18.2.0" |
49 | 14 | }, |
50 | 15 | "devDependencies": { |
51 | | - "@graphql-codegen/cli": "^2.11.6", |
52 | | - "@graphql-codegen/schema-ast": "^2.5.1", |
53 | | - "@graphql-codegen/typescript": "^2.7.3", |
54 | | - "@types/eslint": "^8.4.6", |
55 | | - "@types/prettier": "^2.7.0", |
56 | | - "dotenv": "^16.0.1", |
57 | | - "eslint": "^8.22.0", |
58 | | - "graphql": "^16.6.0", |
59 | | - "hasura-cli": "^2.9.0", |
60 | | - "npm-run-all": "^4.1.5", |
61 | | - "prettier": "^2.7.1", |
62 | | - "tslib": "^2.4.0", |
63 | | - "typescript": "^4.7.4" |
64 | | - } |
| 16 | + "@types/react": "18.0.17", |
| 17 | + "@types/react-dom": "18.0.6", |
| 18 | + "react-scripts": "5.0.1", |
| 19 | + "typescript": "4.7.4" |
| 20 | + }, |
| 21 | + "scripts": { |
| 22 | + "start": "react-scripts start", |
| 23 | + "build": "react-scripts build", |
| 24 | + "test": "react-scripts test --env=jsdom", |
| 25 | + "eject": "react-scripts eject" |
| 26 | + }, |
| 27 | + "browserslist": [ |
| 28 | + ">0.2%", |
| 29 | + "not dead", |
| 30 | + "not ie <= 11", |
| 31 | + "not op_mini all" |
| 32 | + ] |
65 | 33 | } |
0 commit comments