-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.53 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 2.53 KB
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
{
"name": "strapi-next-launchpad-example",
"version": "1.0.0",
"description": "Next.js Launchpad Example powered by Strapi",
"type": "module",
"scripts": {
"prepare": "husky",
"next": "wait-on http://127.0.0.1:1337 && cd next && yarn dev",
"strapi": "cd strapi && yarn develop",
"setup:env": "bash scripts/copy-env.sh --env dev . ./next ./strapi",
"setup:env:prod": "bash scripts/copy-env.sh --env prod . ./strapi",
"setup:deps": "yarn install && cd next && yarn install && cd ../strapi && yarn install && cd ../seed-studio && yarn install && cd ../docs && yarn install",
"setup:db": "docker compose up -d launchpad-db",
"setup:seed": "cd strapi && yarn strapi import -f ./data/export_20250116105447.tar.gz --force",
"setup": "yarn setup:env && yarn setup:deps && yarn setup:db && echo '\n--- Setup Completed! ---'",
"dev": "concurrently -n \"strapi,next\" -c \"green,blue\" \"yarn strapi\" \"wait-on http://127.0.0.1:1337 && yarn next\"",
"export": "cd strapi && yarn strapi export --no-encrypt -f ./data/export_20250116105447",
"repo:upstream": "git fetch upstream && git merge upstream/main",
"check:format": "prettier . --check --cache",
"fix:format": "prettier . --write --cache",
"fix": "yarn fix:format",
"lint-staged": "lint-staged",
"clean": "npx rimraf next/.next next/.turbo strapi/dist",
"clean:full": "yarn clean && npx rimraf node_modules next/node_modules strapi/node_modules seed-studio/node_modules docs/node_modules",
"fix:lock": "npx rimraf next/.next/dev/lock",
"docs:dev": "cd docs && yarn dev",
"docs:build": "cd docs && yarn build",
"docs:preview": "cd docs && yarn preview",
"seed:disable": "bash scripts/toggle-seed.sh disable",
"seed:enable": "bash scripts/toggle-seed.sh enable",
"seed:ui": "cd seed-studio && concurrently -n \"vite,server\" -c \"cyan,magenta\" \"yarn dev\" \"npm run server\"",
"deploy": "bash scripts/docker-deploy.sh"
},
"dependencies": {
"@strapi/plugin-documentation": "^5.45.1",
"@types/node": "^22.5.2",
"concurrently": "^8.2.2",
"typescript": "^5.0.0",
"wait-on": "^8.0.1"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"dotenv": "^17.2.3",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.5.3",
"ts-node": "^10.9.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,yml,yaml}": [
"yarn fix:format"
],
"next/**/*.{js,jsx,ts,tsx}": [
"cd next && yarn lint --fix"
]
},
"packageManager": "yarn@4.5.0"
}